Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1bcb7e9

Browse files
committed
Add declaration for PyErr_WarnExplicit().
1 parent 9e26318 commit 1bcb7e9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Include/pyerrors.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ extern DL_IMPORT(void) PyErr_WriteUnraisable(PyObject *);
9494

9595
/* Issue a warning or exception */
9696
extern DL_IMPORT(int) PyErr_Warn(PyObject *, char *);
97+
extern DL_IMPORT(int) PyErr_WarnExplicit(PyObject *, char *,
98+
char *, int, char *, PyObject *);
9799

98100
/* In sigcheck.c or signalmodule.c */
99101
extern DL_IMPORT(int) PyErr_CheckSignals(void);

0 commit comments

Comments
 (0)