@@ -59,6 +59,11 @@ extern "C"
59
59
APIFN (PyObject*, PyErr_Occurred, (), ());
60
60
VOID_APIFN (PyErr_Print,(),());
61
61
VOID_APIFN (PyErr_SetString,(PyObject* o,const char * s),(o,s));
62
+ APIFN (PyObject*, PyType_GenericAlloc,(PyTypeObject* t, Py_ssize_t n),(t,n));
63
+ APIFN (PyObject*, PyType_GenericNew,(PyTypeObject* t, PyObject* a, PyObject* k),(t,a,k));
64
+
65
+ APIFN (int ,Py_IsInitialized,(),());
66
+ APIFN (PyObject*,PySys_GetObject,(const char *name),(name));
62
67
63
68
APIFN (PyObject*, Py_GetConstantBorrowed,(unsigned x),(x));
64
69
APIFN (int , PyType_IsSubtype,(PyTypeObject* o1, PyTypeObject* o2),(o1,o2));
@@ -74,7 +79,8 @@ extern "C"
74
79
APIFN (PyObject*, PyObject_GetAttr, (PyObject* o, PyObject* a), (o,a));
75
80
APIFN (PyObject*, PyObject_GenericGetAttr, (PyObject* o, PyObject* a), (o,a));
76
81
APIFN (int , PyObject_SetAttrString, (PyObject* o, const char * a, PyObject* v), (o,a,v));
77
-
82
+ APIFN (PyObject*, PyObject_Call, (PyObject* c, PyObject* a, PyObject* k),(c,a,k));
83
+
78
84
APIFN (int , PyModule_AddObject, (PyObject* o, const char * n, PyObject* v), (o,n,v));
79
85
APIFN (const char *, PyModule_GetName, (PyObject* o), (o));
80
86
APIFN (PyObject*, PyModule_Create2, (PyModuleDef* m,int i), (m,i));
@@ -85,6 +91,8 @@ extern "C"
85
91
APIFN (PyObject*, PyUnicode_FromString, (const char * s), (s));
86
92
APIFN (char *, PyUnicode_AsUTF8AndSize, (PyObject* s,Py_ssize_t* sz), (s,sz));
87
93
94
+ APIFN (PyObject*, PyTuple_New, (Py_ssize_t s), (s));
95
+
88
96
APIFN (PyObject*, PyDict_New, (), ());
89
97
APIFN (int , PyDict_SetItemString, (PyObject* d, const char * k, PyObject* v), (d,k,v));
90
98
0 commit comments