mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
Patch #551008: DL_IMPORT PyBool_FromLong.
This commit is contained in:
parent
4ce71f77c3
commit
76da0c3b71
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue