]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
pythgonrun.h: added Py_AtExit().
authorGuido van Rossum <guido@python.org>
Wed, 7 Sep 1994 14:35:10 +0000 (14:35 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 7 Sep 1994 14:35:10 +0000 (14:35 +0000)
rename1.h: add PyArg_GetInt.

Include/pythonrun.h
Include/rename1.h

index 1f357cd3e5f3c1e8f3eeab39d0ae2cd613c66f80..f2b9541b3c111643d3c1101314f9a0b3f1bed6cc 100644 (file)
@@ -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));
index 2d8797617a3d0a7b003e8628b234ffdc3471678a..1b3d80a085e8cca8a89f92c0a64503f3de3582b5 100755 (executable)
@@ -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