Skip to content

Commit 778b2c9

Browse files
committed
Fix: missing 'native_to_java' conversion.
1 parent 7a90ee4 commit 778b2c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graalpython/com.oracle.graal.python.cext/src/methodobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ PyObject* PyCFunction_NewEx(PyMethodDef *ml, PyObject *self, PyObject *module) {
5252
get_method_flags_cwrapper(ml->ml_flags),
5353
get_method_flags_wrapper(ml->ml_flags),
5454
self,
55-
module,
55+
native_to_java(module),
5656
polyglot_from_string((const char*)(ml->ml_doc ? ml->ml_doc : ""), SRC_CS)));
5757
}

0 commit comments

Comments
 (0)