| PyAPI_FUNC(int) PyErr_WarnEx( |
| const char *message, /* UTF-8 encoded string */ |
| PyAPI_FUNC(int) PyErr_WarnFormat( |
| const char *format, /* ASCII-encoded string */ |
| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000 |
| /* Emit a ResourceWarning warning */ |
| PyAPI_FUNC(int) PyErr_ResourceWarning( |
| const char *format, /* ASCII-encoded string */ |
| PyAPI_FUNC(int) PyErr_WarnExplicit( |
| const char *message, /* UTF-8 encoded string */ |
| const char *filename, /* decoded from the filesystem encoding */ |
| const char *module, /* UTF-8 encoded string */ |
| # define Py_CPYTHON_WARNINGS_H |
| # include "cpython/warnings.h" |
| # undef Py_CPYTHON_WARNINGS_H |
| #endif /* !Py_WARNINGS_H */ |