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

Function _wrap_StringList___setitem__

swig/python/export_wrap.cpp:10883–10949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10881
10882
10883SWIGINTERN PyObject *_wrap_StringList___setitem__(PyObject *self, PyObject *args) {
10884 int argc;
10885 PyObject *argv[4];
10886 int ii;
10887
10888 if (!PyTuple_Check(args)) SWIG_fail;
10889 argc = args ? (int)PyObject_Length(args) : 0;
10890 for (ii = 0; (ii < 3) && (ii < argc); ii++) {
10891 argv[ii] = PyTuple_GET_ITEM(args,ii);
10892 }
10893 if (argc == 2) {
10894 int _v;
10895 int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
10896 _v = SWIG_CheckState(res);
10897 if (_v) {
10898 {
10899 _v = PySlice_Check(argv[1]);
10900 }
10901 if (_v) {
10902 return _wrap_StringList___setitem____SWIG_1(self, args);
10903 }
10904 }
10905 }
10906 if (argc == 3) {
10907 int _v;
10908 int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
10909 _v = SWIG_CheckState(res);
10910 if (_v) {
10911 {
10912 _v = PySlice_Check(argv[1]);
10913 }
10914 if (_v) {
10915 int res = swig::asptr(argv[2], (std::vector<std::string,std::allocator< std::string > >**)(0));
10916 _v = SWIG_CheckState(res);
10917 if (_v) {
10918 return _wrap_StringList___setitem____SWIG_0(self, args);
10919 }
10920 }
10921 }
10922 }
10923 if (argc == 3) {
10924 int _v;
10925 int res = swig::asptr(argv[0], (std::vector<std::string,std::allocator< std::string > >**)(0));
10926 _v = SWIG_CheckState(res);
10927 if (_v) {
10928 {
10929 int res = SWIG_AsVal_ptrdiff_t(argv[1], NULL);
10930 _v = SWIG_CheckState(res);
10931 }
10932 if (_v) {
10933 int res = SWIG_AsPtr_std_string(argv[2], (std::string**)(0));
10934 _v = SWIG_CheckState(res);
10935 if (_v) {
10936 return _wrap_StringList___setitem____SWIG_2(self, args);
10937 }
10938 }
10939 }
10940 }

Callers

nothing calls this directly

Calls 7

asptrFunction · 0.85
SWIG_CheckStateFunction · 0.85
SWIG_AsVal_ptrdiff_tFunction · 0.85
SWIG_AsPtr_std_stringFunction · 0.85

Tested by

no test coverage detected