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

Function _wrap_ItemSequence_begin

swig/python/export_wrap.cpp:9225–9245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9223
9224
9225SWIGINTERN PyObject *_wrap_ItemSequence_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9226 PyObject *resultobj = 0;
9227 std::vector< CRFSuite::Item > *arg1 = (std::vector< CRFSuite::Item > *) 0 ;
9228 void *argp1 = 0 ;
9229 int res1 = 0 ;
9230 PyObject * obj0 = 0 ;
9231 std::vector< CRFSuite::Item >::iterator result;
9232
9233 if (!PyArg_ParseTuple(args,(char *)"O:ItemSequence_begin",&obj0)) SWIG_fail;
9234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CRFSuite__Item_std__allocatorT_CRFSuite__Item_t_t, 0 | 0 );
9235 if (!SWIG_IsOK(res1)) {
9236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ItemSequence_begin" "', argument " "1"" of type '" "std::vector< CRFSuite::Item > *""'");
9237 }
9238 arg1 = reinterpret_cast< std::vector< CRFSuite::Item > * >(argp1);
9239 result = (arg1)->begin();
9240 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CRFSuite::Item >::iterator & >(result)),
9241 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
9242 return resultobj;
9243fail:
9244 return NULL;
9245}
9246
9247
9248SWIGINTERN PyObject *_wrap_ItemSequence_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {

Callers

nothing calls this directly

Calls 2

make_output_iteratorFunction · 0.85
beginMethod · 0.45

Tested by

no test coverage detected