We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RemoteUnwinderObject
1 parent e00aef6 commit 414fc25Copy full SHA for 414fc25
Modules/_remote_debugging_module.c
@@ -212,6 +212,8 @@ typedef struct {
212
#endif
213
} RemoteUnwinderObject;
214
215
+#define RemoteUnwinder_CAST(op) ((RemoteUnwinderObject *)(op))
216
+
217
typedef struct
218
{
219
int lineno;
@@ -2899,8 +2901,9 @@ static PyMethodDef RemoteUnwinder_methods[] = {
2899
2901
};
2900
2902
2903
static void
-RemoteUnwinder_dealloc(RemoteUnwinderObject *self)
2904
+RemoteUnwinder_dealloc(PyObject *op)
2905
2906
+ RemoteUnwinderObject *self = RemoteUnwinder_CAST(op);
2907
PyTypeObject *tp = Py_TYPE(self);
2908
if (self->code_object_cache) {
2909
_Py_hashtable_destroy(self->code_object_cache);
0 commit comments