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

Function _wrap_Node_prev_get

src/MeCab/MeCab_wrap.cpp:4614–4633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4612SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Path) /* defines _wrap_delete_Path_destructor_closure */
4613
4614SWIGINTERN PyObject *_wrap_Node_prev_get(PyObject *self, PyObject *args) {
4615 PyObject *resultobj = 0;
4616 mecab_node_t *arg1 = (mecab_node_t *) 0 ;
4617 void *argp1 = 0 ;
4618 int res1 = 0 ;
4619 PyObject *swig_obj[1] ;
4620 mecab_node_t *result = 0 ;
4621
4622 if (!SWIG_Python_UnpackTuple(args, "Node_prev_get", 0, 0, 0)) SWIG_fail;
4623 res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mecab_node_t, 0 | 0 );
4624 if (!SWIG_IsOK(res1)) {
4625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_prev_get" "', argument " "1"" of type '" "mecab_node_t *""'");
4626 }
4627 arg1 = reinterpret_cast< mecab_node_t * >(argp1);
4628 result = (mecab_node_t *) ((arg1)->prev);
4629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mecab_node_t, 0 | 0 );
4630 return resultobj;
4631fail:
4632 return NULL;
4633}
4634
4635
4636SWIGINTERN PyObject *_wrap_Node_next_get(PyObject *self, PyObject *args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected