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

Function _wrap_ItemSequence_end

swig/python/export_wrap.cpp:9248–9268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9246
9247
9248SWIGINTERN PyObject *_wrap_ItemSequence_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9249 PyObject *resultobj = 0;
9250 std::vector< CRFSuite::Item > *arg1 = (std::vector< CRFSuite::Item > *) 0 ;
9251 void *argp1 = 0 ;
9252 int res1 = 0 ;
9253 PyObject * obj0 = 0 ;
9254 std::vector< CRFSuite::Item >::iterator result;
9255
9256 if (!PyArg_ParseTuple(args,(char *)"O:ItemSequence_end",&obj0)) SWIG_fail;
9257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CRFSuite__Item_std__allocatorT_CRFSuite__Item_t_t, 0 | 0 );
9258 if (!SWIG_IsOK(res1)) {
9259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ItemSequence_end" "', argument " "1"" of type '" "std::vector< CRFSuite::Item > *""'");
9260 }
9261 arg1 = reinterpret_cast< std::vector< CRFSuite::Item > * >(argp1);
9262 result = (arg1)->end();
9263 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CRFSuite::Item >::iterator & >(result)),
9264 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
9265 return resultobj;
9266fail:
9267 return NULL;
9268}
9269
9270
9271SWIGINTERN PyObject *_wrap_ItemSequence_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {

Callers

nothing calls this directly

Calls 2

make_output_iteratorFunction · 0.85
endMethod · 0.45

Tested by

no test coverage detected