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

Function _wrap_Item_end

swig/python/export_wrap.cpp:7346–7366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7344
7345
7346SWIGINTERN PyObject *_wrap_Item_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7347 PyObject *resultobj = 0;
7348 std::vector< CRFSuite::Attribute > *arg1 = (std::vector< CRFSuite::Attribute > *) 0 ;
7349 void *argp1 = 0 ;
7350 int res1 = 0 ;
7351 PyObject * obj0 = 0 ;
7352 std::vector< CRFSuite::Attribute >::iterator result;
7353
7354 if (!PyArg_ParseTuple(args,(char *)"O:Item_end",&obj0)) SWIG_fail;
7355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CRFSuite__Attribute_std__allocatorT_CRFSuite__Attribute_t_t, 0 | 0 );
7356 if (!SWIG_IsOK(res1)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Item_end" "', argument " "1"" of type '" "std::vector< CRFSuite::Attribute > *""'");
7358 }
7359 arg1 = reinterpret_cast< std::vector< CRFSuite::Attribute > * >(argp1);
7360 result = (arg1)->end();
7361 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CRFSuite::Attribute >::iterator & >(result)),
7362 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
7363 return resultobj;
7364fail:
7365 return NULL;
7366}
7367
7368
7369SWIGINTERN PyObject *_wrap_Item_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