File indexing completed on 2025-01-30 10:18:04
0001 #ifndef Py_CPYTHON_TRACEBACK_H
0002 # error "this header file must not be included directly"
0003 #endif
0004
0005 typedef struct _traceback PyTracebackObject;
0006
0007 struct _traceback {
0008 PyObject_HEAD
0009 PyTracebackObject *tb_next;
0010 PyFrameObject *tb_frame;
0011 int tb_lasti;
0012 int tb_lineno;
0013 };
0014
0015 PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int, int *, PyObject **);
0016 PyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int);