view Python/getplatform.c @ 81031:3a86a3f1d89a

Issue #15422: get rid of PyCFunction_New macro
author Andrew Svetlov <andrew.svetlov@gmail.com>
date Tue, 25 Dec 2012 13:32:35 +0200
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}