]> granicus.if.org Git - python/commitdiff
On second though, NEXITFUNCS should be defined here and not in
authorGuido van Rossum <guido@python.org>
Thu, 1 Oct 1998 16:01:57 +0000 (16:01 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 1 Oct 1998 16:01:57 +0000 (16:01 +0000)
pystate.h; pystate.h doesn't use it (I thought I wanted to move the
array there but that won't work).

Python/pythonrun.c

index 2423465e01b5230480c5edda1694a9744af590f9..2be073bda0fa782984198fc63473e4a847a563ed 100644 (file)
@@ -1035,7 +1035,7 @@ Py_FatalError(msg)
 int _PyThread_Started = 0; /* Set by threadmodule.c and maybe others */
 #endif
 
-/* NEXITFUNCS is defined in pystate.h */
+#define NEXITFUNCS 32
 static void (*exitfuncs[NEXITFUNCS])();
 static int nexitfuncs = 0;