mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Add declaration for PyErr_WarnExplicit().
This commit is contained in:
parent
9e26318975
commit
1bcb7e9327
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ extern DL_IMPORT(void) PyErr_WriteUnraisable(PyObject *);
|
||||||
|
|
||||||
/* Issue a warning or exception */
|
/* Issue a warning or exception */
|
||||||
extern DL_IMPORT(int) PyErr_Warn(PyObject *, char *);
|
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 */
|
/* In sigcheck.c or signalmodule.c */
|
||||||
extern DL_IMPORT(int) PyErr_CheckSignals(void);
|
extern DL_IMPORT(int) PyErr_CheckSignals(void);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue