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