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

Function _wrap_ItemSequence_rbegin

swig/python/export_wrap.cpp:9271–9291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9269
9270
9271SWIGINTERN PyObject *_wrap_ItemSequence_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9272 PyObject *resultobj = 0;
9273 std::vector< CRFSuite::Item > *arg1 = (std::vector< CRFSuite::Item > *) 0 ;
9274 void *argp1 = 0 ;
9275 int res1 = 0 ;
9276 PyObject * obj0 = 0 ;
9277 std::vector< CRFSuite::Item >::reverse_iterator result;
9278
9279 if (!PyArg_ParseTuple(args,(char *)"O:ItemSequence_rbegin",&obj0)) SWIG_fail;
9280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CRFSuite__Item_std__allocatorT_CRFSuite__Item_t_t, 0 | 0 );
9281 if (!SWIG_IsOK(res1)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ItemSequence_rbegin" "', argument " "1"" of type '" "std::vector< CRFSuite::Item > *""'");
9283 }
9284 arg1 = reinterpret_cast< std::vector< CRFSuite::Item > * >(argp1);
9285 result = (arg1)->rbegin();
9286 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CRFSuite::Item >::reverse_iterator & >(result)),
9287 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
9288 return resultobj;
9289fail:
9290 return NULL;
9291}
9292
9293
9294SWIGINTERN PyObject *_wrap_ItemSequence_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {

Callers

nothing calls this directly

Calls 2

make_output_iteratorFunction · 0.85
rbeginMethod · 0.45

Tested by

no test coverage detected