pythgonrun.h: added Py_AtExit().

rename1.h: add PyArg_GetInt.
This commit is contained in:
Guido van Rossum 1994-09-07 14:35:10 +00:00
parent e4485b064d
commit c6cf1dd317
2 changed files with 3 additions and 0 deletions

View 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));

View File

@ -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