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

Function _wrap_Node_stat_get

src/MeCab/MeCab_wrap.cpp:4922–4941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4920
4921
4922SWIGINTERN PyObject *_wrap_Node_stat_get(PyObject *self, PyObject *args) {
4923 PyObject *resultobj = 0;
4924 mecab_node_t *arg1 = (mecab_node_t *) 0 ;
4925 void *argp1 = 0 ;
4926 int res1 = 0 ;
4927 PyObject *swig_obj[1] ;
4928 unsigned char result;
4929
4930 if (!SWIG_Python_UnpackTuple(args, "Node_stat_get", 0, 0, 0)) SWIG_fail;
4931 res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mecab_node_t, 0 | 0 );
4932 if (!SWIG_IsOK(res1)) {
4933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Node_stat_get" "', argument " "1"" of type '" "mecab_node_t *""'");
4934 }
4935 arg1 = reinterpret_cast< mecab_node_t * >(argp1);
4936 result = (unsigned char) ((arg1)->stat);
4937 resultobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result));
4938 return resultobj;
4939fail:
4940 return NULL;
4941}
4942
4943
4944SWIGINTERN PyObject *_wrap_Node_isbest_get(PyObject *self, PyObject *args) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected