view Python/getplatform.c @ 24420:36e2fd3f08f7 legacy-trunk

Excise DL_IMPORT/EXPORT from object.h, and related files. This patch also adds 'extern' to PyAPI_DATA rather than at each declaration, as discussed with Tim and Guido.
author Mark Hammond <mhammond@skippinet.com.au>
date Mon, 29 Jul 2002 13:42:14 +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;
}