blob: 7f42730f1b0919446598a19f8b20ac71b9666509 [file]
#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;
};
PyAPI_FUNC(const char*) PyUnstable_DumpTraceback(int fd, PyThreadState *tstate);
PyAPI_FUNC(const char*) PyUnstable_DumpTracebackThreads(
int fd,
PyInterpreterState *interp,
PyThreadState *current_tstate,
Py_ssize_t max_threads);