Skip to content

Commit 578ffd3

Browse files
committed
Fix: rename GraalHPyContext.ctxCast to .ctxAsStruct
1 parent 9c57e90 commit 578ffd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy/GraalHPyContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ public final long ctxLongFromLong(long l) {
13531353
return createHandle(l).getId(this, ConditionProfile.getUncached());
13541354
}
13551355

1356-
public final long ctxCast(long handle) {
1356+
public final long ctxAsStruct(long handle) {
13571357
Counter.UpcallCast.increment();
13581358

13591359
Object receiver = getObjectForHPyHandle(GraalHPyBoxing.unboxHandle(handle)).getDelegate();

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/resources/jni-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"name":"com.oracle.graal.python.builtins.objects.cext.hpy.GraalHPyContext",
44
"methods":[
5-
{"name":"ctxCast","parameterTypes":["long"] },
5+
{"name":"ctxAsStruct","parameterTypes":["long"] },
66
{"name":"ctxClose","parameterTypes":["long"] },
77
{"name":"ctxDictNew","parameterTypes":[] },
88
{"name":"ctxDup","parameterTypes":["long"] },

0 commit comments

Comments
 (0)