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

Function _wrap_SwigPyIterator_decr

swig/python/export_wrap.cpp:5698–5739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5696
5697
5698SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) {
5699 int argc;
5700 PyObject *argv[3];
5701 int ii;
5702
5703 if (!PyTuple_Check(args)) SWIG_fail;
5704 argc = args ? (int)PyObject_Length(args) : 0;
5705 for (ii = 0; (ii < 2) && (ii < argc); ii++) {
5706 argv[ii] = PyTuple_GET_ITEM(args,ii);
5707 }
5708 if (argc == 1) {
5709 int _v;
5710 void *vptr = 0;
5711 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
5712 _v = SWIG_CheckState(res);
5713 if (_v) {
5714 return _wrap_SwigPyIterator_decr__SWIG_1(self, args);
5715 }
5716 }
5717 if (argc == 2) {
5718 int _v;
5719 void *vptr = 0;
5720 int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0);
5721 _v = SWIG_CheckState(res);
5722 if (_v) {
5723 {
5724 int res = SWIG_AsVal_size_t(argv[1], NULL);
5725 _v = SWIG_CheckState(res);
5726 }
5727 if (_v) {
5728 return _wrap_SwigPyIterator_decr__SWIG_0(self, args);
5729 }
5730 }
5731 }
5732
5733fail:
5734 SWIG_SetErrorMsg(PyExc_NotImplementedError,"Wrong number or type of arguments for overloaded function 'SwigPyIterator_decr'.\n"
5735 " Possible C/C++ prototypes are:\n"
5736 " swig::SwigPyIterator::decr(size_t)\n"
5737 " swig::SwigPyIterator::decr()\n");
5738 return 0;
5739}
5740
5741
5742SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {

Callers

nothing calls this directly

Calls 4

SWIG_CheckStateFunction · 0.85
SWIG_AsVal_size_tFunction · 0.85

Tested by

no test coverage detected