Skip to content

Commit da265ef

Browse files
fangererqunaibit
authored andcommitted
Export sym _PyGC_CollectNoFail
1 parent a0d485b commit da265ef

File tree

1 file changed

+2
-1
lines changed
  • graalpython/com.oracle.graal.python.cext/src

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2493,7 +2493,8 @@ PyGC_Collect(void)
24932493
return n;
24942494
}
24952495

2496-
Py_ssize_t
2496+
// GraalPy change: exported sym because called from Java
2497+
PyAPI_FUNC(Py_ssize_t)
24972498
_PyGC_CollectNoFail(PyThreadState *tstate)
24982499
{
24992500
/* Ideally, this function is only called on interpreter shutdown,

0 commit comments

Comments
 (0)