MCPcopy Create free account
hub / github.com/Sally-SH/VSP-LLM / __Pyx_PyImport_AddModuleRef

Function __Pyx_PyImport_AddModuleRef

fairseq/fairseq/data/data_utils_fast.cpp:1123–1127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1121 #define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name)
1122#else
1123 static CYTHON_INLINE PyObject *__Pyx_PyImport_AddModuleRef(const char *name) {
1124 PyObject *module = PyImport_AddModule(name);
1125 Py_XINCREF(module);
1126 return module;
1127 }
1128#endif
1129#if PY_MAJOR_VERSION >= 3
1130 #define PyIntObject PyLongObject

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected