view Python/getplatform.c @ 33713:517e4ec0df89 legacy-trunk

PyInterpreterState_New(), PyThreadState_New(): use malloc/free directly. This appears to finish repairs for SF bug 1041645. This is a critical bugfix.
author Tim Peters <tim.peters@gmail.com>
date Sun, 10 Oct 2004 02:47:33 +0000
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}