summaryrefslogtreecommitdiffstats
path: root/Include/boolobject.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-05-02 20:23:27 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-05-02 20:23:27 (GMT)
commit76da0c3b713e5ec1875bc9adba57a497ef5a746e (patch)
treeb610cfb60dbf40bb01b8da859478f4554ffd7706 /Include/boolobject.h
parent4ce71f77c35bafe058196bb9607cb0b1051542d9 (diff)
downloadcpython-76da0c3b713e5ec1875bc9adba57a497ef5a746e.zip
cpython-76da0c3b713e5ec1875bc9adba57a497ef5a746e.tar.gz
cpython-76da0c3b713e5ec1875bc9adba57a497ef5a746e.tar.bz2
Patch #551008: DL_IMPORT PyBool_FromLong.
Diffstat (limited to 'Include/boolobject.h')
-rw-r--r--Include/boolobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/boolobject.h b/Include/boolobject.h
index 4e5b99f..0259126 100644
--- a/Include/boolobject.h
+++ b/Include/boolobject.h
@@ -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
}