view Python/getplatform.c @ 62482:bb6222a4ed24

getbuffer(): release the buffer on error (if the buffer is not contiguous)
author Victor Stinner <victor.stinner@haypocalc.com>
date Thu, 24 Jun 2010 22:57:10 +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;
}