Commit 76da0c3b authored by Martin v. Löwis's avatar Martin v. Löwis

Patch #551008: DL_IMPORT PyBool_FromLong.

parent 4ce71f77
...@@ -24,7 +24,7 @@ extern DL_IMPORT(PyIntObject) _Py_ZeroStruct, _Py_TrueStruct; ...@@ -24,7 +24,7 @@ extern DL_IMPORT(PyIntObject) _Py_ZeroStruct, _Py_TrueStruct;
#define Py_True ((PyObject *) &_Py_TrueStruct) #define Py_True ((PyObject *) &_Py_TrueStruct)
/* Function to return a bool from a C long */ /* Function to return a bool from a C long */
PyObject *PyBool_FromLong(long); extern DL_IMPORT(PyObject *) PyBool_FromLong(long);
#ifdef __cplusplus #ifdef __cplusplus
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment