Staging
v0.8.1
Revision 2102c789035ccacbac4362589402ac68baa2cd29 authored by scoder on 01 October 2017, 08:37:47 UTC, committed by Serhiy Storchaka on 01 October 2017, 08:37:47 UTC
Speed up class creation by 10-20% by reducing the overhead in the
necessary special method lookups.
1 parent d6bb65f
Raw File
getplatform.c

#include "Python.h"

#ifndef PLATFORM
#define PLATFORM "unknown"
#endif

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