view Python/getplatform.c @ 17632:fcdde680331e legacy-trunk

Check RefCon backpointer to python object with IsPointerValid() before dereferencing it (carbon only).
author Jack Jansen <jack.jansen@cwi.nl>
date Wed, 25 Apr 2001 22:09:29 +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;
}