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

Function _wrap_Path_rnode_get

src/MeCab/MeCab_wrap.cpp:4419–4438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4417SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_DictionaryInfo) /* defines _wrap_delete_DictionaryInfo_destructor_closure */
4418
4419SWIGINTERN PyObject *_wrap_Path_rnode_get(PyObject *self, PyObject *args) {
4420 PyObject *resultobj = 0;
4421 mecab_path_t *arg1 = (mecab_path_t *) 0 ;
4422 void *argp1 = 0 ;
4423 int res1 = 0 ;
4424 PyObject *swig_obj[1] ;
4425 mecab_node_t *result = 0 ;
4426
4427 if (!SWIG_Python_UnpackTuple(args, "Path_rnode_get", 0, 0, 0)) SWIG_fail;
4428 res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mecab_path_t, 0 | 0 );
4429 if (!SWIG_IsOK(res1)) {
4430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Path_rnode_get" "', argument " "1"" of type '" "mecab_path_t *""'");
4431 }
4432 arg1 = reinterpret_cast< mecab_path_t * >(argp1);
4433 result = (mecab_node_t *) ((arg1)->rnode);
4434 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mecab_node_t, 0 | 0 );
4435 return resultobj;
4436fail:
4437 return NULL;
4438}
4439
4440
4441SWIGINTERN PyObject *_wrap_Path_rnext_get(PyObject *self, PyObject *args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected