view Python/getplatform.c @ 84766:34ca4dd47c54 3.3

let's not return NULL from functions that should return ints
author Benjamin Peterson <benjamin@python.org>
date Sun, 21 Jul 2013 13:26:13 -0700
parents 6f6f965c5e2d
children
line wrap: on
line source


#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

const char *
Py_GetPlatform(void)
{
	return PLATFORM;
}