view Python/getplatform.c @ 31796:1c117dbb2def legacy-trunk

Enable the profiling of C functions (builtins and extensions)
author Nicholas Bastin <nick.bastin@gmail.com>
date Wed, 24 Mar 2004 21:57:10 +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;
}