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

Function _wrap_StringList_begin

swig/python/export_wrap.cpp:11151–11171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11149
11150
11151SWIGINTERN PyObject *_wrap_StringList_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11152 PyObject *resultobj = 0;
11153 std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ;
11154 void *argp1 = 0 ;
11155 int res1 = 0 ;
11156 PyObject * obj0 = 0 ;
11157 std::vector< std::string >::iterator result;
11158
11159 if (!PyArg_ParseTuple(args,(char *)"O:StringList_begin",&obj0)) SWIG_fail;
11160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 );
11161 if (!SWIG_IsOK(res1)) {
11162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StringList_begin" "', argument " "1"" of type '" "std::vector< std::string > *""'");
11163 }
11164 arg1 = reinterpret_cast< std::vector< std::string > * >(argp1);
11165 result = (arg1)->begin();
11166 resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)),
11167 swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN);
11168 return resultobj;
11169fail:
11170 return NULL;
11171}
11172
11173
11174SWIGINTERN PyObject *_wrap_StringList_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