view Python/getplatform.c @ 36512:3350f85c889f 2.4

Cast assignments to ``unsigned char *`` from PyString_AS_STRING() calls to silence compiler warnings on gcc 4.0.1 .
author Brett Cannon <bcannon@gmail.com>
date Thu, 16 Feb 2006 07:01:45 +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;
}