view Python/getplatform.c @ 41666:85d51cb8ae5e

More uniform approach to getting (UTF8) bytes out of a string.
author Guido van Rossum <guido@python.org>
date Wed, 09 May 2007 23:29:27 +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;
}