mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
pythgonrun.h: added Py_AtExit().
rename1.h: add PyArg_GetInt.
This commit is contained in:
parent
e4485b064d
commit
c6cf1dd317
2 changed files with 3 additions and 0 deletions
|
@ -49,6 +49,8 @@ object *compile_string PROTO((char *, char *, int));
|
||||||
|
|
||||||
void print_error PROTO((void));
|
void print_error PROTO((void));
|
||||||
|
|
||||||
|
int Py_AtExit PROTO((void (*func) PROTO((void))));
|
||||||
|
|
||||||
void goaway PROTO((int));
|
void goaway PROTO((int));
|
||||||
|
|
||||||
void cleanup PROTO((void));
|
void cleanup PROTO((void));
|
||||||
|
|
|
@ -322,6 +322,7 @@ typedef struct methodlist PyMethodDef;
|
||||||
#define PyArg_GetDoubleArray getidoublearray
|
#define PyArg_GetDoubleArray getidoublearray
|
||||||
#define PyArg_GetFloat getifloatarg
|
#define PyArg_GetFloat getifloatarg
|
||||||
#define PyArg_GetFloatArray getifloatarray
|
#define PyArg_GetFloatArray getifloatarray
|
||||||
|
#define PyArg_GetInt getintarg
|
||||||
#define PyArg_GetLong getilongarg
|
#define PyArg_GetLong getilongarg
|
||||||
#define PyArg_GetLongArray getilongarray
|
#define PyArg_GetLongArray getilongarray
|
||||||
#define PyArg_GetLongArraySize getilongarraysize
|
#define PyArg_GetLongArraySize getilongarraysize
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue