Move _PyInt_Init() into pythonrun.h, since all the other _Init()
functions are here. Suggested by Skip.
This commit is contained in:
parent
4e8f5492c5
commit
dc392e3143
|
@ -30,7 +30,6 @@ PyAPI_DATA(PyTypeObject) PyInt_Type;
|
|||
#define PyInt_Check(op) PyObject_TypeCheck(op, &PyInt_Type)
|
||||
#define PyInt_CheckExact(op) ((op)->ob_type == &PyInt_Type)
|
||||
|
||||
PyAPI_FUNC(int) _PyInt_Init(void);
|
||||
PyAPI_FUNC(PyObject *) PyInt_FromString(char*, char**, int);
|
||||
#ifdef Py_USING_UNICODE
|
||||
PyAPI_FUNC(PyObject *) PyInt_FromUnicode(Py_UNICODE*, int, int);
|
||||
|
|
|
@ -101,6 +101,7 @@ PyAPI_FUNC(void) _PyImport_Init(void);
|
|||
PyAPI_FUNC(void) _PyExc_Init(void);
|
||||
PyAPI_FUNC(void) _PyImportHooks_Init(void);
|
||||
PyAPI_FUNC(int) _PyFrame_Init(void);
|
||||
PyAPI_FUNC(int) _PyInt_Init(void);
|
||||
|
||||
/* Various internal finalizers */
|
||||
PyAPI_FUNC(void) _PyExc_Fini(void);
|
||||
|
|
Loading…
Reference in New Issue