File indexing completed on 2025-01-30 10:18:11
0001 #ifndef Py_INTERNAL_WARNINGS_H
0002 #define Py_INTERNAL_WARNINGS_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006
0007 #ifndef Py_BUILD_CORE
0008 # error "this header requires Py_BUILD_CORE define"
0009 #endif
0010
0011 struct _warnings_runtime_state {
0012
0013
0014 PyObject *filters;
0015 PyObject *once_registry;
0016 PyObject *default_action;
0017 long filters_version;
0018 };
0019
0020 extern int _PyWarnings_InitState(PyInterpreterState *interp);
0021
0022 PyAPI_FUNC(PyObject*) _PyWarnings_Init(void);
0023
0024 extern void _PyErr_WarnUnawaitedCoroutine(PyObject *coro);
0025
0026 #ifdef __cplusplus
0027 }
0028 #endif
0029 #endif