From: Guido van Rossum Date: Wed, 28 Feb 2001 21:44:20 +0000 (+0000) Subject: Add declaration for PyErr_WarnExplicit(). X-Git-Tag: v2.1b1~119 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1bcb7e9327414d1e8675597b91e4f6e0441315fc;p=python Add declaration for PyErr_WarnExplicit(). --- diff --git a/Include/pyerrors.h b/Include/pyerrors.h index 7d8ed8466c..622af2d43b 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);