view Python/getplatform.c @ 37025:03894a7a32ec legacy-trunk

Make mktuple consistent with mklist to get rid of Coverity warnings. Also use macro version of SetItem since we know everything is setup.
author Neal Norwitz <nnorwitz@gmail.com>
date Thu, 16 Mar 2006 08:20:19 +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;
}