Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 33715:a46b76eb9053 legacy-trunk
SF patch 1044089: New C API function PyEval_ThreadsInitialized(), by Nick
Coghlan, for determining whether PyEval_InitThreads() has been called.
Also purged the undocumented+unused _PyThread_Started int.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Mon, 11 Oct 2004 02:40:51 +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; }
