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 2f6b748 commit 6a95c2cCopy full SHA for 6a95c2c
graalpython/com.oracle.graal.python.cext/src/pystate.c
@@ -78,9 +78,10 @@ PyThreadState* PyGILState_GetThisThreadState(void) {
78
return polyglot_invoke(PY_TRUFFLE_CEXT, "PyThreadState_Get");
79
}
80
81
-UPCALL_ID(PyState_FindModule)
+typedef PyObject* (*find_module_fun_t)(long index);
82
+UPCALL_TYPED_ID(PyState_FindModule, find_module_fun_t);
83
PyObject* PyState_FindModule(struct PyModuleDef* module) {
- return UPCALL_CEXT_O(_jls_PyState_FindModule, module->m_base.m_index);
84
+ return _jls_PyState_FindModule(module->m_base.m_index);
85
86
87
int PyState_AddModule(PyObject* module, struct PyModuleDef* def) {
0 commit comments