view Python/getplatform.c @ 50996:5c7312ce5dbd

Issue 3677: Release the path string on py3k
author Kristján Valur Jónsson <kristjan@ccpgames.com>
date Sat, 24 Jan 2009 10:33:25 +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;
}