From dc392e31439d9992ea0101abaca09bcb78ebc311 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Wed, 1 Jan 2003 15:18:32 +0000 Subject: Move _PyInt_Init() into pythonrun.h, since all the other _Init() functions are here. Suggested by Skip. --- Include/intobject.h | 1 - Include/pythonrun.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/intobject.h b/Include/intobject.h index cf463e4..ab936b2 100644 --- a/Include/intobject.h +++ b/Include/intobject.h @@ -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); diff --git a/Include/pythonrun.h b/Include/pythonrun.h index e65df9fc..5f6a67f 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -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); -- cgit v0.12