view Python/getplatform.c @ 45772:fea7ba8910a9 legacy-trunk

Handle memory allocation failure. Found by Adam Olsen
author Neal Norwitz <nnorwitz@gmail.com>
date Sat, 15 Mar 2008 22:36:01 +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;
}