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

Function _wrap_Node_rlength_get

src/MeCab/MeCab_wrap.cpp:4812–4831  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4810
4811
4812SWIGINTERN PyObject *_wrap_Node_rlength_get(PyObject *self, PyObject *args) {
4813 PyObject *resultobj = 0;
4814 mecab_node_t *arg1 = (mecab_node_t *) 0 ;
4815 void *argp1 = 0 ;
4816 int res1 = 0 ;
4817 PyObject *swig_obj[1] ;
4818 unsigned short result;
4819
4820 if (!SWIG_Python_UnpackTuple(args, "Node_rlength_get", 0, 0, 0)) SWIG_fail;
4821 res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mecab_node_t, 0 | 0 );
4822 if (!SWIG_IsOK(res1)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_rlength_get" "', argument " "1"" of type '" "mecab_node_t *""'");
4824 }
4825 arg1 = reinterpret_cast< mecab_node_t * >(argp1);
4826 result = (unsigned short) ((arg1)->rlength);
4827 resultobj = SWIG_From_unsigned_SS_short(static_cast< unsigned short >(result));
4828 return resultobj;
4829fail:
4830 return NULL;
4831}
4832
4833
4834SWIGINTERN PyObject *_wrap_Node_rcAttr_get(PyObject *self, PyObject *args) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected