view Python/getplatform.c @ 25539:5fe07cd4b2bf legacy-trunk

One last tweak to the tracing machinery: this actually computes what I intended all along. Before instr_lb tended to be too high. I don't think this actually makes any difference, given what the compiler produces, but it makes me a bit happier.
author Michael W. Hudson <mwh@python.net>
date Thu, 03 Oct 2002 09:53:11 +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;
}