diff Python/errors.c @ 39373:40585fb387bb legacy-trunk

On Windows, make PyErr_Warn an exported function again.
author Thomas Heller <theller@ctypes.org>
date Fri, 04 Aug 2006 18:17:40 +0000
parents 7dc5f3ede4cd
children 6ba402b60041
line wrap: on
line diff
--- a/Python/errors.c	Fri Aug 04 18:07:34 2006 +0000
+++ b/Python/errors.c	Fri Aug 04 18:17:40 2006 +0000
@@ -664,7 +664,7 @@
 
 #undef PyErr_Warn
 
-int
+PyAPI_FUNC(int)
 PyErr_Warn(PyObject *category, char *message)
 {
 	return PyErr_WarnEx(category, message, 1);