Mercurial > repos > rliterman > csp2
comparison CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/python3.8/cpython/traceback.h @ 69:33d812a61356
planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author | jpayne |
---|---|
date | Tue, 18 Mar 2025 17:55:14 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
67:0e9998148a16 | 69:33d812a61356 |
---|---|
1 #ifndef Py_CPYTHON_TRACEBACK_H | |
2 # error "this header file must not be included directly" | |
3 #endif | |
4 | |
5 #ifdef __cplusplus | |
6 extern "C" { | |
7 #endif | |
8 | |
9 typedef struct _traceback { | |
10 PyObject_HEAD | |
11 struct _traceback *tb_next; | |
12 struct _frame *tb_frame; | |
13 int tb_lasti; | |
14 int tb_lineno; | |
15 } PyTracebackObject; | |
16 | |
17 PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int); | |
18 PyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int); | |
19 | |
20 #ifdef __cplusplus | |
21 } | |
22 #endif |