Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 14278:fb8fb53a2eff legacy-trunk
Add a comment explaining the return value of PyOS_CheckStack().
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Thu, 31 Aug 2000 05:38:39 +0000 |
| parents | 396b4ab3b9c2 |
| children | 68b61aa1aa4a |
line wrap: on
line diff
--- a/Python/pythonrun.c Thu Aug 31 05:18:54 2000 +0000 +++ b/Python/pythonrun.c Thu Aug 31 05:38:39 2000 +0000 @@ -903,7 +903,7 @@ PyCodeObject *co; PyObject *v; long magic; - long PyImport_GetMagicNumber(); + long PyImport_GetMagicNumber(void); magic = PyMarshal_ReadLongFromFile(fp); if (magic != PyImport_GetMagicNumber()) { @@ -1201,6 +1201,9 @@ #include <malloc.h> #include <excpt.h> +/* + * Return non-zero when we run out of memory on the stack; zero otherwise. + */ int PyOS_CheckStack() {
