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

Function _wrap_Model_version

src/MeCab/MeCab_wrap.cpp:6668–6688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6666
6667
6668SWIGINTERN PyObject *_wrap_Model_version(PyObject *self, PyObject *args) {
6669 PyObject *resultobj = 0;
6670 char *result = 0 ;
6671
6672 if (!SWIG_Python_UnpackTuple(args, "Model_version", 0, 0, 0)) SWIG_fail;
6673 {
6674 try {
6675 result = (char *)MeCab::Model::version();
6676 }
6677 catch (char *e) {
6678 SWIG_exception (SWIG_RuntimeError, e);
6679 }
6680 catch (const char *e) {
6681 SWIG_exception (SWIG_RuntimeError, (char*)e);
6682 }
6683 }
6684 resultobj = SWIG_FromCharPtr((const char *)result);
6685 return resultobj;
6686fail:
6687 return NULL;
6688}
6689
6690
6691SWIGINTERN PyObject *_wrap_delete_Model(PyObject *self, PyObject *args) {

Callers

nothing calls this directly

Calls 1

SWIG_FromCharPtrFunction · 0.85

Tested by

no test coverage detected