@@ -1240,6 +1240,8 @@ void unimplemented(const char* name) {
12401240#undef _PyBytes_FromHex
12411241#undef _PyBytes_Join
12421242#undef _PyBytes_Resize
1243+ #undef _PyCFunction_GetMethodDef
1244+ #undef _PyCFunction_GetModule
12431245#undef _PyCode_CheckLineNumber
12441246#undef _PyCode_ConstantKey
12451247#undef _PyCode_GetExtra
@@ -4809,6 +4811,16 @@ PyAPI_FUNC(int) _PyBytes_Resize(PyObject** a, Py_ssize_t b) {
48094811 int result = (int ) __target___PyBytes_Resize (a , b );
48104812 return result ;
48114813}
4814+ PyMethodDef * (* __target___PyCFunction_GetMethodDef )(PyObject * ) = NULL ;
4815+ PyAPI_FUNC (PyMethodDef * ) _PyCFunction_GetMethodDef (PyObject * a ) {
4816+ PyMethodDef * result = (PyMethodDef * ) __target___PyCFunction_GetMethodDef (a );
4817+ return result ;
4818+ }
4819+ PyObject * (* __target___PyCFunction_GetModule )(PyObject * ) = NULL ;
4820+ PyAPI_FUNC (PyObject * ) _PyCFunction_GetModule (PyObject * a ) {
4821+ PyObject * result = (PyObject * ) __target___PyCFunction_GetModule (a );
4822+ return result ;
4823+ }
48124824PyAPI_FUNC (int ) _PyCode_CheckLineNumber (int a , PyCodeAddressRange * b ) {
48134825 unimplemented ("_PyCode_CheckLineNumber" ); exit (-1 );
48144826}
@@ -6409,6 +6421,8 @@ void initializeCAPIForwards(void* (*getAPI)(const char*)) {
64096421 __target___PyBytesWriter_Resize = getAPI ("_PyBytesWriter_Resize" );
64106422 __target___PyBytesWriter_WriteBytes = getAPI ("_PyBytesWriter_WriteBytes" );
64116423 __target___PyBytes_Resize = getAPI ("_PyBytes_Resize" );
6424+ __target___PyCFunction_GetMethodDef = getAPI ("_PyCFunction_GetMethodDef" );
6425+ __target___PyCFunction_GetModule = getAPI ("_PyCFunction_GetModule" );
64126426 __target___PyErr_BadInternalCall = getAPI ("_PyErr_BadInternalCall" );
64136427 __target___PyErr_WriteUnraisableMsg = getAPI ("_PyErr_WriteUnraisableMsg" );
64146428 __target___PyEval_SliceIndex = getAPI ("_PyEval_SliceIndex" );
0 commit comments