mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
GH-107724: Fix the signature of PY_THROW
callback functions. (GH-107725)
This commit is contained in:
parent
2fb484e625
commit
52fbcf61b5
6 changed files with 39 additions and 18 deletions
|
@ -1081,16 +1081,6 @@ call_instrumentation_vector_protected(
|
|||
assert(_PyErr_Occurred(tstate));
|
||||
}
|
||||
|
||||
void
|
||||
_Py_call_instrumentation_exc0(
|
||||
PyThreadState *tstate, int event,
|
||||
_PyInterpreterFrame *frame, _Py_CODEUNIT *instr)
|
||||
{
|
||||
assert(_PyErr_Occurred(tstate));
|
||||
PyObject *args[3] = { NULL, NULL, NULL };
|
||||
call_instrumentation_vector_protected(tstate, event, frame, instr, 2, args);
|
||||
}
|
||||
|
||||
void
|
||||
_Py_call_instrumentation_exc2(
|
||||
PyThreadState *tstate, int event,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue