| 6593 | |
| 6594 | |
| 6595 | SWIGINTERN PyObject *_wrap_Model_createLattice(PyObject *self, PyObject *args) { |
| 6596 | PyObject *resultobj = 0; |
| 6597 | MeCab::Model *arg1 = (MeCab::Model *) 0 ; |
| 6598 | void *argp1 = 0 ; |
| 6599 | int res1 = 0 ; |
| 6600 | PyObject *swig_obj[1] ; |
| 6601 | MeCab::Lattice *result = 0 ; |
| 6602 | |
| 6603 | if (!SWIG_Python_UnpackTuple(args, "Model_createLattice", 0, 0, 0)) SWIG_fail; |
| 6604 | res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MeCab__Model, 0 | 0 ); |
| 6605 | if (!SWIG_IsOK(res1)) { |
| 6606 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Model_createLattice" "', argument " "1"" of type '" "MeCab::Model const *""'"); |
| 6607 | } |
| 6608 | arg1 = reinterpret_cast< MeCab::Model * >(argp1); |
| 6609 | { |
| 6610 | try { |
| 6611 | result = (MeCab::Lattice *)((MeCab::Model const *)arg1)->createLattice(); |
| 6612 | } |
| 6613 | catch (char *e) { |
| 6614 | SWIG_exception (SWIG_RuntimeError, e); |
| 6615 | } |
| 6616 | catch (const char *e) { |
| 6617 | SWIG_exception (SWIG_RuntimeError, (char*)e); |
| 6618 | } |
| 6619 | } |
| 6620 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_MeCab__Lattice, 0 | 0 ); |
| 6621 | return resultobj; |
| 6622 | fail: |
| 6623 | return NULL; |
| 6624 | } |
| 6625 | |
| 6626 | |
| 6627 | SWIGINTERN PyObject *_wrap_Model_swap(PyObject *self, PyObject *args) { |
nothing calls this directly
no outgoing calls
no test coverage detected