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

Function _wrap_Node_lpath_get

src/MeCab/MeCab_wrap.cpp:4724–4743  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4722
4723
4724SWIGINTERN PyObject *_wrap_Node_lpath_get(PyObject *self, PyObject *args) {
4725 PyObject *resultobj = 0;
4726 mecab_node_t *arg1 = (mecab_node_t *) 0 ;
4727 void *argp1 = 0 ;
4728 int res1 = 0 ;
4729 PyObject *swig_obj[1] ;
4730 mecab_path_t *result = 0 ;
4731
4732 if (!SWIG_Python_UnpackTuple(args, "Node_lpath_get", 0, 0, 0)) SWIG_fail;
4733 res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mecab_node_t, 0 | 0 );
4734 if (!SWIG_IsOK(res1)) {
4735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_lpath_get" "', argument " "1"" of type '" "mecab_node_t *""'");
4736 }
4737 arg1 = reinterpret_cast< mecab_node_t * >(argp1);
4738 result = (mecab_path_t *) ((arg1)->lpath);
4739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mecab_path_t, 0 | 0 );
4740 return resultobj;
4741fail:
4742 return NULL;
4743}
4744
4745
4746SWIGINTERN PyObject *_wrap_Node_feature_get(PyObject *self, PyObject *args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected