view Python/getplatform.c @ 66094:76a1c5e88352

_Py_char2wchar() frees the memory on conversion error Explain in the documentation that conversion errors should never happen.
author Victor Stinner <victor.stinner@haypocalc.com>
date Mon, 08 Nov 2010 23:30:46 +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;
}