| 5233 | |
| 5234 | |
| 5235 | SWIGINTERN PyObject *_wrap_Lattice_bos_node(PyObject *self, PyObject *args) { |
| 5236 | PyObject *resultobj = 0; |
| 5237 | MeCab::Lattice *arg1 = (MeCab::Lattice *) 0 ; |
| 5238 | void *argp1 = 0 ; |
| 5239 | int res1 = 0 ; |
| 5240 | PyObject *swig_obj[1] ; |
| 5241 | MeCab::Node *result = 0 ; |
| 5242 | |
| 5243 | if (!SWIG_Python_UnpackTuple(args, "Lattice_bos_node", 0, 0, 0)) SWIG_fail; |
| 5244 | res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_MeCab__Lattice, 0 | 0 ); |
| 5245 | if (!SWIG_IsOK(res1)) { |
| 5246 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Lattice_bos_node" "', argument " "1"" of type '" "MeCab::Lattice const *""'"); |
| 5247 | } |
| 5248 | arg1 = reinterpret_cast< MeCab::Lattice * >(argp1); |
| 5249 | { |
| 5250 | try { |
| 5251 | result = (MeCab::Node *)((MeCab::Lattice const *)arg1)->bos_node(); |
| 5252 | } |
| 5253 | catch (char *e) { |
| 5254 | SWIG_exception (SWIG_RuntimeError, e); |
| 5255 | } |
| 5256 | catch (const char *e) { |
| 5257 | SWIG_exception (SWIG_RuntimeError, (char*)e); |
| 5258 | } |
| 5259 | } |
| 5260 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mecab_node_t, 0 | 0 ); |
| 5261 | return resultobj; |
| 5262 | fail: |
| 5263 | return NULL; |
| 5264 | } |
| 5265 | |
| 5266 | |
| 5267 | SWIGINTERN PyObject *_wrap_Lattice_eos_node(PyObject *self, PyObject *args) { |
nothing calls this directly
no outgoing calls
no test coverage detected