|
6 | 6 | #endif
|
7 | 7 |
|
8 | 8 | #include "pycore_structs.h" // _Py_CODEUNIT
|
| 9 | +#include "pycore_typedefs.h" // _PyInterpreterFrame |
9 | 10 |
|
10 | 11 | #ifdef __cplusplus
|
11 | 12 | extern "C" {
|
@@ -34,32 +35,32 @@ int _PyMonitoring_GetLocalEvents(PyCodeObject *code, int tool_id, _PyMonitoringE
|
34 | 35 |
|
35 | 36 | extern int
|
36 | 37 | _Py_call_instrumentation(PyThreadState *tstate, int event,
|
37 |
| - struct _PyInterpreterFrame *frame, _Py_CODEUNIT *instr); |
| 38 | + _PyInterpreterFrame *frame, _Py_CODEUNIT *instr); |
38 | 39 |
|
39 | 40 | extern int
|
40 |
| -_Py_call_instrumentation_line(PyThreadState *tstate, struct _PyInterpreterFrame* frame, |
| 41 | +_Py_call_instrumentation_line(PyThreadState *tstate, _PyInterpreterFrame* frame, |
41 | 42 | _Py_CODEUNIT *instr, _Py_CODEUNIT *prev);
|
42 | 43 |
|
43 | 44 | extern int
|
44 | 45 | _Py_call_instrumentation_instruction(
|
45 |
| - PyThreadState *tstate, struct _PyInterpreterFrame* frame, _Py_CODEUNIT *instr); |
| 46 | + PyThreadState *tstate, _PyInterpreterFrame* frame, _Py_CODEUNIT *instr); |
46 | 47 |
|
47 | 48 | _Py_CODEUNIT *
|
48 | 49 | _Py_call_instrumentation_jump(
|
49 | 50 | _Py_CODEUNIT *instr, PyThreadState *tstate, int event,
|
50 |
| - struct _PyInterpreterFrame *frame, _Py_CODEUNIT *src, _Py_CODEUNIT *dest); |
| 51 | + _PyInterpreterFrame *frame, _Py_CODEUNIT *src, _Py_CODEUNIT *dest); |
51 | 52 |
|
52 | 53 | extern int
|
53 | 54 | _Py_call_instrumentation_arg(PyThreadState *tstate, int event,
|
54 |
| - struct _PyInterpreterFrame *frame, _Py_CODEUNIT *instr, PyObject *arg); |
| 55 | + _PyInterpreterFrame *frame, _Py_CODEUNIT *instr, PyObject *arg); |
55 | 56 |
|
56 | 57 | extern int
|
57 | 58 | _Py_call_instrumentation_2args(PyThreadState *tstate, int event,
|
58 |
| - struct _PyInterpreterFrame *frame, _Py_CODEUNIT *instr, PyObject *arg0, PyObject *arg1); |
| 59 | + _PyInterpreterFrame *frame, _Py_CODEUNIT *instr, PyObject *arg0, PyObject *arg1); |
59 | 60 |
|
60 | 61 | extern void
|
61 | 62 | _Py_call_instrumentation_exc2(PyThreadState *tstate, int event,
|
62 |
| - struct _PyInterpreterFrame *frame, _Py_CODEUNIT *instr, PyObject *arg0, PyObject *arg1); |
| 63 | + _PyInterpreterFrame *frame, _Py_CODEUNIT *instr, PyObject *arg0, PyObject *arg1); |
63 | 64 |
|
64 | 65 | extern int
|
65 | 66 | _Py_Instrumentation_GetLine(PyCodeObject *code, int index);
|
|
0 commit comments