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

Function _wrap_delete_DictionaryInfo

src/MeCab/MeCab_wrap.cpp:4386–4414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4384
4385
4386SWIGINTERN PyObject *_wrap_delete_DictionaryInfo(PyObject *self, PyObject *args) {
4387 PyObject *resultobj = 0;
4388 mecab_dictionary_info_t *arg1 = (mecab_dictionary_info_t *) 0 ;
4389 void *argp1 = 0 ;
4390 int res1 = 0 ;
4391 PyObject *swig_obj[1] ;
4392
4393 if (!SWIG_Python_UnpackTuple(args, "delete_DictionaryInfo", 0, 0, 0)) SWIG_fail;
4394 res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mecab_dictionary_info_t, SWIG_POINTER_DISOWN | 0 );
4395 if (!SWIG_IsOK(res1)) {
4396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DictionaryInfo" "', argument " "1"" of type '" "mecab_dictionary_info_t *""'");
4397 }
4398 arg1 = reinterpret_cast< mecab_dictionary_info_t * >(argp1);
4399 {
4400 try {
4401 delete arg1;
4402 }
4403 catch (char *e) {
4404 SWIG_exception (SWIG_RuntimeError, e);
4405 }
4406 catch (const char *e) {
4407 SWIG_exception (SWIG_RuntimeError, (char*)e);
4408 }
4409 }
4410 resultobj = SWIG_Py_Void();
4411 return resultobj;
4412fail:
4413 return NULL;
4414}
4415
4416
4417SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_DictionaryInfo) /* defines _wrap_delete_DictionaryInfo_destructor_closure */

Callers

nothing calls this directly

Calls 1

SWIG_Py_VoidFunction · 0.85

Tested by

no test coverage detected