summaryrefslogtreecommitdiffstats
path: root/Include/cpython/traceback.h
blob: 81c51944f136f29396699dbcf8a3ddbd5c21b75a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef Py_CPYTHON_TRACEBACK_H
#  error "this header file must not be included directly"
#endif

typedef struct _traceback PyTracebackObject;

struct _traceback {
    PyObject_HEAD
    PyTracebackObject *tb_next;
    PyFrameObject *tb_frame;
    int tb_lasti;
    int tb_lineno;
};