summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-01-01 15:18:32 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-01-01 15:18:32 (GMT)
commitdc392e31439d9992ea0101abaca09bcb78ebc311 (patch)
treeb8ad5c2e11eecebfe39b729494799b57b5376e94
parent4e8f5492c5c74b3cb3a8448fa8bf482d4e8a3d74 (diff)
downloadcpython-dc392e31439d9992ea0101abaca09bcb78ebc311.zip
cpython-dc392e31439d9992ea0101abaca09bcb78ebc311.tar.gz
cpython-dc392e31439d9992ea0101abaca09bcb78ebc311.tar.bz2
Move _PyInt_Init() into pythonrun.h, since all the other _Init()
functions are here. Suggested by Skip.
-rw-r--r--Include/intobject.h1
-rw-r--r--Include/pythonrun.h1
2 files changed, 1 insertions, 1 deletions
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);