view Python/getplatform.c @ 48880:de6fb9f34513

Fix #3651 various memory leaks when using the buffer interface by Amaury Forgeot d'Arc Reviewer: Antoine Pitrou
author Benjamin Peterson <benjamin@python.org>
date Wed, 27 Aug 2008 00:31:37 +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;
}