view Python/getplatform.c @ 59998:d11fbc796499 legacy-trunk

Backported PyCapsule from 3.1, and converted most uses of CObject to PyCapsule.
author Larry Hastings <larry@hastings.org>
date Thu, 25 Mar 2010 00:54:54 +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;
}