MCPcopy Create free account
hub / github.com/SamuraiT/mecab-python3 / SwigPyBuiltin_binaryfunc_closure

Function SwigPyBuiltin_binaryfunc_closure

src/MeCab/MeCab_wrap.cpp:3122–3132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3120 return SwigPyBuiltin_binaryfunc_closure(wrapper, a, b); \
3121}
3122SWIGINTERN PyObject *
3123SwigPyBuiltin_binaryfunc_closure(SwigPyWrapperFunction wrapper, PyObject *a, PyObject *b) {
3124 PyObject *tuple, *result;
3125 tuple = PyTuple_New(1);
3126 assert(tuple);
3127 Py_INCREF(b);
3128 PyTuple_SET_ITEM(tuple, 0, b);
3129 result = wrapper(a, tuple);
3130 Py_DECREF(tuple);
3131 return result;
3132}
3133
3134typedef ternaryfunc ternarycallfunc;
3135

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected