view Python/getplatform.c @ 51270:debd14c489b9

Issue #1717: rename tp_compare to tp_reserved. I'll change the type of tp_compare in a separate commit, for ease of reversion should things go wrong.
author Mark Dickinson <dickinsm@gmail.com>
date Mon, 02 Feb 2009 20:36:42 +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;
}