summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-09-07 14:35:10 (GMT)
committerGuido van Rossum <guido@python.org>1994-09-07 14:35:10 (GMT)
commitc6cf1dd31758f945b75dcf4758b1424bbdf939c5 (patch)
treeb7a552bdc80f5061d56ca6f58cef8e254d0f791c
parente4485b064d46ad8739df2919192ae0b488de88ba (diff)
downloadcpython-c6cf1dd31758f945b75dcf4758b1424bbdf939c5.zip
cpython-c6cf1dd31758f945b75dcf4758b1424bbdf939c5.tar.gz
cpython-c6cf1dd31758f945b75dcf4758b1424bbdf939c5.tar.bz2
pythgonrun.h: added Py_AtExit().
rename1.h: add PyArg_GetInt.
-rw-r--r--Include/pythonrun.h2
-rwxr-xr-xInclude/rename1.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index 1f357cd..f2b9541 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -49,6 +49,8 @@ object *compile_string PROTO((char *, char *, int));
void print_error PROTO((void));
+int Py_AtExit PROTO((void (*func) PROTO((void))));
+
void goaway PROTO((int));
void cleanup PROTO((void));
diff --git a/Include/rename1.h b/Include/rename1.h
index 2d87976..1b3d80a 100755
--- a/Include/rename1.h
+++ b/Include/rename1.h
@@ -322,6 +322,7 @@ typedef struct methodlist PyMethodDef;
#define PyArg_GetDoubleArray getidoublearray
#define PyArg_GetFloat getifloatarg
#define PyArg_GetFloatArray getifloatarray
+#define PyArg_GetInt getintarg
#define PyArg_GetLong getilongarg
#define PyArg_GetLongArray getilongarray
#define PyArg_GetLongArraySize getilongarraysize