MCPcopy Create free account
hub / github.com/MoyGcc/vid2avatar / __Pyx_PyObject_CallOneArg

Function __Pyx_PyObject_CallOneArg

code/lib/libmise/mise.cpp:22176–22192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22174 return result;
22175}
22176static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
22177#if CYTHON_FAST_PYCALL
22178 if (PyFunction_Check(func)) {
22179 return __Pyx_PyFunction_FastCall(func, &arg, 1);
22180 }
22181#endif
22182 if (likely(PyCFunction_Check(func))) {
22183 if (likely(PyCFunction_GET_FLAGS(func) & METH_O)) {
22184 return __Pyx_PyObject_CallMethO(func, arg);
22185#if CYTHON_FAST_PYCCALL
22186 } else if (__Pyx_PyFastCFunction_Check(func)) {
22187 return __Pyx_PyCFunction_FastCall(func, &arg, 1);
22188#endif
22189 }
22190 }
22191 return __Pyx__PyObject_CallOneArg(func, arg);
22192}
22193#else
22194static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) {
22195 PyObject *result;

Calls 4

__Pyx_PyObject_CallMethOFunction · 0.85
__Pyx_PyObject_CallFunction · 0.85

Tested by

no test coverage detected