view Python/getplatform.c @ 28718:16ef5b9bc789 legacy-trunk

fixed a potential refcount bug (thanks Raymond!).
author Alex Martelli <aleaxit@gmail.com>
date Tue, 22 Apr 2003 09:24:48 +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;
}