mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Moved tracebackobject to traceback.h, Closes SF Bug #497067
This commit is contained in:
parent
8183fa46a9
commit
a7604bf1b4
3 changed files with 27 additions and 24 deletions
|
@ -5,9 +5,17 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct _frame;
|
||||
|
||||
/* Traceback interface */
|
||||
|
||||
struct _frame;
|
||||
typedef struct _traceback {
|
||||
PyObject_HEAD
|
||||
struct _traceback *tb_next;
|
||||
struct _frame *tb_frame;
|
||||
int tb_lasti;
|
||||
int tb_lineno;
|
||||
} PyTracebackObject;
|
||||
|
||||
PyAPI_FUNC(int) PyTraceBack_Here(struct _frame *);
|
||||
PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue