traceback.h 404 B

1234567891011121314
  1. #ifndef Py_CPYTHON_TRACEBACK_H
  2. # error "this header file must not be included directly"
  3. #endif
  4. typedef struct _traceback {
  5. PyObject_HEAD
  6. struct _traceback *tb_next;
  7. PyFrameObject *tb_frame;
  8. int tb_lasti;
  9. int tb_lineno;
  10. } PyTracebackObject;
  11. PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int);
  12. PyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int);