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 076f874 commit 54e29eaCopy full SHA for 54e29ea
Modules/_remote_debugging_module.c
@@ -214,6 +214,8 @@ typedef struct {
214
#endif
215
} RemoteUnwinderObject;
216
217
+#define RemoteUnwinder_CAST(op) ((RemoteUnwinderObject *)(op))
218
+
219
typedef struct
220
{
221
int lineno;
@@ -2913,8 +2915,9 @@ static PyMethodDef RemoteUnwinder_methods[] = {
2913
2915
};
2914
2916
2917
static void
-RemoteUnwinder_dealloc(RemoteUnwinderObject *self)
2918
+RemoteUnwinder_dealloc(PyObject *op)
2919
2920
+ RemoteUnwinderObject *self = RemoteUnwinder_CAST(op);
2921
PyTypeObject *tp = Py_TYPE(self);
2922
if (self->code_object_cache) {
2923
_Py_hashtable_destroy(self->code_object_cache);
0 commit comments