| 4505 | |
| 4506 | |
| 4507 | SWIGINTERN PyObject *_wrap_Path_cost_get(PyObject *self, PyObject *args) { |
| 4508 | PyObject *resultobj = 0; |
| 4509 | mecab_path_t *arg1 = (mecab_path_t *) 0 ; |
| 4510 | void *argp1 = 0 ; |
| 4511 | int res1 = 0 ; |
| 4512 | PyObject *swig_obj[1] ; |
| 4513 | int result; |
| 4514 | |
| 4515 | if (!SWIG_Python_UnpackTuple(args, "Path_cost_get", 0, 0, 0)) SWIG_fail; |
| 4516 | res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mecab_path_t, 0 | 0 ); |
| 4517 | if (!SWIG_IsOK(res1)) { |
| 4518 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Path_cost_get" "', argument " "1"" of type '" "mecab_path_t *""'"); |
| 4519 | } |
| 4520 | arg1 = reinterpret_cast< mecab_path_t * >(argp1); |
| 4521 | result = (int) ((arg1)->cost); |
| 4522 | resultobj = SWIG_From_int(static_cast< int >(result)); |
| 4523 | return resultobj; |
| 4524 | fail: |
| 4525 | return NULL; |
| 4526 | } |
| 4527 | |
| 4528 | |
| 4529 | SWIGINTERN PyObject *_wrap_Path_prob_set(PyObject *self, PyObject *args) { |
nothing calls this directly
no test coverage detected