view Python/getplatform.c @ 52720:fd5ee3d0f552 legacy-trunk

Fix two issues introduced by issue #71031 by changing the signature of PyImport_AppendInittab() to take a const char *.
author Brett Cannon <bcannon@gmail.com>
date Thu, 02 Apr 2009 03:34:53 +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;
}