diff options
author | Thomas Heller <theller@ctypes.org> | 2006-08-04 18:17:40 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2006-08-04 18:17:40 (GMT) |
commit | 74d36f0d95d40f7ae70fbc4d695528c8b769d229 (patch) | |
tree | 3f920d428158a524359bc9bdd33f0d362acbd7c2 /Python/errors.c | |
parent | 16183631ede0656a5cfd58626419cc081d281fff (diff) | |
download | cpython-74d36f0d95d40f7ae70fbc4d695528c8b769d229.zip cpython-74d36f0d95d40f7ae70fbc4d695528c8b769d229.tar.gz cpython-74d36f0d95d40f7ae70fbc4d695528c8b769d229.tar.bz2 |
On Windows, make PyErr_Warn an exported function again.
Diffstat (limited to 'Python/errors.c')
-rw-r--r-- | Python/errors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/errors.c b/Python/errors.c index 43d89bd..7b71051 100644 --- a/Python/errors.c +++ b/Python/errors.c @@ -664,7 +664,7 @@ PyErr_WarnEx(PyObject *category, const char *message, Py_ssize_t stack_level) #undef PyErr_Warn -int +PyAPI_FUNC(int) PyErr_Warn(PyObject *category, char *message) { return PyErr_WarnEx(category, message, 1); |