Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:06:51

0001 #ifndef Py_TRACEBACK_H
0002 #define Py_TRACEBACK_H
0003 #ifdef __cplusplus
0004 extern "C" {
0005 #endif
0006 
0007 /* Traceback interface */
0008 
0009 PyAPI_FUNC(int) PyTraceBack_Here(PyFrameObject *);
0010 PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *);
0011 
0012 /* Reveal traceback type so we can typecheck traceback objects */
0013 PyAPI_DATA(PyTypeObject) PyTraceBack_Type;
0014 #define PyTraceBack_Check(v) Py_IS_TYPE((v), &PyTraceBack_Type)
0015 
0016 
0017 #ifndef Py_LIMITED_API
0018 #  define Py_CPYTHON_TRACEBACK_H
0019 #  include "cpython/traceback.h"
0020 #  undef Py_CPYTHON_TRACEBACK_H
0021 #endif
0022 
0023 #ifdef __cplusplus
0024 }
0025 #endif
0026 #endif /* !Py_TRACEBACK_H */