@@ -287,6 +287,7 @@ public final class CApiFunction {
287287 @ CApiBuiltin (name = "PyModule_AddStringConstant" , ret = Int , args = {PyObject , ConstCharPtrAsTruffleString , ConstCharPtrAsTruffleString }, call = CImpl )
288288 @ CApiBuiltin (name = "PyModule_AddType" , ret = Int , args = {PyObject , PyTypeObject }, call = CImpl )
289289 @ CApiBuiltin (name = "PyObject_GenericGetDict" , ret = PyObject , args = {PyObject , Pointer }, call = CImpl )
290+ @ CApiBuiltin (name = "Py_IsInitialized" , ret = Int , args = {}, call = CImpl )
290291
291292 /*
292293 * Functions that are implemented in C code:
@@ -581,8 +582,6 @@ public final class CApiFunction {
581582 @ CApiBuiltin (name = "PyObject_SetAttrString" , ret = Int , args = {PyObject , ConstCharPtrAsTruffleString , PyObject }, call = PolyglotImpl )
582583 @ CApiBuiltin (name = "PyObject_VectorcallDict" , ret = PyObject , args = {PyObject , PyObjectConstPtr , SIZE_T , PyObject }, call = PolyglotImpl )
583584 @ CApiBuiltin (name = "PyOS_double_to_string" , ret = CHAR_PTR , args = {Double , CHAR , Int , Int , INT_LIST }, call = PolyglotImpl )
584- @ CApiBuiltin (name = "PyOS_InterruptOccurred" , ret = Int , args = {}, call = PolyglotImpl )
585- @ CApiBuiltin (name = "PyOS_setsig" , ret = PY_OS_SIGHANDLER , args = {Int , PY_OS_SIGHANDLER }, call = PolyglotImpl )
586585 @ CApiBuiltin (name = "PyOS_snprintf" , ret = Int , args = {CHAR_PTR , SIZE_T , ConstCharPtrAsTruffleString , VARARGS }, forwardsTo = "PyOS_vsnprintf" , call = PolyglotImpl )
587586 @ CApiBuiltin (name = "PyOS_string_to_double" , ret = Double , args = {ConstCharPtrAsTruffleString , CHAR_PTR_LIST , PyObject }, call = PolyglotImpl )
588587 @ CApiBuiltin (name = "PyOS_strtol" , ret = Long , args = {ConstCharPtrAsTruffleString , CHAR_PTR_LIST , Int }, call = PolyglotImpl )
@@ -991,7 +990,6 @@ public final class CApiFunction {
991990 @ CApiBuiltin (name = "Py_Initialize" , ret = Void , args = {}, call = NotImplemented )
992991 @ CApiBuiltin (name = "Py_InitializeEx" , ret = Void , args = {Int }, call = NotImplemented )
993992 @ CApiBuiltin (name = "Py_InitializeFromConfig" , ret = PYSTATUS , args = {CONST_PYCONFIG_PTR }, call = NotImplemented )
994- @ CApiBuiltin (name = "Py_IsInitialized" , ret = Int , args = {}, call = NotImplemented )
995993 @ CApiBuiltin (name = "Py_Main" , ret = Int , args = {Int , WCHAR_T_PTR_LIST }, call = NotImplemented )
996994 @ CApiBuiltin (name = "Py_MakePendingCalls" , ret = Int , args = {}, call = NotImplemented )
997995 @ CApiBuiltin (name = "Py_NewInterpreter" , ret = PyThreadState , args = {}, call = NotImplemented )
@@ -1208,9 +1206,11 @@ public final class CApiFunction {
12081206 @ CApiBuiltin (name = "PyOS_AfterFork_Parent" , ret = Void , args = {}, call = NotImplemented )
12091207 @ CApiBuiltin (name = "PyOS_AfterFork" , ret = Void , args = {}, call = NotImplemented )
12101208 @ CApiBuiltin (name = "PyOS_BeforeFork" , ret = Void , args = {}, call = NotImplemented )
1209+ @ CApiBuiltin (name = "PyOS_InterruptOccurred" , ret = Int , args = {}, call = NotImplemented )
12111210 @ CApiBuiltin (name = "PyOS_getsig" , ret = PY_OS_SIGHANDLER , args = {Int }, call = NotImplemented )
12121211 @ CApiBuiltin (name = "PyOS_mystricmp" , ret = Int , args = {ConstCharPtrAsTruffleString , ConstCharPtrAsTruffleString }, call = NotImplemented )
12131212 @ CApiBuiltin (name = "PyOS_mystrnicmp" , ret = Int , args = {ConstCharPtrAsTruffleString , ConstCharPtrAsTruffleString , Py_ssize_t }, call = NotImplemented )
1213+ @ CApiBuiltin (name = "PyOS_setsig" , ret = PY_OS_SIGHANDLER , args = {Int , PY_OS_SIGHANDLER }, call = NotImplemented )
12141214 @ CApiBuiltin (name = "PyOS_Readline" , ret = CHAR_PTR , args = {FILE_PTR , FILE_PTR , ConstCharPtrAsTruffleString }, call = NotImplemented )
12151215 @ CApiBuiltin (name = "PyPickleBuffer_FromObject" , ret = PyObject , args = {PyObject }, call = NotImplemented )
12161216 @ CApiBuiltin (name = "PyPickleBuffer_GetBuffer" , ret = CONST_PY_BUFFER , args = {PyObject }, call = NotImplemented )
0 commit comments