From c6cf1dd31758f945b75dcf4758b1424bbdf939c5 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 7 Sep 1994 14:35:10 +0000 Subject: pythgonrun.h: added Py_AtExit(). rename1.h: add PyArg_GetInt. --- Include/pythonrun.h | 2 ++ Include/rename1.h | 1 + 2 files changed, 3 insertions(+) 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 -- cgit v0.12