1 #ifndef Py_CPYTHON_TRACEBACK_H
2 #  error "this header file must not be included directly"
3 #endif
4 
5 typedef struct _traceback PyTracebackObject;
6 
7 struct _traceback {
8     PyObject_HEAD
9     PyTracebackObject *tb_next;
10     PyFrameObject *tb_frame;
11     int tb_lasti;
12     int tb_lineno;
13 };
14 
15 PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int, int *, PyObject **);
16 PyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int);
17