Skip to content

Commit 97d8dfb

Browse files
authored
Merge branch 'main' into main
2 parents 7963447 + aea0b91 commit 97d8dfb

File tree

13 files changed

+1073
-1453
lines changed

13 files changed

+1073
-1453
lines changed

Include/internal/pycore_instruments.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ PyAPI_FUNC(void)
6464
_Py_call_instrumentation_exc2(PyThreadState *tstate, int event,
6565
_PyInterpreterFrame *frame, _Py_CODEUNIT *instr, PyObject *arg0, PyObject *arg1);
6666

67-
extern int
68-
_Py_Instrumentation_GetLine(PyCodeObject *code, int index);
69-
7067
PyAPI_DATA(PyObject) _PyInstrumentation_MISSING;
7168
PyAPI_DATA(PyObject) _PyInstrumentation_DISABLE;
7269

@@ -122,6 +119,8 @@ typedef struct _PyCoMonitoringData {
122119
uint8_t *per_instruction_tools;
123120
} _PyCoMonitoringData;
124121

122+
extern int
123+
_Py_Instrumentation_GetLine(PyCodeObject *code, _PyCoLineInstrumentationData *line_data, int index);
125124

126125
#ifdef __cplusplus
127126
}

0 commit comments

Comments
 (0)