File indexing completed on 2025-01-30 10:18:04
0001 #ifndef Py_CPYTHON_WARNINGS_H
0002 # error "this header file must not be included directly"
0003 #endif
0004
0005 PyAPI_FUNC(int) PyErr_WarnExplicitObject(
0006 PyObject *category,
0007 PyObject *message,
0008 PyObject *filename,
0009 int lineno,
0010 PyObject *module,
0011 PyObject *registry);
0012
0013 PyAPI_FUNC(int) PyErr_WarnExplicitFormat(
0014 PyObject *category,
0015 const char *filename, int lineno,
0016 const char *module, PyObject *registry,
0017 const char *format, ...);
0018
0019
0020 #define PyErr_Warn(category, msg) PyErr_WarnEx((category), (msg), 1)