view Python/getplatform.c @ 40017:3b57eecdc504 2.4

[Backport r51220 | neal.norwitz] It's highly unlikely, though possible for PyEval_Get*() to return NULLs. So be safe and do an XINCREF. Klocwork # 221-222.
author Andrew M. Kuchling <amk@amk.ca>
date Thu, 05 Oct 2006 19:01:50 +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;
}