changeset 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 984abd20eec2
children b1a0fd3df1fc
files Python/pythonrun.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
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()
 {