view Python/getplatform.c @ 28694:a4154dd5939a legacy-trunk

New PyGILState_ API - implements pep 311, from patch 684256.
author Mark Hammond <mhammond@skippinet.com.au>
date Sat, 19 Apr 2003 15:41: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;
}