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

Function SwigPyBuiltin_FunpackGetterClosure

src/MeCab/MeCab_wrap.cpp:2699–2710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2697}
2698
2699SWIGINTERN PyObject *
2700SwigPyBuiltin_FunpackGetterClosure (PyObject *obj, void *closure) {
2701 SwigPyGetSet *getset;
2702 PyObject *result;
2703 if (!closure)
2704 return SWIG_Py_Void();
2705 getset = (SwigPyGetSet *)closure;
2706 if (!getset->get)
2707 return SWIG_Py_Void();
2708 result = (*getset->get)(obj, NULL);
2709 return result;
2710}
2711
2712SWIGINTERN int
2713SwigPyBuiltin_SetterClosure (PyObject *obj, PyObject *val, void *closure) {

Callers

nothing calls this directly

Calls 1

SWIG_Py_VoidFunction · 0.85

Tested by

no test coverage detected