FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python/Include/traceback.h at master · broncodans/python · GitHub
broncodans
/
python
Public
forked from
glix/python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
python
/
Include
/
traceback.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (24 loc) · 697 Bytes
Breadcrumbs
python
/
Include
/
traceback.h
Copy path
File metadata and controls
31 lines (24 loc) · 697 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef
Py_TRACEBACK_H
#define
Py_TRACEBACK_H
#ifdef
__cplusplus
extern
"C"
{
#endif
struct
_frame
;
/* Traceback interface */
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
*
);
PyAPI_FUNC
(
int
)
_Py_DisplaySourceLine
(
PyObject
*
,
const
char
*
,
int
,
int
);
/* Reveal traceback type so we can typecheck traceback objects */
PyAPI_DATA
(
PyTypeObject
)
PyTraceBack_Type
;
#define
PyTraceBack_Check
(
v
) (Py_TYPE(v) == &PyTraceBack_Type)
#ifdef
__cplusplus
}
#endif
#endif
/* !Py_TRACEBACK_H */
Back
|
FazBrowse Home
|
New Git URL