diff options
author | Nicholas Bastin <nick.bastin@gmail.com> | 2004-03-21 18:37:23 (GMT) |
---|---|---|
committer | Nicholas Bastin <nick.bastin@gmail.com> | 2004-03-21 18:37:23 (GMT) |
commit | a7604bf1b4eebc5fca6c1edf878e1f92aa43dad0 (patch) | |
tree | df2c77c2c6ff9096fa1b55b7c01f23c5ed9d9707 /Include | |
parent | 8183fa46a9b81b74b63fb5b0e98d632b060f8eab (diff) | |
download | cpython-a7604bf1b4eebc5fca6c1edf878e1f92aa43dad0.zip cpython-a7604bf1b4eebc5fca6c1edf878e1f92aa43dad0.tar.gz cpython-a7604bf1b4eebc5fca6c1edf878e1f92aa43dad0.tar.bz2 |
Moved tracebackobject to traceback.h, Closes SF Bug #497067
Diffstat (limited to 'Include')
-rw-r--r-- | Include/traceback.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Include/traceback.h b/Include/traceback.h index 659e994..6501600 100644 --- a/Include/traceback.h +++ b/Include/traceback.h @@ -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 *); |