xref: /third_party/python/Include/cpython/traceback.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/python/Include/cpython/
17db96d56Sopenharmony_ci#ifndef Py_CPYTHON_TRACEBACK_H
27db96d56Sopenharmony_ci#  error "this header file must not be included directly"
37db96d56Sopenharmony_ci#endif
47db96d56Sopenharmony_ci
57db96d56Sopenharmony_citypedef struct _traceback PyTracebackObject;
67db96d56Sopenharmony_ci
77db96d56Sopenharmony_cistruct _traceback {
87db96d56Sopenharmony_ci    PyObject_HEAD
97db96d56Sopenharmony_ci    PyTracebackObject *tb_next;
107db96d56Sopenharmony_ci    PyFrameObject *tb_frame;
117db96d56Sopenharmony_ci    int tb_lasti;
127db96d56Sopenharmony_ci    int tb_lineno;
137db96d56Sopenharmony_ci};
147db96d56Sopenharmony_ci
157db96d56Sopenharmony_ciPyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int, int *, PyObject **);
167db96d56Sopenharmony_ciPyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int);
17

Indexes created Thu Nov 07 10:32:03 CST 2024