view Python/getplatform.c @ 32294:82fe6832e505 legacy-trunk

Fix a refcount bug in an obscure code corner. Already backported.
author Thomas Heller <theller@ctypes.org>
date Mon, 07 Jun 2004 15:04:10 +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;
}