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

Function SWIG_CheckState

src/MeCab/MeCab_wrap.cpp:349–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
348}
349SWIGINTERNINLINE int SWIG_CheckState(int r) {
350 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
351}
352#else /* no cast-rank mode */
353# define SWIG_AddCast(r) (r)
354# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)

Callers 1

_wrap_Tagger_parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected