Mercurial > cpython-lru_cache-weakref
view Python/getplatform.c @ 42006:16cee674a410 legacy-trunk
Use macro version of GET_SIZE to avoid Coverity warning (#150) about a possible error.
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sat, 09 Jun 2007 04:48:22 +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; }
