diff Include/boolobject.h @ 23364:bec157dbee2e legacy-trunk

Patch #551008: DL_IMPORT PyBool_FromLong.
author Martin v. Löwis <martin@v.loewis.de>
date Thu, 02 May 2002 20:23:27 +0000
parents a6527d1ee474
children c1eb668525e1
line wrap: on
line diff
--- a/Include/boolobject.h	Thu May 02 20:19:34 2002 +0000
+++ b/Include/boolobject.h	Thu May 02 20:23:27 2002 +0000
@@ -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
 }