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.
1 parent d3f0426 commit 4fcd925Copy full SHA for 4fcd925
graalpython/com.oracle.graal.python.cext/src/capi.c
@@ -231,7 +231,7 @@ void* get_ob_type(PyObject* obj) {
231
return truffle_managed_from_handle(type);
232
} else {
233
// we have stored a handle to the Java class in ob_refcnt
234
- void* handle = (void*)type->ob_refcnt;
+ void* handle = (void*)((PyObject*)type)->ob_refcnt;
235
if (truffle_is_handle_to_managed(handle)) {
236
return truffle_managed_from_handle(handle);
237
0 commit comments