Skip to content

Commit c236f16

Browse files
committed
this is now called with a PythonClassNativeWrapper
1 parent 131a8d2 commit c236f16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/modules/TruffleCextBuiltins.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1173,8 +1173,8 @@ PythonObjectNativeWrapper doPythonObject(PythonObjectNativeWrapper nativeWrapper
11731173
abstract static class PyTruffle_Set_SulongType extends NativeBuiltin {
11741174

11751175
@Specialization
1176-
Object doPythonObject(PythonClass klass, Object ptr) {
1177-
klass.setSulongType(ptr);
1176+
Object doPythonObject(PythonClassNativeWrapper klass, Object ptr) {
1177+
((PythonClass) klass.getPythonObject()).setSulongType(ptr);
11781178
return ptr;
11791179
}
11801180
}

0 commit comments

Comments
 (0)