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

Function _wrap_SwigPyIterator___sub__

swig/python/export_wrap.cpp:6247–6289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6245
6246
6247SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args) {
6248 int argc;
6249 PyObject *argv[3];
6250 int ii;
6251
6252 if (!PyTuple_Check(args)) SWIG_fail;
6253 argc = args ? (int)PyObject_Length(args) : 0;
6254 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
6255 argv[ii] = PyTuple_GET_ITEM(args,ii);
6256 }
6257 if (argc == 2) {
6258 int _v;
6259 void *vptr = 0;
6260 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
6261 _v = SWIG_CheckState(res);
6262 if (_v) {
6263 int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_swig__SwigPyIterator, 0);
6264 _v = SWIG_CheckState(res);
6265 if (_v) {
6266 return _wrap_SwigPyIterator___sub____SWIG_1(self, args);
6267 }
6268 }
6269 }
6270 if (argc == 2) {
6271 int _v;
6272 void *vptr = 0;
6273 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
6274 _v = SWIG_CheckState(res);
6275 if (_v) {
6276 {
6277 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
6278 _v = SWIG_CheckState(res);
6279 }
6280 if (_v) {
6281 return _wrap_SwigPyIterator___sub____SWIG_0(self, args);
6282 }
6283 }
6284 }
6285
6286fail:
6287 Py_INCREF(Py_NotImplemented);
6288 return Py_NotImplemented;
6289}
6290
6291
6292SWIGINTERN PyObject *SwigPyIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {

Callers

nothing calls this directly

Tested by

no test coverage detected