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

Function _wrap_Item_rend

swig/python/export_wrap.cpp:7392–7412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7390
7391
7392SWIGINTERN PyObject *_wrap_Item_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7393 PyObject *resultobj = 0;
7394 std::vector< CRFSuite::Attribute > *arg1 = (std::vector< CRFSuite::Attribute > *) 0 ;
7395 void *argp1 = 0 ;
7396 int res1 = 0 ;
7397 PyObject * obj0 = 0 ;
7398 std::vector< CRFSuite::Attribute >::reverse_iterator result;
7399
7400 if (!PyArg_ParseTuple(args,(char *)"O:Item_rend",&obj0)) SWIG_fail;
7401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_CRFSuite__Attribute_std__allocatorT_CRFSuite__Attribute_t_t, 0 | 0 );
7402 if (!SWIG_IsOK(res1)) {
7403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Item_rend" "', argument " "1"" of type '" "std::vector< CRFSuite::Attribute > *""'");
7404 }
7405 arg1 = reinterpret_cast< std::vector< CRFSuite::Attribute > * >(argp1);
7406 result = (arg1)->rend();
7407 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< CRFSuite::Attribute >::reverse_iterator & >(result)),
7408 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
7409 return resultobj;
7410fail:
7411 return NULL;
7412}
7413
7414
7415SWIGINTERN PyObject *_wrap_new_Item__SWIG_2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {

Callers

nothing calls this directly

Calls 2

make_output_iteratorFunction · 0.85
rendMethod · 0.45

Tested by

no test coverage detected