view Python/getplatform.c @ 42534:5f9e79d1e158

Handle error
author Neal Norwitz <nnorwitz@gmail.com>
date Sat, 11 Aug 2007 04:58:26 +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;
}