view Python/getplatform.c @ 43423:0476a2cc5658

Change PyBuffer to Py_buffer to be consistent with other non-object structures like Py_complex. Add some more functionality to the memoryview object.
author Travis E. Oliphant <oliphant@enthought.com>
date Sun, 23 Sep 2007 02:00:13 +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;
}