| 6689 | |
| 6690 | |
| 6691 | SWIGINTERN PyObject *_wrap_delete_Model(PyObject *self, PyObject *args) { |
| 6692 | PyObject *resultobj = 0; |
| 6693 | MeCab::Model *arg1 = (MeCab::Model *) 0 ; |
| 6694 | void *argp1 = 0 ; |
| 6695 | int res1 = 0 ; |
| 6696 | PyObject *swig_obj[1] ; |
| 6697 | |
| 6698 | if (!SWIG_Python_UnpackTuple(args, "delete_Model", 0, 0, 0)) SWIG_fail; |
| 6699 | res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MeCab__Model, SWIG_POINTER_DISOWN | 0 ); |
| 6700 | if (!SWIG_IsOK(res1)) { |
| 6701 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Model" "', argument " "1"" of type '" "MeCab::Model *""'"); |
| 6702 | } |
| 6703 | arg1 = reinterpret_cast< MeCab::Model * >(argp1); |
| 6704 | { |
| 6705 | try { |
| 6706 | delete arg1; |
| 6707 | } |
| 6708 | catch (char *e) { |
| 6709 | SWIG_exception (SWIG_RuntimeError, e); |
| 6710 | } |
| 6711 | catch (const char *e) { |
| 6712 | SWIG_exception (SWIG_RuntimeError, (char*)e); |
| 6713 | } |
| 6714 | } |
| 6715 | resultobj = SWIG_Py_Void(); |
| 6716 | return resultobj; |
| 6717 | fail: |
| 6718 | return NULL; |
| 6719 | } |
| 6720 | |
| 6721 | |
| 6722 | SWIGINTERN int _wrap_new_Model__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { |
nothing calls this directly
no test coverage detected