| 4527 | |
| 4528 | |
| 4529 | SWIGINTERN PyObject *_wrap_Path_prob_set(PyObject *self, PyObject *args) { |
| 4530 | PyObject *resultobj = 0; |
| 4531 | mecab_path_t *arg1 = (mecab_path_t *) 0 ; |
| 4532 | float arg2 ; |
| 4533 | void *argp1 = 0 ; |
| 4534 | int res1 = 0 ; |
| 4535 | float val2 ; |
| 4536 | int ecode2 = 0 ; |
| 4537 | PyObject *swig_obj[2] ; |
| 4538 | |
| 4539 | if (!args) SWIG_fail; |
| 4540 | swig_obj[0] = args; |
| 4541 | res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_mecab_path_t, 0 | 0 ); |
| 4542 | if (!SWIG_IsOK(res1)) { |
| 4543 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Path_prob_set" "', argument " "1"" of type '" "mecab_path_t *""'"); |
| 4544 | } |
| 4545 | arg1 = reinterpret_cast< mecab_path_t * >(argp1); |
| 4546 | ecode2 = SWIG_AsVal_float(swig_obj[0], &val2); |
| 4547 | if (!SWIG_IsOK(ecode2)) { |
| 4548 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Path_prob_set" "', argument " "2"" of type '" "float""'"); |
| 4549 | } |
| 4550 | arg2 = static_cast< float >(val2); |
| 4551 | if (arg1) (arg1)->prob = arg2; |
| 4552 | resultobj = SWIG_Py_Void(); |
| 4553 | return resultobj; |
| 4554 | fail: |
| 4555 | return NULL; |
| 4556 | } |
| 4557 | |
| 4558 | |
| 4559 | SWIGINTERN PyObject *_wrap_Path_prob_get(PyObject *self, PyObject *args) { |
nothing calls this directly
no test coverage detected