Staging
v0.8.1
https://github.com/python/cpython
Revision ae7bc1348237a9120bc896e17c2e3461728ecb9c authored by Barry Warsaw on 22 May 2003, 19:13:35 UTC, committed by Barry Warsaw on 22 May 2003, 19:13:35 UTC
1 parent f828b41
Raw File
Tip revision: ae7bc1348237a9120bc896e17c2e3461728ecb9c authored by Barry Warsaw on 22 May 2003, 19:13:35 UTC
Go ahead and label this 2.2.3c1
Tip revision: ae7bc13
traceback.h

#ifndef Py_TRACEBACK_H
#define Py_TRACEBACK_H
#ifdef __cplusplus
extern "C" {
#endif

/* Traceback interface */

struct _frame;

DL_IMPORT(int) PyTraceBack_Here(struct _frame *);
DL_IMPORT(int) PyTraceBack_Print(PyObject *, PyObject *);

/* Reveal traceback type so we can typecheck traceback objects */
extern DL_IMPORT(PyTypeObject) PyTraceBack_Type;
#define PyTraceBack_Check(v) ((v)->ob_type == &PyTraceBack_Type)

#ifdef __cplusplus
}
#endif
#endif /* !Py_TRACEBACK_H */
back to top