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

Function _wrap_Path_lnode_get

src/MeCab/MeCab_wrap.cpp:4463–4482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4461
4462
4463SWIGINTERN PyObject *_wrap_Path_lnode_get(PyObject *self, PyObject *args) {
4464 PyObject *resultobj = 0;
4465 mecab_path_t *arg1 = (mecab_path_t *) 0 ;
4466 void *argp1 = 0 ;
4467 int res1 = 0 ;
4468 PyObject *swig_obj[1] ;
4469 mecab_node_t *result = 0 ;
4470
4471 if (!SWIG_Python_UnpackTuple(args, "Path_lnode_get", 0, 0, 0)) SWIG_fail;
4472 res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mecab_path_t, 0 | 0 );
4473 if (!SWIG_IsOK(res1)) {
4474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Path_lnode_get" "', argument " "1"" of type '" "mecab_path_t *""'");
4475 }
4476 arg1 = reinterpret_cast< mecab_path_t * >(argp1);
4477 result = (mecab_node_t *) ((arg1)->lnode);
4478 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mecab_node_t, 0 | 0 );
4479 return resultobj;
4480fail:
4481 return NULL;
4482}
4483
4484
4485SWIGINTERN PyObject *_wrap_Path_lnext_get(PyObject *self, PyObject *args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected