diff options
Diffstat (limited to 'Include/intobject.h')
-rw-r--r-- | Include/intobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/intobject.h b/Include/intobject.h index a22d38a..128d0d3 100644 --- a/Include/intobject.h +++ b/Include/intobject.h @@ -30,7 +30,9 @@ extern DL_IMPORT(PyTypeObject) PyInt_Type; #define PyInt_Check(op) ((op)->ob_type == &PyInt_Type) extern DL_IMPORT(PyObject *) PyInt_FromString(char*, char**, int); +#ifdef Py_USING_UNICODE extern DL_IMPORT(PyObject *) PyInt_FromUnicode(Py_UNICODE*, int, int); +#endif extern DL_IMPORT(PyObject *) PyInt_FromLong(long); extern DL_IMPORT(long) PyInt_AsLong(PyObject *); extern DL_IMPORT(long) PyInt_GetMax(void); |