From: Guido van Rossum Date: Thu, 1 Oct 1998 16:01:57 +0000 (+0000) Subject: On second though, NEXITFUNCS should be defined here and not in X-Git-Tag: v1.5.2a2~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2dcfc9618dbf1cf467436c4a0ccbb2d7df2ba25f;p=python On second though, NEXITFUNCS should be defined here and not in pystate.h; pystate.h doesn't use it (I thought I wanted to move the array there but that won't work). --- diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 2423465e01..2be073bda0 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -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;