| 6625 | |
| 6626 | |
| 6627 | SWIGINTERN PyObject *_wrap_Model_swap(PyObject *self, PyObject *args) { |
| 6628 | PyObject *resultobj = 0; |
| 6629 | MeCab::Model *arg1 = (MeCab::Model *) 0 ; |
| 6630 | MeCab::Model *arg2 = (MeCab::Model *) 0 ; |
| 6631 | void *argp1 = 0 ; |
| 6632 | int res1 = 0 ; |
| 6633 | void *argp2 = 0 ; |
| 6634 | int res2 = 0 ; |
| 6635 | PyObject *swig_obj[2] ; |
| 6636 | bool result; |
| 6637 | |
| 6638 | if (!args) SWIG_fail; |
| 6639 | swig_obj[0] = args; |
| 6640 | res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MeCab__Model, 0 | 0 ); |
| 6641 | if (!SWIG_IsOK(res1)) { |
| 6642 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Model_swap" "', argument " "1"" of type '" "MeCab::Model *""'"); |
| 6643 | } |
| 6644 | arg1 = reinterpret_cast< MeCab::Model * >(argp1); |
| 6645 | res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_MeCab__Model, 0 | 0 ); |
| 6646 | if (!SWIG_IsOK(res2)) { |
| 6647 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Model_swap" "', argument " "2"" of type '" "MeCab::Model *""'"); |
| 6648 | } |
| 6649 | arg2 = reinterpret_cast< MeCab::Model * >(argp2); |
| 6650 | { |
| 6651 | try { |
| 6652 | result = (bool)(arg1)->swap(arg2); |
| 6653 | } |
| 6654 | catch (char *e) { |
| 6655 | SWIG_exception (SWIG_RuntimeError, e); |
| 6656 | } |
| 6657 | catch (const char *e) { |
| 6658 | SWIG_exception (SWIG_RuntimeError, (char*)e); |
| 6659 | } |
| 6660 | } |
| 6661 | resultobj = SWIG_From_bool(static_cast< bool >(result)); |
| 6662 | return resultobj; |
| 6663 | fail: |
| 6664 | return NULL; |
| 6665 | } |
| 6666 | |
| 6667 | |
| 6668 | SWIGINTERN PyObject *_wrap_Model_version(PyObject *self, PyObject *args) { |
nothing calls this directly
no test coverage detected