commit | 76da0c3b713e5ec1875bc9adba57a497ef5a746e | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu May 02 20:23:27 2002 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu May 02 20:23:27 2002 +0000 |
tree | b610cfb60dbf40bb01b8da859478f4554ffd7706 | |
parent | 4ce71f77c35bafe058196bb9607cb0b1051542d9 [diff] [blame] |
Patch #551008: DL_IMPORT PyBool_FromLong.
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 @@ #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 }