view Python/getplatform.c @ 35567:fa0881fd49b7 legacy-trunk

bug [ 868706 ] Calling builtin function 'eval' from C causes seg fault.
author Georg Brandl <georg@python.org>
date Thu, 15 Sep 2005 10:46:13 +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;
}