From: Martin v. Löwis Date: Thu, 2 May 2002 20:23:27 +0000 (+0000) Subject: Patch #551008: DL_IMPORT PyBool_FromLong. X-Git-Tag: v2.3c1~5736 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76da0c3b713e5ec1875bc9adba57a497ef5a746e;p=python Patch #551008: DL_IMPORT PyBool_FromLong. --- diff --git a/Include/boolobject.h b/Include/boolobject.h index 4e5b99f34d..02591265c0 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 }