view Python/getplatform.c @ 45060:c05ee77b39f2 legacy-trunk

The previous change was causing a segfault after multiple calls to Py_Initialize() and Py_Finalize().
author Christian Heimes <christian@cheimes.de>
date Wed, 30 Jan 2008 18:58:29 +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;
}