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

Function SWIG_Python_SetErrorMsg

src/MeCab/MeCab_wrap.cpp:1140–1145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1138}
1139
1140SWIGINTERN void
1141SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1142 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1143 PyErr_SetString(errtype, msg);
1144 SWIG_PYTHON_THREAD_END_BLOCK;
1145}
1146
1147#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1148

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected