]> granicus.if.org Git - python/commitdiff
Add declaration for PyErr_WarnExplicit().
authorGuido van Rossum <guido@python.org>
Wed, 28 Feb 2001 21:44:20 +0000 (21:44 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 28 Feb 2001 21:44:20 +0000 (21:44 +0000)
Include/pyerrors.h

index 7d8ed8466cb7156465d2428dd7a8adb7cc102b7e..622af2d43bbdbab8c544f84c6917643a17f20614 100644 (file)
@@ -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);