@@ -287,6 +287,7 @@ public final class CApiFunction {
287
287
@ CApiBuiltin (name = "PyModule_AddStringConstant" , ret = Int , args = {PyObject , ConstCharPtrAsTruffleString , ConstCharPtrAsTruffleString }, call = CImpl )
288
288
@ CApiBuiltin (name = "PyModule_AddType" , ret = Int , args = {PyObject , PyTypeObject }, call = CImpl )
289
289
@ CApiBuiltin (name = "PyObject_GenericGetDict" , ret = PyObject , args = {PyObject , Pointer }, call = CImpl )
290
+ @ CApiBuiltin (name = "Py_IsInitialized" , ret = Int , args = {}, call = CImpl )
290
291
291
292
/*
292
293
* Functions that are implemented in C code:
@@ -581,8 +582,6 @@ public final class CApiFunction {
581
582
@ CApiBuiltin (name = "PyObject_SetAttrString" , ret = Int , args = {PyObject , ConstCharPtrAsTruffleString , PyObject }, call = PolyglotImpl )
582
583
@ CApiBuiltin (name = "PyObject_VectorcallDict" , ret = PyObject , args = {PyObject , PyObjectConstPtr , SIZE_T , PyObject }, call = PolyglotImpl )
583
584
@ 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 )
586
585
@ CApiBuiltin (name = "PyOS_snprintf" , ret = Int , args = {CHAR_PTR , SIZE_T , ConstCharPtrAsTruffleString , VARARGS }, forwardsTo = "PyOS_vsnprintf" , call = PolyglotImpl )
587
586
@ CApiBuiltin (name = "PyOS_string_to_double" , ret = Double , args = {ConstCharPtrAsTruffleString , CHAR_PTR_LIST , PyObject }, call = PolyglotImpl )
588
587
@ CApiBuiltin (name = "PyOS_strtol" , ret = Long , args = {ConstCharPtrAsTruffleString , CHAR_PTR_LIST , Int }, call = PolyglotImpl )
@@ -991,7 +990,6 @@ public final class CApiFunction {
991
990
@ CApiBuiltin (name = "Py_Initialize" , ret = Void , args = {}, call = NotImplemented )
992
991
@ CApiBuiltin (name = "Py_InitializeEx" , ret = Void , args = {Int }, call = NotImplemented )
993
992
@ CApiBuiltin (name = "Py_InitializeFromConfig" , ret = PYSTATUS , args = {CONST_PYCONFIG_PTR }, call = NotImplemented )
994
- @ CApiBuiltin (name = "Py_IsInitialized" , ret = Int , args = {}, call = NotImplemented )
995
993
@ CApiBuiltin (name = "Py_Main" , ret = Int , args = {Int , WCHAR_T_PTR_LIST }, call = NotImplemented )
996
994
@ CApiBuiltin (name = "Py_MakePendingCalls" , ret = Int , args = {}, call = NotImplemented )
997
995
@ CApiBuiltin (name = "Py_NewInterpreter" , ret = PyThreadState , args = {}, call = NotImplemented )
@@ -1208,9 +1206,11 @@ public final class CApiFunction {
1208
1206
@ CApiBuiltin (name = "PyOS_AfterFork_Parent" , ret = Void , args = {}, call = NotImplemented )
1209
1207
@ CApiBuiltin (name = "PyOS_AfterFork" , ret = Void , args = {}, call = NotImplemented )
1210
1208
@ CApiBuiltin (name = "PyOS_BeforeFork" , ret = Void , args = {}, call = NotImplemented )
1209
+ @ CApiBuiltin (name = "PyOS_InterruptOccurred" , ret = Int , args = {}, call = NotImplemented )
1211
1210
@ CApiBuiltin (name = "PyOS_getsig" , ret = PY_OS_SIGHANDLER , args = {Int }, call = NotImplemented )
1212
1211
@ CApiBuiltin (name = "PyOS_mystricmp" , ret = Int , args = {ConstCharPtrAsTruffleString , ConstCharPtrAsTruffleString }, call = NotImplemented )
1213
1212
@ 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 )
1214
1214
@ CApiBuiltin (name = "PyOS_Readline" , ret = CHAR_PTR , args = {FILE_PTR , FILE_PTR , ConstCharPtrAsTruffleString }, call = NotImplemented )
1215
1215
@ CApiBuiltin (name = "PyPickleBuffer_FromObject" , ret = PyObject , args = {PyObject }, call = NotImplemented )
1216
1216
@ CApiBuiltin (name = "PyPickleBuffer_GetBuffer" , ret = CONST_PY_BUFFER , args = {PyObject }, call = NotImplemented )
0 commit comments