| 1 |
#ifndef Py_INTERNAL_WARNINGS_H |
| 2 |
#define Py_INTERNAL_WARNINGS_H |
| 3 |
#ifdef __cplusplus |
| 4 |
extern "C" { |
| 5 |
#endif |
| 6 |
|
| 7 |
#ifndef Py_BUILD_CORE |
| 8 |
# error "this header requires Py_BUILD_CORE define" |
| 9 |
#endif |
| 10 |
|
| 11 |
extern int _PyWarnings_InitState(PyInterpreterState *interp); |
| 12 |
|
| 13 |
extern PyObject* _PyWarnings_Init(void); |
| 14 |
|
| 15 |
extern void _PyErr_WarnUnawaitedCoroutine(PyObject *coro); |
| 16 |
extern void _PyErr_WarnUnawaitedAgenMethod(PyAsyncGenObject *agen, PyObject *method); |
| 17 |
|
| 18 |
#ifdef __cplusplus |
| 19 |
} |
| 20 |
#endif |
| 21 |
#endif /* !Py_INTERNAL_WARNINGS_H */ |