Patch #551008: DL_IMPORT PyBool_FromLong.

This commit is contained in:
Martin v. Löwis 2002-05-02 20:23:27 +00:00
parent 4ce71f77c3
commit 76da0c3b71

View file

@ -24,7 +24,7 @@ extern DL_IMPORT(PyIntObject) _Py_ZeroStruct, _Py_TrueStruct;
#define Py_True ((PyObject *) &_Py_TrueStruct)
/* Function to return a bool from a C long */
PyObject *PyBool_FromLong(long);
extern DL_IMPORT(PyObject *) PyBool_FromLong(long);
#ifdef __cplusplus
}