Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/python3.12/cpython/warnings.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 // DEPRECATED: Use PyErr_WarnEx() instead.
0020 #define PyErr_Warn(category, msg) PyErr_WarnEx((category), (msg), 1)