view Python/getplatform.c @ 15814:faaf9f10d849 legacy-trunk

Fixed bugs noted by Greg Stein * x wasn't initialized to NULL * Did not DECREF result from displayhook function
author Moshe Zadka <moshez@math.huji.ac.il>
date Thu, 11 Jan 2001 11:55:37 +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;
}