view Python/getplatform.c @ 73655:2e37fc70e2dd

Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() And PyUnicode_GetSize() => PyUnicode_GetLength()
author Victor Stinner <victor.stinner@haypocalc.com>
date Mon, 21 Nov 2011 02:49:52 +0100
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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