diff options
author | Guido van Rossum <guido@python.org> | 2001-02-28 21:44:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-02-28 21:44:20 (GMT) |
commit | 1bcb7e9327414d1e8675597b91e4f6e0441315fc (patch) | |
tree | 1d22473629d3834c4f889f40c0ee303335db2932 | |
parent | 9e2631897539a95f1413df00847544487fb3b827 (diff) | |
download | cpython-1bcb7e9327414d1e8675597b91e4f6e0441315fc.zip cpython-1bcb7e9327414d1e8675597b91e4f6e0441315fc.tar.gz cpython-1bcb7e9327414d1e8675597b91e4f6e0441315fc.tar.bz2 |
Add declaration for PyErr_WarnExplicit().
-rw-r--r-- | Include/pyerrors.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h index 7d8ed84..622af2d 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -94,6 +94,8 @@ extern DL_IMPORT(void) PyErr_WriteUnraisable(PyObject *); /* Issue a warning or exception */ extern DL_IMPORT(int) PyErr_Warn(PyObject *, char *); +extern DL_IMPORT(int) PyErr_WarnExplicit(PyObject *, char *, + char *, int, char *, PyObject *); /* In sigcheck.c or signalmodule.c */ extern DL_IMPORT(int) PyErr_CheckSignals(void); |