MCPcopy Create free account
hub / github.com/chokkan/crfsuite / _wrap_SwigPyIterator_value

Function _wrap_SwigPyIterator_value

swig/python/export_wrap.cpp:5476–5505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5474
5475
5476SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5477 PyObject *resultobj = 0;
5478 swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ;
5479 void *argp1 = 0 ;
5480 int res1 = 0 ;
5481 PyObject * obj0 = 0 ;
5482 PyObject *result = 0 ;
5483
5484 if (!PyArg_ParseTuple(args,(char *)"O:SwigPyIterator_value",&obj0)) SWIG_fail;
5485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 );
5486 if (!SWIG_IsOK(res1)) {
5487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SwigPyIterator_value" "', argument " "1"" of type '" "swig::SwigPyIterator const *""'");
5488 }
5489 arg1 = reinterpret_cast< swig::SwigPyIterator * >(argp1);
5490 try {
5491 result = (PyObject *)((swig::SwigPyIterator const *)arg1)->value();
5492 }
5493 catch(swig::stop_iteration &_e) {
5494 {
5495 (void)_e;
5496 SWIG_SetErrorObj(PyExc_StopIteration, SWIG_Py_Void());
5497 SWIG_fail;
5498 }
5499 }
5500
5501 resultobj = result;
5502 return resultobj;
5503fail:
5504 return NULL;
5505}
5506
5507
5508SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {

Callers

nothing calls this directly

Calls 2

SWIG_Py_VoidFunction · 0.85
valueMethod · 0.45

Tested by

no test coverage detected