view Python/getplatform.c @ 38471:9268c30782c0 legacy-trunk

Correct None refcount issue in Mac modules. (Are they still used?)
author Georg Brandl <georg@python.org>
date Sun, 28 May 2006 21:57:35 +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;
}