view Python/getplatform.c @ 35797:3778083fe2c8 legacy-trunk

Ensure that compiler_exit_scope() is called as necessary to free memory allocated by compiler_enter_scope(). Change return type for compiler_exit_scope() to be void.
author Neil Schemenauer <nascheme@enme.ucalgary.ca>
date Tue, 25 Oct 2005 06:30:14 +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;
}