10 /* Traceback interface */
12 typedef struct _traceback
{
14 struct _traceback
*tb_next
;
15 struct _frame
*tb_frame
;
20 PyAPI_FUNC(int) PyTraceBack_Here(struct _frame
*);
21 PyAPI_FUNC(int) PyTraceBack_Print(PyObject
*, PyObject
*);
22 PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject
*, const char *, int, int);
24 /* Reveal traceback type so we can typecheck traceback objects */
25 PyAPI_DATA(PyTypeObject
) PyTraceBack_Type
;
26 #define PyTraceBack_Check(v) (Py_TYPE(v) == &PyTraceBack_Type)
31 #endif /* !Py_TRACEBACK_H */