File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -327,9 +327,10 @@ trace_line(
327327
328328static PyObject *
329329sys_trace_line_func (
330- _PyLegacyEventHandler * self , PyObject * const * args ,
330+ PyObject * op , PyObject * const * args ,
331331 size_t nargsf , PyObject * kwnames
332332) {
333+ _PyLegacyEventHandler * self = _PyLegacyEventHandler_CAST (op );
333334 assert (kwnames == NULL );
334335 PyThreadState * tstate = _PyThreadState_GET ();
335336 if (tstate -> c_tracefunc == NULL ) {
@@ -353,9 +354,10 @@ sys_trace_line_func(
353354 * Handle that case here */
354355static PyObject *
355356sys_trace_jump_func (
356- _PyLegacyEventHandler * self , PyObject * const * args ,
357+ PyObject * op , PyObject * const * args ,
357358 size_t nargsf , PyObject * kwnames
358359) {
360+ _PyLegacyEventHandler * self = _PyLegacyEventHandler_CAST (op );
359361 assert (kwnames == NULL );
360362 PyThreadState * tstate = _PyThreadState_GET ();
361363 if (tstate -> c_tracefunc == NULL ) {
You can’t perform that action at this time.
0 commit comments