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

Function _wrap_Node_feature_get

src/MeCab/MeCab_wrap.cpp:4746–4765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4744
4745
4746SWIGINTERN PyObject *_wrap_Node_feature_get(PyObject *self, PyObject *args) {
4747 PyObject *resultobj = 0;
4748 mecab_node_t *arg1 = (mecab_node_t *) 0 ;
4749 void *argp1 = 0 ;
4750 int res1 = 0 ;
4751 PyObject *swig_obj[1] ;
4752 char *result = 0 ;
4753
4754 if (!SWIG_Python_UnpackTuple(args, "Node_feature_get", 0, 0, 0)) SWIG_fail;
4755 res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mecab_node_t, 0 | 0 );
4756 if (!SWIG_IsOK(res1)) {
4757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_feature_get" "', argument " "1"" of type '" "mecab_node_t *""'");
4758 }
4759 arg1 = reinterpret_cast< mecab_node_t * >(argp1);
4760 result = (char *) ((arg1)->feature);
4761 resultobj = SWIG_FromCharPtr((const char *)result);
4762 return resultobj;
4763fail:
4764 return NULL;
4765}
4766
4767
4768SWIGINTERN PyObject *_wrap_Node_id_get(PyObject *self, PyObject *args) {

Callers

nothing calls this directly

Calls 1

SWIG_FromCharPtrFunction · 0.85

Tested by

no test coverage detected