diff --git a/lib/kytea/mykytea_wrap.cxx b/lib/kytea/mykytea_wrap.cxx index f83078c..72ee646 100644 --- a/lib/kytea/mykytea_wrap.cxx +++ b/lib/kytea/mykytea_wrap.cxx @@ -1,44 +1,16 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.1 + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.1.1 * - * This file is not intended to be easily readable and contains a number of - * coding conventions designed to improve portability and efficiency. Do not make - * changes to this file unless you know what you are doing--modify the SWIG - * interface file instead. + * Do not make changes to this file unless you know what you are doing - modify + * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ -#ifndef SWIGPYTHON +#define SWIG_VERSION 0x040101 #define SWIGPYTHON -#endif - #define SWIG_PYTHON_DIRECTOR_NO_VTABLE - -#ifdef __cplusplus -/* SwigValueWrapper is described in swig.swg */ -template class SwigValueWrapper { - struct SwigMovePointer { - T *ptr; - SwigMovePointer(T *p) : ptr(p) { } - ~SwigMovePointer() { delete ptr; } - SwigMovePointer& operator=(SwigMovePointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } - } pointer; - SwigValueWrapper& operator=(const SwigValueWrapper& rhs); - SwigValueWrapper(const SwigValueWrapper& rhs); -public: - SwigValueWrapper() : pointer(0) { } - SwigValueWrapper& operator=(const T& t) { SwigMovePointer tmp(new T(t)); pointer = tmp; return *this; } - operator T&() const { return *pointer.ptr; } - T *operator&() { return pointer.ptr; } -}; - -template T SwigValueInit() { - return T(); -} -#endif - /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable * declarations/attributes, and other compiler dependent labels. @@ -169,8 +141,26 @@ template T SwigValueInit() { # include #endif +#if !defined(PY_SSIZE_T_CLEAN) && !defined(SWIG_NO_PY_SSIZE_T_CLEAN) +#define PY_SSIZE_T_CLEAN +#endif + +#if __GNUC__ >= 7 +#pragma GCC diagnostic push +#if defined(__cplusplus) && __cplusplus >=201703L +#pragma GCC diagnostic ignored "-Wregister" /* For python-2.7 headers that use register */ +#endif +#endif + #if defined(_DEBUG) && defined(SWIG_PYTHON_INTERPRETER_NO_DEBUG) /* Use debug wrappers with the Python release dll */ + +#if defined(_MSC_VER) && _MSC_VER >= 1929 +/* Workaround compilation errors when redefining _DEBUG in MSVC 2019 version 16.10 and later + * See https://github.com/swig/swig/issues/2090 */ +# include +#endif + # undef _DEBUG # include # define _DEBUG 1 @@ -178,6 +168,10 @@ template T SwigValueInit() { # include #endif +#if __GNUC__ >= 7 +#pragma GCC diagnostic pop +#endif + /* ----------------------------------------------------------------------------- * swigrun.swg * @@ -224,6 +218,8 @@ template T SwigValueInit() { #define SWIG_POINTER_DISOWN 0x1 #define SWIG_CAST_NEW_MEMORY 0x2 #define SWIG_POINTER_NO_NULL 0x4 +#define SWIG_POINTER_CLEAR 0x8 +#define SWIG_POINTER_RELEASE (SWIG_POINTER_CLEAR | SWIG_POINTER_DISOWN) /* Flags for new pointer objects */ #define SWIG_POINTER_OWN 0x1 @@ -295,7 +291,7 @@ template T SwigValueInit() { SWIG errors code. Finally, if the SWIG_CASTRANK_MODE is enabled, the result code - allows to return the 'cast rank', for example, if you have this + allows returning the 'cast rank', for example, if you have this int food(double) int fooi(int); @@ -309,7 +305,13 @@ template T SwigValueInit() { */ #define SWIG_OK (0) +/* Runtime errors are < 0 */ #define SWIG_ERROR (-1) +/* Errors in range -1 to -99 are in swigerrors.swg (errors for all languages including those not using the runtime) */ +/* Errors in range -100 to -199 are language specific errors defined in *errors.swg */ +/* Errors < -200 are generic runtime specific errors */ +#define SWIG_ERROR_RELEASE_NOT_OWNED (-200) + #define SWIG_IsOK(r) (r >= 0) #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) @@ -324,7 +326,7 @@ template T SwigValueInit() { #define SWIG_OLDOBJ (SWIG_OK) #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) -/* Check, add and del mask methods */ +/* Check, add and del object mask methods */ #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) @@ -470,7 +472,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) { Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison */ SWIGRUNTIME swig_cast_info * -SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) { +SWIG_TypeCheckStruct(const swig_type_info *from, swig_type_info *ty) { if (ty) { swig_cast_info *iter = ty->cast; while (iter) { @@ -530,9 +532,9 @@ SWIG_TypeName(const swig_type_info *ty) { SWIGRUNTIME const char * SWIG_TypePrettyName(const swig_type_info *type) { /* The "str" field contains the equivalent pretty names of the - type, separated by vertical-bar characters. We choose - to print the last name, as it is often (?) the most - specific. */ + type, separated by vertical-bar characters. Choose the last + name. It should be the most specific; a fully resolved name + but not necessarily with default template parameters expanded. */ if (!type) return NULL; if (type->str != NULL) { const char *last_name = type->str; @@ -752,7 +754,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/* Errors in SWIG */ +/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */ #define SWIG_UnknownError -1 #define SWIG_IOError -2 #define SWIG_RuntimeError -3 @@ -768,7 +770,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #define SWIG_NullReferenceError -13 - /* Compatibility macros for Python 3 */ #if PY_VERSION_HEX >= 0x03000000 @@ -784,7 +785,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #define PyString_Size(str) PyBytes_Size(str) #define PyString_InternFromString(key) PyUnicode_InternFromString(key) #define Py_TPFLAGS_HAVE_CLASS Py_TPFLAGS_BASETYPE -#define PyString_AS_STRING(x) PyUnicode_AS_STRING(x) #define _PyLong_FromSsize_t(x) PyLong_FromSsize_t(x) #endif @@ -802,34 +802,19 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #endif -/* Warning: This function will allocate a new string in Python 3, - * so please call SWIG_Python_str_DelForPy3(x) to free the space. - */ SWIGINTERN char* SWIG_Python_str_AsChar(PyObject *str) { -#if PY_VERSION_HEX >= 0x03000000 - char *newstr = 0; - str = PyUnicode_AsUTF8String(str); - if (str) { - char *cstr; - Py_ssize_t len; - PyBytes_AsStringAndSize(str, &cstr, &len); - newstr = (char *) malloc(len+1); - memcpy(newstr, cstr, len+1); - Py_XDECREF(str); - } - return newstr; +#if PY_VERSION_HEX >= 0x03030000 + return (char *)PyUnicode_AsUTF8(str); #else return PyString_AsString(str); #endif } -#if PY_VERSION_HEX >= 0x03000000 -# define SWIG_Python_str_DelForPy3(x) free( (void*) (x) ) -#else -# define SWIG_Python_str_DelForPy3(x) -#endif +/* Was useful for Python 3.0.x-3.2.x - now provided only for compatibility + * with any uses in user interface files. */ +#define SWIG_Python_str_DelForPy3(x) SWIGINTERN PyObject* @@ -846,10 +831,14 @@ SWIG_Python_str_FromChar(const char *c) # define PyObject_DEL PyObject_Del #endif -// SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user -// interface files check for it. +/* SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user interface files check for it. */ # define SWIGPY_USE_CAPSULE -# define SWIGPY_CAPSULE_NAME ("swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME) +#ifdef SWIGPYTHON_BUILTIN +# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule_builtin" SWIG_TYPE_TABLE_NAME +#else +# define SWIGPY_CAPSULE_ATTR_NAME "type_pointer_capsule" SWIG_TYPE_TABLE_NAME +#endif +# define SWIGPY_CAPSULE_NAME ("swig_runtime_data" SWIG_RUNTIME_VERSION "." SWIGPY_CAPSULE_ATTR_NAME) #if PY_VERSION_HEX < 0x03020000 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type) @@ -923,7 +912,6 @@ SWIG_Python_AddErrorMsg(const char* mesg) PyErr_Format(type, "%s %s", tmp, mesg); else PyErr_Format(type, "%s", mesg); - SWIG_Python_str_DelForPy3(tmp); Py_DECREF(old_str); Py_DECREF(value); } else { @@ -954,8 +942,12 @@ SWIG_Python_RaiseOrModifyTypeError(const char *message) #else newvalue = PyString_FromFormat("%s\nAdditional information:\n%s", PyString_AsString(value), message); #endif - Py_XDECREF(value); - PyErr_Restore(type, newvalue, traceback); + if (newvalue) { + Py_XDECREF(value); + PyErr_Restore(type, newvalue, traceback); + } else { + PyErr_Restore(type, value, traceback); + } } else { /* Raise TypeError using given message */ PyErr_SetString(PyExc_TypeError, message); @@ -972,8 +964,12 @@ SWIG_Python_RaiseOrModifyTypeError(const char *message) # define SWIG_PYTHON_USE_GIL # endif # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ -# ifndef SWIG_PYTHON_INITIALIZE_THREADS -# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() +# if !defined(SWIG_PYTHON_INITIALIZE_THREADS) +# if PY_VERSION_HEX < 0x03070000 +# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() +# else +# define SWIG_PYTHON_INITIALIZE_THREADS +# endif # endif # ifdef __cplusplus /* C++ code */ class SWIG_Python_Thread_Block { @@ -1071,8 +1067,8 @@ typedef struct swig_const_info { # error "This version of SWIG only supports Python >= 2.7" #endif -#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03020000 -# error "This version of SWIG only supports Python 3 >= 3.2" +#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03030000 +# error "This version of SWIG only supports Python 3 >= 3.3" #endif /* Common SWIG API */ @@ -1187,7 +1183,12 @@ SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { if (!PyList_Check(result)) { PyObject *o2 = result; result = PyList_New(1); - PyList_SetItem(result, 0, o2); + if (result) { + PyList_SET_ITEM(result, 0, o2); + } else { + Py_DECREF(obj); + return o2; + } } PyList_Append(result,obj); Py_DECREF(obj); @@ -1243,6 +1244,19 @@ SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssi } } +SWIGINTERN int +SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name) { + int no_kwargs = 1; + if (kwargs) { + assert(PyDict_Check(kwargs)); + if (PyDict_Size(kwargs) > 0) { + PyErr_Format(PyExc_TypeError, "%s() does not take keyword arguments", name); + no_kwargs = 0; + } + } + return no_kwargs; +} + /* A functor is a function object with one single object argument */ #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); @@ -1256,6 +1270,238 @@ SWIG_Python_UnpackTuple(PyObject *args, const char *name, Py_ssize_t min, Py_ssi #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var #endif +#ifdef __cplusplus +extern "C" { +#endif + +/* Python-specific SWIG API */ +#define SWIG_newvarlink() SWIG_Python_newvarlink() +#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) +#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) + +/* ----------------------------------------------------------------------------- + * global variable support code. + * ----------------------------------------------------------------------------- */ + +typedef struct swig_globalvar { + char *name; /* Name of global variable */ + PyObject *(*get_attr)(void); /* Return the current value */ + int (*set_attr)(PyObject *); /* Set the value */ + struct swig_globalvar *next; +} swig_globalvar; + +typedef struct swig_varlinkobject { + PyObject_HEAD + swig_globalvar *vars; +} swig_varlinkobject; + +SWIGINTERN PyObject * +swig_varlink_repr(PyObject *SWIGUNUSEDPARM(v)) { +#if PY_VERSION_HEX >= 0x03000000 + return PyUnicode_InternFromString(""); +#else + return PyString_FromString(""); +#endif +} + +SWIGINTERN PyObject * +swig_varlink_str(PyObject *o) { + swig_varlinkobject *v = (swig_varlinkobject *) o; +#if PY_VERSION_HEX >= 0x03000000 + PyObject *str = PyUnicode_InternFromString("("); + PyObject *tail; + PyObject *joined; + swig_globalvar *var; + for (var = v->vars; var; var=var->next) { + tail = PyUnicode_FromString(var->name); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; + if (var->next) { + tail = PyUnicode_InternFromString(", "); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; + } + } + tail = PyUnicode_InternFromString(")"); + joined = PyUnicode_Concat(str, tail); + Py_DecRef(str); + Py_DecRef(tail); + str = joined; +#else + PyObject *str = PyString_FromString("("); + swig_globalvar *var; + for (var = v->vars; var; var=var->next) { + PyString_ConcatAndDel(&str,PyString_FromString(var->name)); + if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); + } + PyString_ConcatAndDel(&str,PyString_FromString(")")); +#endif + return str; +} + +SWIGINTERN void +swig_varlink_dealloc(PyObject *o) { + swig_varlinkobject *v = (swig_varlinkobject *) o; + swig_globalvar *var = v->vars; + while (var) { + swig_globalvar *n = var->next; + free(var->name); + free(var); + var = n; + } +} + +SWIGINTERN PyObject * +swig_varlink_getattr(PyObject *o, char *n) { + swig_varlinkobject *v = (swig_varlinkobject *) o; + PyObject *res = NULL; + swig_globalvar *var = v->vars; + while (var) { + if (strcmp(var->name,n) == 0) { + res = (*var->get_attr)(); + break; + } + var = var->next; + } + if (res == NULL && !PyErr_Occurred()) { + PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); + } + return res; +} + +SWIGINTERN int +swig_varlink_setattr(PyObject *o, char *n, PyObject *p) { + swig_varlinkobject *v = (swig_varlinkobject *) o; + int res = 1; + swig_globalvar *var = v->vars; + while (var) { + if (strcmp(var->name,n) == 0) { + res = (*var->set_attr)(p); + break; + } + var = var->next; + } + if (res == 1 && !PyErr_Occurred()) { + PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); + } + return res; +} + +SWIGINTERN PyTypeObject* +swig_varlink_type(void) { + static char varlink__doc__[] = "Swig var link object"; + static PyTypeObject varlink_type; + static int type_init = 0; + if (!type_init) { + const PyTypeObject tmp = { +#if PY_VERSION_HEX >= 0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ +#endif + "swigvarlink", /* tp_name */ + sizeof(swig_varlinkobject), /* tp_basicsize */ + 0, /* tp_itemsize */ + (destructor) swig_varlink_dealloc, /* tp_dealloc */ +#if PY_VERSION_HEX < 0x030800b4 + (printfunc)0, /*tp_print*/ +#else + (Py_ssize_t)0, /*tp_vectorcall_offset*/ +#endif + (getattrfunc) swig_varlink_getattr, /* tp_getattr */ + (setattrfunc) swig_varlink_setattr, /* tp_setattr */ + 0, /* tp_compare */ + (reprfunc) swig_varlink_repr, /* tp_repr */ + 0, /* tp_as_number */ + 0, /* tp_as_sequence */ + 0, /* tp_as_mapping */ + 0, /* tp_hash */ + 0, /* tp_call */ + (reprfunc) swig_varlink_str, /* tp_str */ + 0, /* tp_getattro */ + 0, /* tp_setattro */ + 0, /* tp_as_buffer */ + 0, /* tp_flags */ + varlink__doc__, /* tp_doc */ + 0, /* tp_traverse */ + 0, /* tp_clear */ + 0, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ + 0, /* tp_del */ + 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + 0, /* tp_allocs */ + 0, /* tp_frees */ + 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0 /* tp_next */ +#endif + }; + varlink_type = tmp; + type_init = 1; + if (PyType_Ready(&varlink_type) < 0) + return NULL; + } + return &varlink_type; +} + +/* Create a variable linking object for use later */ +SWIGINTERN PyObject * +SWIG_Python_newvarlink(void) { + swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); + if (result) { + result->vars = 0; + } + return ((PyObject*) result); +} + +SWIGINTERN void +SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { + swig_varlinkobject *v = (swig_varlinkobject *) p; + swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); + if (gv) { + size_t size = strlen(name)+1; + gv->name = (char *)malloc(size); + if (gv->name) { + memcpy(gv->name, name, size); + gv->get_attr = get_attr; + gv->set_attr = set_attr; + gv->next = v->vars; + } + } + v->vars = gv; +} + + +static PyObject *Swig_Globals_global = NULL; + +SWIGINTERN PyObject * +SWIG_globals(void) { + if (Swig_Globals_global == NULL) { + Swig_Globals_global = SWIG_newvarlink(); + } + return Swig_Globals_global; +} + +#ifdef __cplusplus +} +#endif + /* ----------------------------------------------------------------------------- * Pointer declarations * ----------------------------------------------------------------------------- */ @@ -1326,18 +1572,25 @@ SwigPyClientData_New(PyObject* obj) /* the newraw method and newargs arguments used to create a new raw instance */ if (PyClass_Check(obj)) { data->newraw = 0; - data->newargs = obj; Py_INCREF(obj); + data->newargs = obj; } else { data->newraw = PyObject_GetAttrString(data->klass, "__new__"); if (data->newraw) { - Py_INCREF(data->newraw); - data->newargs = PyTuple_New(1); - PyTuple_SetItem(data->newargs, 0, obj); + data->newargs = PyTuple_New(1); + if (data->newargs) { + Py_INCREF(obj); + PyTuple_SET_ITEM(data->newargs, 0, obj); + } else { + Py_DECREF(data->newraw); + Py_DECREF(data->klass); + free(data); + return 0; + } } else { - data->newargs = obj; + Py_INCREF(obj); + data->newargs = obj; } - Py_INCREF(data->newargs); } /* the destroy method, aka as the C++ delete method */ data->destroy = PyObject_GetAttrString(data->klass, "__swig_destroy__"); @@ -1346,10 +1599,7 @@ SwigPyClientData_New(PyObject* obj) data->destroy = 0; } if (data->destroy) { - int flags; - Py_INCREF(data->destroy); - flags = PyCFunction_GET_FLAGS(data->destroy); - data->delargs = !(flags & (METH_O)); + data->delargs = !(PyCFunction_GET_FLAGS(data->destroy) & METH_O); } else { data->delargs = 0; } @@ -1360,10 +1610,13 @@ SwigPyClientData_New(PyObject* obj) } SWIGRUNTIME void -SwigPyClientData_Del(SwigPyClientData *data) { +SwigPyClientData_Del(SwigPyClientData *data) +{ + Py_XDECREF(data->klass); Py_XDECREF(data->newraw); Py_XDECREF(data->newargs); Py_XDECREF(data->destroy); + free(data); } /* =============== SwigPyObject =====================*/ @@ -1390,7 +1643,7 @@ SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args)) if (!sobj->dict) sobj->dict = PyDict_New(); - Py_INCREF(sobj->dict); + Py_XINCREF(sobj->dict); return sobj->dict; } @@ -1408,18 +1661,21 @@ SwigPyObject_format(const char* fmt, SwigPyObject *v) PyObject *res = NULL; PyObject *args = PyTuple_New(1); if (args) { - if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) { - PyObject *ofmt = SWIG_Python_str_FromChar(fmt); + PyObject *val = SwigPyObject_long(v); + if (val) { + PyObject *ofmt; + PyTuple_SET_ITEM(args, 0, val); + ofmt = SWIG_Python_str_FromChar(fmt); if (ofmt) { #if PY_VERSION_HEX >= 0x03000000 - res = PyUnicode_Format(ofmt,args); + res = PyUnicode_Format(ofmt,args); #else - res = PyString_Format(ofmt,args); + res = PyString_Format(ofmt,args); #endif - Py_DECREF(ofmt); + Py_DECREF(ofmt); } - Py_DECREF(args); } + Py_DECREF(args); } return res; } @@ -1441,18 +1697,23 @@ SwigPyObject_repr(SwigPyObject *v) { const char *name = SWIG_TypePrettyName(v->ty); PyObject *repr = SWIG_Python_str_FromFormat("", (name ? name : "unknown"), (void *)v); - if (v->next) { + if (repr && v->next) { PyObject *nrep = SwigPyObject_repr((SwigPyObject *)v->next); + if (nrep) { # if PY_VERSION_HEX >= 0x03000000 - PyObject *joined = PyUnicode_Concat(repr, nrep); - Py_DecRef(repr); - Py_DecRef(nrep); - repr = joined; + PyObject *joined = PyUnicode_Concat(repr, nrep); + Py_DecRef(repr); + Py_DecRef(nrep); + repr = joined; # else - PyString_ConcatAndDel(&repr,nrep); + PyString_ConcatAndDel(&repr,nrep); # endif + } else { + Py_DecRef(repr); + repr = NULL; + } } - return repr; + return repr; } /* We need a version taking two PyObject* parameters so it's a valid @@ -1522,6 +1783,8 @@ SwigPyObject_Check(PyObject *op) { SWIGRUNTIME PyObject * SwigPyObject_New(void *ptr, swig_type_info *ty, int own); +static PyObject* Swig_Capsule_global = NULL; + SWIGRUNTIME void SwigPyObject_dealloc(PyObject *v) { @@ -1548,8 +1811,12 @@ SwigPyObject_dealloc(PyObject *v) if (data->delargs) { /* we need to create a temporary object to carry the destroy operation */ PyObject *tmp = SwigPyObject_New(sobj->ptr, ty, 0); - res = SWIG_Python_CallFunctor(destroy, tmp); - Py_DECREF(tmp); + if (tmp) { + res = SWIG_Python_CallFunctor(destroy, tmp); + } else { + res = 0; + } + Py_XDECREF(tmp); } else { PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); PyObject *mself = PyCFunction_GET_SELF(destroy); @@ -1568,8 +1835,12 @@ SwigPyObject_dealloc(PyObject *v) printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown")); } #endif - } + Py_XDECREF(Swig_Capsule_global); + } Py_XDECREF(next); +#ifdef SWIGPYTHON_BUILTIN + Py_XDECREF(sobj->dict); +#endif PyObject_DEL(v); } @@ -1581,6 +1852,7 @@ SwigPyObject_append(PyObject* v, PyObject* next) PyErr_SetString(PyExc_TypeError, "Attempt to append a non SwigPyObject"); return NULL; } + ((SwigPyObject *)next)->next = sobj->next; sobj->next = next; Py_INCREF(next); return SWIG_Py_Void(); @@ -1625,9 +1897,9 @@ SwigPyObject_own(PyObject *v, PyObject *args) PyObject *obj = PyBool_FromLong(sobj->own); if (val) { if (PyObject_IsTrue(val)) { - SwigPyObject_acquire(v,args); + Py_DECREF(SwigPyObject_acquire(v,args)); } else { - SwigPyObject_disown(v,args); + Py_DECREF(SwigPyObject_disown(v,args)); } } return obj; @@ -1707,7 +1979,11 @@ SwigPyObject_TypeOnce(void) { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyObject_dealloc, /* tp_dealloc */ - 0, /* tp_print */ +#if PY_VERSION_HEX < 0x030800b4 + (printfunc)0, /*tp_print*/ +#else + (Py_ssize_t)0, /*tp_vectorcall_offset*/ +#endif (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -1756,6 +2032,12 @@ SwigPyObject_TypeOnce(void) { #if PY_VERSION_HEX >= 0x03040000 0, /* tp_finalize */ #endif +#if PY_VERSION_HEX >= 0x03080000 + 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif #ifdef COUNT_ALLOCS 0, /* tp_allocs */ 0, /* tp_frees */ @@ -1766,7 +2048,7 @@ SwigPyObject_TypeOnce(void) { }; swigpyobject_type = tmp; type_init = 1; - if (PyType_Ready(&swigpyobject_type) < 0) + if (PyType_Ready(&swigpyobject_type) != 0) return NULL; } return &swigpyobject_type; @@ -1781,6 +2063,15 @@ SwigPyObject_New(void *ptr, swig_type_info *ty, int own) sobj->ty = ty; sobj->own = own; sobj->next = 0; +#ifdef SWIGPYTHON_BUILTIN + sobj->dict = 0; +#endif + if (own == SWIG_POINTER_OWN) { + /* Obtain a reference to the Python capsule wrapping the module information, so that the + * module information is correctly destroyed after all SWIG python objects have been freed + * by the GC (and corresponding destructors invoked) */ + Py_XINCREF(Swig_Capsule_global); + } } return (PyObject *)sobj; } @@ -1868,7 +2159,11 @@ SwigPyPacked_TypeOnce(void) { sizeof(SwigPyPacked), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyPacked_dealloc, /* tp_dealloc */ - 0, /* tp_print */ +#if PY_VERSION_HEX < 0x030800b4 + (printfunc)0, /*tp_print*/ +#else + (Py_ssize_t)0, /*tp_vectorcall_offset*/ +#endif (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ #if PY_VERSION_HEX>=0x03000000 @@ -1917,6 +2212,12 @@ SwigPyPacked_TypeOnce(void) { #if PY_VERSION_HEX >= 0x03040000 0, /* tp_finalize */ #endif +#if PY_VERSION_HEX >= 0x03080000 + 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif #ifdef COUNT_ALLOCS 0, /* tp_allocs */ 0, /* tp_frees */ @@ -1927,7 +2228,7 @@ SwigPyPacked_TypeOnce(void) { }; swigpypacked_type = tmp; type_init = 1; - if (PyType_Ready(&swigpypacked_type) < 0) + if (PyType_Ready(&swigpypacked_type) != 0) return NULL; } return &swigpypacked_type; @@ -2117,12 +2418,19 @@ SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int } } if (sobj) { - if (own) - *own = *own | sobj->own; - if (flags & SWIG_POINTER_DISOWN) { - sobj->own = 0; + if (((flags & SWIG_POINTER_RELEASE) == SWIG_POINTER_RELEASE) && !sobj->own) { + res = SWIG_ERROR_RELEASE_NOT_OWNED; + } else { + if (own) + *own = *own | sobj->own; + if (flags & SWIG_POINTER_DISOWN) { + sobj->own = 0; + } + if (flags & SWIG_POINTER_CLEAR) { + sobj->ptr = 0; + } + res = SWIG_OK; } - res = SWIG_OK; } else { if (implicit_conv) { SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0; @@ -2235,16 +2543,23 @@ SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) PyObject **dictptr = _PyObject_GetDictPtr(inst); if (dictptr != NULL) { - PyObject *dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - PyDict_SetItem(dict, SWIG_This(), swig_this); - } + PyObject *dict = *dictptr; + if (dict == NULL) { + dict = PyDict_New(); + *dictptr = dict; + } + if (dict) { + PyDict_SetItem(dict, SWIG_This(), swig_this); + } else{ + Py_DECREF(inst); + inst = 0; + } } #else - PyObject *key = SWIG_This(); - PyObject_SetAttr(inst, key, swig_this); + if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) { + Py_DECREF(inst); + inst = 0; + } #endif } } else { @@ -2256,8 +2571,12 @@ SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) inst = ((PyTypeObject *)data->newargs)->tp_new((PyTypeObject *)data->newargs, empty_args, empty_kwargs); Py_DECREF(empty_kwargs); if (inst) { - PyObject_SetAttr(inst, SWIG_This(), swig_this); - Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; + if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) { + Py_DECREF(inst); + inst = 0; + } else { + PyType_Modified(Py_TYPE(inst)); + } } } Py_DECREF(empty_args); @@ -2274,25 +2593,25 @@ SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) return inst; } -SWIGRUNTIME void +SWIGRUNTIME int SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) { - PyObject *dict; #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) - PyObject **dictptr = _PyObject_GetDictPtr(inst); - if (dictptr != NULL) { - dict = *dictptr; - if (dict == NULL) { - dict = PyDict_New(); - *dictptr = dict; - } - PyDict_SetItem(dict, SWIG_This(), swig_this); - return; - } + PyObject **dictptr = _PyObject_GetDictPtr(inst); + if (dictptr != NULL) { + PyObject *dict = *dictptr; + if (dict == NULL) { + dict = PyDict_New(); + *dictptr = dict; + } + if (dict) { + return PyDict_SetItem(dict, SWIG_This(), swig_this); + } else{ + return -1; + } + } #endif - dict = PyObject_GetAttrString(inst, "__dict__"); - PyDict_SetItem(dict, SWIG_This(), swig_this); - Py_DECREF(dict); + return PyObject_SetAttr(inst, SWIG_This(), swig_this); } @@ -2304,9 +2623,10 @@ SWIG_Python_InitShadowInstance(PyObject *args) { } else { SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]); if (sthis) { - SwigPyObject_append((PyObject*) sthis, obj[1]); + Py_DECREF(SwigPyObject_append((PyObject*) sthis, obj[1])); } else { - SWIG_Python_SetSwigThis(obj[0], obj[1]); + if (SWIG_Python_SetSwigThis(obj[0], obj[1]) != 0) + return NULL; } return SWIG_Py_Void(); } @@ -2342,7 +2662,9 @@ SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int f } else { newobj = PyObject_New(SwigPyObject, clientdata->pytype); #ifdef SWIGPYTHON_BUILTIN - newobj->dict = 0; + if (newobj) { + newobj->dict = 0; + } #endif } if (newobj) { @@ -2381,39 +2703,61 @@ SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { void *SWIG_ReturnGlobalTypeList(void *); #endif +static PyObject *Swig_TypeCache_global = NULL; + +/* The python cached type query */ +SWIGRUNTIME PyObject * +SWIG_Python_TypeCache(void) { + if (Swig_TypeCache_global == NULL) { + Swig_TypeCache_global = PyDict_New(); + } + return Swig_TypeCache_global; +} + SWIGRUNTIME swig_module_info * SWIG_Python_GetModule(void *SWIGUNUSEDPARM(clientdata)) { +#ifdef SWIG_LINK_RUNTIME static void *type_pointer = (void *)0; /* first check if module already created */ if (!type_pointer) { -#ifdef SWIG_LINK_RUNTIME type_pointer = SWIG_ReturnGlobalTypeList((void *)0); + } #else - type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0); - if (PyErr_Occurred()) { - PyErr_Clear(); - type_pointer = (void *)0; - } -#endif + void *type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0); + if (PyErr_Occurred()) { + PyErr_Clear(); + type_pointer = (void *)0; } +#endif return (swig_module_info *) type_pointer; } + +static int interpreter_counter = 0; // how many (sub-)interpreters are using swig_module's types + SWIGRUNTIME void SWIG_Python_DestroyModule(PyObject *obj) { swig_module_info *swig_module = (swig_module_info *) PyCapsule_GetPointer(obj, SWIGPY_CAPSULE_NAME); swig_type_info **types = swig_module->types; size_t i; + if (--interpreter_counter != 0) // another sub-interpreter may still be using the swig_module's types + return; for (i =0; i < swig_module->size; ++i) { swig_type_info *ty = types[i]; if (ty->owndata) { SwigPyClientData *data = (SwigPyClientData *) ty->clientdata; + ty->clientdata = 0; if (data) SwigPyClientData_Del(data); } } Py_DECREF(SWIG_This()); Swig_This_global = NULL; + Py_DECREF(SWIG_globals()); + Swig_Globals_global = NULL; + Py_DECREF(SWIG_Python_TypeCache()); + Swig_TypeCache_global = NULL; + Swig_Capsule_global = NULL; } SWIGRUNTIME void @@ -2427,19 +2771,17 @@ SWIG_Python_SetModule(swig_module_info *swig_module) { #endif PyObject *pointer = PyCapsule_New((void *) swig_module, SWIGPY_CAPSULE_NAME, SWIG_Python_DestroyModule); if (pointer && module) { - PyModule_AddObject(module, "type_pointer_capsule" SWIG_TYPE_TABLE_NAME, pointer); + if (PyModule_AddObject(module, SWIGPY_CAPSULE_ATTR_NAME, pointer) == 0) { + ++interpreter_counter; + Swig_Capsule_global = pointer; + } else { + Py_DECREF(pointer); + } } else { Py_XDECREF(pointer); } } -/* The python cached type query */ -SWIGRUNTIME PyObject * -SWIG_Python_TypeCache(void) { - static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); - return cache; -} - SWIGRUNTIME swig_type_info * SWIG_Python_TypeQuery(const char *type) { @@ -2454,8 +2796,10 @@ SWIG_Python_TypeQuery(const char *type) descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); if (descriptor) { obj = PyCapsule_New((void*) descriptor, NULL, NULL); - PyDict_SetItem(cache, key, obj); - Py_DECREF(obj); + if (obj) { + PyDict_SetItem(cache, key, obj); + Py_DECREF(obj); + } } } Py_DECREF(key); @@ -2488,7 +2832,6 @@ SWIG_Python_AddErrMesg(const char* mesg, int infront) } else { PyErr_Format(type, "%s %s", errmesg, mesg); } - SWIG_Python_str_DelForPy3(tmp); Py_DECREF(old_str); } return 1; @@ -2540,7 +2883,6 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) if (cstr) { PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", type, otype, cstr); - SWIG_Python_str_DelForPy3(cstr); } else { PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", type, otype); @@ -2562,12 +2904,6 @@ SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int SWIGUNUSEDPARM(arg void *result; if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { PyErr_Clear(); -#if SWIG_POINTER_EXCEPTION - if (flags) { - SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); - SWIG_Python_ArgFail(argnum); - } -#endif } return result; } @@ -2598,7 +2934,7 @@ SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { } if (!tp->tp_dict) { - if (PyType_Ready(tp) < 0) + if (PyType_Ready(tp) != 0) goto done; } @@ -2613,7 +2949,7 @@ SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { } else { encoded_name = PyUnicode_AsUTF8String(name); if (!encoded_name) - return -1; + goto done; } PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name)); Py_DECREF(encoded_name); @@ -2636,23 +2972,8 @@ SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) -#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else - - - -#ifdef __cplusplus -extern "C" { -#endif +#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0) -/* Method creation and docstring support functions */ - -SWIGINTERN PyMethodDef *SWIG_PythonGetProxyDoc(const char *name); -SWIGINTERN PyObject *SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func); -SWIGINTERN PyObject *SWIG_PyStaticMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func); - -#ifdef __cplusplus -} -#endif #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0) @@ -2723,8 +3044,52 @@ static swig_module_info swig_module = {swig_types, 39, 0, 0, 0, 0}; #endif #define SWIG_name "_Mykytea" -#define SWIGVERSION 0x040001 -#define SWIG_VERSION SWIGVERSION +#ifdef __cplusplus +#include +/* SwigValueWrapper is described in swig.swg */ +template class SwigValueWrapper { + struct SwigSmartPointer { + T *ptr; + SwigSmartPointer(T *p) : ptr(p) { } + ~SwigSmartPointer() { delete ptr; } + SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } + void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; } + } pointer; + SwigValueWrapper& operator=(const SwigValueWrapper& rhs); + SwigValueWrapper(const SwigValueWrapper& rhs); +public: + SwigValueWrapper() : pointer(0) { } + SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; } +#if __cplusplus >=201103L + SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; } + operator T&&() const { return std::move(*pointer.ptr); } +#else + operator T&() const { return *pointer.ptr; } +#endif + T *operator&() const { return pointer.ptr; } + static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); } +}; + +/* + * SwigValueInit() is a generic initialisation solution as the following approach: + * + * T c_result = T(); + * + * doesn't compile for all types for example: + * + * unsigned int c_result = unsigned int(); + */ +template T SwigValueInit() { + return T(); +} + +#if __cplusplus >=201103L +# define SWIG_STD_MOVE(OBJ) std::move(OBJ) +#else +# define SWIG_STD_MOVE(OBJ) OBJ +#endif + +#endif #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) @@ -2824,9 +3189,9 @@ namespace swig { #include #if PY_VERSION_HEX >= 0x03020000 -# define SWIGPY_SLICE_ARG(obj) ((PyObject*) (obj)) +# define SWIGPY_SLICEOBJECT PyObject #else -# define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj)) +# define SWIGPY_SLICEOBJECT PySliceObject #endif @@ -3451,11 +3816,20 @@ namespace swig { template struct traits_asptr { static int asptr(PyObject *obj, Type **val) { - Type *p = 0; + int res = SWIG_ERROR; swig_type_info *descriptor = type_info(); - int res = descriptor ? SWIG_ConvertPtr(obj, (void **)&p, descriptor, 0) : SWIG_ERROR; - if (SWIG_IsOK(res)) { - if (val) *val = p; + if (val) { + Type *p = 0; + int newmem = 0; + res = descriptor ? SWIG_ConvertPtrAndOwn(obj, (void **)&p, descriptor, 0, &newmem) : SWIG_ERROR; + if (SWIG_IsOK(res)) { + if (newmem & SWIG_CAST_NEW_MEMORY) { + res |= SWIG_NEWOBJMASK; + } + *val = p; + } + } else { + res = descriptor ? SWIG_ConvertPtr(obj, 0, descriptor, 0) : SWIG_ERROR; } return res; } @@ -4443,9 +4817,11 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* psize, int *alloc) if (alloc) *alloc = SWIG_NEWOBJ; #endif - PyBytes_AsStringAndSize(obj, &cstr, &len); + if (PyBytes_AsStringAndSize(obj, &cstr, &len) == -1) + return SWIG_TypeError; #else - PyString_AsStringAndSize(obj, &cstr, &len); + if (PyString_AsStringAndSize(obj, &cstr, &len) == -1) + return SWIG_TypeError; #endif if (cptr) { if (alloc) { @@ -4795,46 +5171,46 @@ SWIGINTERN void std_vector_Sl_std_string_Sg____delslice__(std::vector< std::stri SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_0(std::vector< std::string > *self,std::vector< std::string >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vector< std::string > *self,PySliceObject *slice){ +SWIGINTERN std::vector< std::string,std::allocator< std::string > > *std_vector_Sl_std_string_Sg____getitem____SWIG_0(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< std::string > *self,PySliceObject *slice,std::vector< std::string,std::allocator< std::string > > const &v){ +SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_0(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::string,std::allocator< std::string > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::string,std::allocator< std::string > >::difference_type id = i; std::vector< std::string,std::allocator< std::string > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -4853,7 +5229,7 @@ namespace swig { struct container_owner { // By default, do not add the back-reference (for value types) // Specialization below will check the reference for pointer types. - static bool back_reference(PyObject* child, PyObject* owner) { + static bool back_reference(PyObject* /*child*/, PyObject* /*owner*/) { return false; } }; @@ -4870,8 +5246,7 @@ namespace swig { static bool back_reference(PyObject* child, PyObject* owner) { SwigPyObject* swigThis = SWIG_Python_GetSwigThis(child); if (swigThis && (swigThis->own & SWIG_POINTER_OWN) != SWIG_POINTER_OWN) { - PyObject_SetAttr(child, container_owner_attribute(), owner); - return true; + return PyObject_SetAttr(child, container_owner_attribute(), owner) != -1; } return false; } @@ -5017,7 +5392,7 @@ namespace swig { res = get_pair(first, second, val); } } else { - value_type *p; + value_type *p = 0; swig_type_info *descriptor = swig::type_info(); res = descriptor ? SWIG_ConvertPtr(obj, (void **)&p, descriptor, 0) : SWIG_ERROR; if (SWIG_IsOK(res) && val) *val = p; @@ -5120,46 +5495,46 @@ SWIGINTERN void std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____delslic SWIGINTERN void std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____delitem____SWIG_0(std::vector< std::pair< std::string,double > > *self,std::vector< std::pair< std::string,double > >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > *std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____getitem____SWIG_0(std::vector< std::pair< std::string,double > > *self,PySliceObject *slice){ +SWIGINTERN std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > *std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____getitem____SWIG_0(std::vector< std::pair< std::string,double > > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >::difference_type id = i; std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____setitem____SWIG_0(std::vector< std::pair< std::string,double > > *self,PySliceObject *slice,std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &v){ +SWIGINTERN void std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____setitem____SWIG_0(std::vector< std::pair< std::string,double > > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >::difference_type id = i; std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____setitem____SWIG_1(std::vector< std::pair< std::string,double > > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____setitem____SWIG_1(std::vector< std::pair< std::string,double > > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >::difference_type id = i; std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____delitem____SWIG_1(std::vector< std::pair< std::string,double > > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____delitem____SWIG_1(std::vector< std::pair< std::string,double > > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >::difference_type id = i; std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -5221,46 +5596,46 @@ SWIGINTERN void std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg_ SWIGINTERN void std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____delitem____SWIG_0(std::vector< std::vector< std::pair< std::string,double > > > *self,std::vector< std::vector< std::pair< std::string,double > > >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > *std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____getitem____SWIG_0(std::vector< std::vector< std::pair< std::string,double > > > *self,PySliceObject *slice){ +SWIGINTERN std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > *std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____getitem____SWIG_0(std::vector< std::vector< std::pair< std::string,double > > > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >::difference_type id = i; std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____setitem____SWIG_0(std::vector< std::vector< std::pair< std::string,double > > > *self,PySliceObject *slice,std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > const &v){ +SWIGINTERN void std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____setitem____SWIG_0(std::vector< std::vector< std::pair< std::string,double > > > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >::difference_type id = i; std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____setitem____SWIG_1(std::vector< std::vector< std::pair< std::string,double > > > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____setitem____SWIG_1(std::vector< std::vector< std::pair< std::string,double > > > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >::difference_type id = i; std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____delitem____SWIG_1(std::vector< std::vector< std::pair< std::string,double > > > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____delitem____SWIG_1(std::vector< std::vector< std::pair< std::string,double > > > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >::difference_type id = i; std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -5330,46 +5705,46 @@ SWIGINTERN void std_vector_Sl_Tags_Sg____delslice__(std::vector< Tags > *self,st SWIGINTERN void std_vector_Sl_Tags_Sg____delitem____SWIG_0(std::vector< Tags > *self,std::vector< Tags >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< Tags,std::allocator< Tags > > *std_vector_Sl_Tags_Sg____getitem____SWIG_0(std::vector< Tags > *self,PySliceObject *slice){ +SWIGINTERN std::vector< Tags,std::allocator< Tags > > *std_vector_Sl_Tags_Sg____getitem____SWIG_0(std::vector< Tags > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< Tags,std::allocator< Tags > >::difference_type id = i; std::vector< Tags,std::allocator< Tags > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_Tags_Sg____setitem____SWIG_0(std::vector< Tags > *self,PySliceObject *slice,std::vector< Tags,std::allocator< Tags > > const &v){ +SWIGINTERN void std_vector_Sl_Tags_Sg____setitem____SWIG_0(std::vector< Tags > *self,SWIGPY_SLICEOBJECT *slice,std::vector< Tags,std::allocator< Tags > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< Tags,std::allocator< Tags > >::difference_type id = i; std::vector< Tags,std::allocator< Tags > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_Tags_Sg____setitem____SWIG_1(std::vector< Tags > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_Tags_Sg____setitem____SWIG_1(std::vector< Tags > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< Tags,std::allocator< Tags > >::difference_type id = i; std::vector< Tags,std::allocator< Tags > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_Tags_Sg____delitem____SWIG_1(std::vector< Tags > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_Tags_Sg____delitem____SWIG_1(std::vector< Tags > *self,SWIGPY_SLICEOBJECT *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); std::vector< Tags,std::allocator< Tags > >::difference_type id = i; std::vector< Tags,std::allocator< Tags > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -5453,7 +5828,7 @@ SWIGINTERNINLINE PyObject* #ifdef __cplusplus extern "C" { #endif -SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; @@ -5475,7 +5850,7 @@ SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; @@ -5506,7 +5881,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; size_t arg2 ; @@ -5543,7 +5918,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *SWIGUNUSEDPARM( } -SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; @@ -5581,7 +5956,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator_incr", 0, 2, argv))) SWIG_fail; --argc; if (argc == 1) { - int _v; + int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res); @@ -5590,7 +5965,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) { } } if (argc == 2) { - int _v; + int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res); @@ -5614,7 +5989,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; size_t arg2 ; @@ -5651,7 +6026,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *SWIGUNUSEDPARM( } -SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; @@ -5689,7 +6064,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator_decr", 0, 2, argv))) SWIG_fail; --argc; if (argc == 1) { - int _v; + int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res); @@ -5698,7 +6073,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) { } } if (argc == 2) { - int _v; + int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res); @@ -5722,7 +6097,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; swig::SwigPyIterator *arg2 = 0 ; @@ -5759,7 +6134,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_SwigPyIterator_equal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator_equal(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; swig::SwigPyIterator *arg2 = 0 ; @@ -5796,7 +6171,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_equal(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_SwigPyIterator_copy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator_copy(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; @@ -5819,7 +6194,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_copy(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_SwigPyIterator_next(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator_next(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; @@ -5850,7 +6225,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_next(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_SwigPyIterator___next__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator___next__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; @@ -5881,7 +6256,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___next__(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_SwigPyIterator_previous(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator_previous(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; @@ -5912,7 +6287,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_previous(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_SwigPyIterator_advance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator_advance(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; ptrdiff_t arg2 ; @@ -5950,7 +6325,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_advance(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_SwigPyIterator___eq__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator___eq__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; swig::SwigPyIterator *arg2 = 0 ; @@ -5985,7 +6360,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___eq__(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_SwigPyIterator___ne__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator___ne__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; swig::SwigPyIterator *arg2 = 0 ; @@ -6020,7 +6395,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___ne__(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_SwigPyIterator___iadd__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator___iadd__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; ptrdiff_t arg2 ; @@ -6058,7 +6433,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___iadd__(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_SwigPyIterator___isub__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator___isub__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; ptrdiff_t arg2 ; @@ -6096,7 +6471,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___isub__(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_SwigPyIterator___add__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_SwigPyIterator___add__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; ptrdiff_t arg2 ; @@ -6136,7 +6511,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___add__(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; ptrdiff_t arg2 ; @@ -6175,7 +6550,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *SWIGUNUSEDPA } -SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; swig::SwigPyIterator *arg2 = 0 ; @@ -6218,7 +6593,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator___sub__", 0, 2, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res); @@ -6231,7 +6606,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args } } if (argc == 2) { - int _v; + int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_swig__SwigPyIterator, 0); _v = SWIG_CheckState(res); @@ -6259,7 +6634,7 @@ SWIGINTERN PyObject *SwigPyIterator_swigregister(PyObject *SWIGUNUSEDPARM(self), return SWIG_Py_Void(); } -SWIGINTERN PyObject *_wrap_StringVector_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_iterator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; PyObject **arg2 = (PyObject **) 0 ; @@ -6284,7 +6659,7 @@ SWIGINTERN PyObject *_wrap_StringVector_iterator(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_StringVector___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector___nonzero__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -6307,7 +6682,7 @@ SWIGINTERN PyObject *_wrap_StringVector___nonzero__(PyObject *SWIGUNUSEDPARM(sel } -SWIGINTERN PyObject *_wrap_StringVector___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector___bool__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -6330,7 +6705,7 @@ SWIGINTERN PyObject *_wrap_StringVector___bool__(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_StringVector___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector___len__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -6353,7 +6728,7 @@ SWIGINTERN PyObject *_wrap_StringVector___len__(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_StringVector___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector___getslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::difference_type arg2 ; @@ -6384,7 +6759,7 @@ SWIGINTERN PyObject *_wrap_StringVector___getslice__(PyObject *SWIGUNUSEDPARM(se } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); try { - result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -6397,7 +6772,7 @@ SWIGINTERN PyObject *_wrap_StringVector___getslice__(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_StringVector___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::difference_type arg2 ; @@ -6426,7 +6801,7 @@ SWIGINTERN PyObject *_wrap_StringVector___setslice____SWIG_0(PyObject *SWIGUNUSE } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); try { - std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -6439,7 +6814,7 @@ SWIGINTERN PyObject *_wrap_StringVector___setslice____SWIG_0(PyObject *SWIGUNUSE } -SWIGINTERN PyObject *_wrap_StringVector___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::difference_type arg2 ; @@ -6481,7 +6856,7 @@ SWIGINTERN PyObject *_wrap_StringVector___setslice____SWIG_1(PyObject *SWIGUNUSE arg4 = ptr; } try { - std_vector_Sl_std_string_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::string,std::allocator< std::string > > const &)*arg4); + std_vector_Sl_std_string_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::string,std::allocator< std::string > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -6505,7 +6880,7 @@ SWIGINTERN PyObject *_wrap_StringVector___setslice__(PyObject *self, PyObject *a if (!(argc = SWIG_Python_UnpackTuple(args, "StringVector___setslice__", 0, 4, argv))) SWIG_fail; --argc; if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -6525,7 +6900,7 @@ SWIGINTERN PyObject *_wrap_StringVector___setslice__(PyObject *self, PyObject *a } } if (argc == 4) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -6558,7 +6933,7 @@ SWIGINTERN PyObject *_wrap_StringVector___setslice__(PyObject *self, PyObject *a } -SWIGINTERN PyObject *_wrap_StringVector___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector___delslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::difference_type arg2 ; @@ -6588,7 +6963,7 @@ SWIGINTERN PyObject *_wrap_StringVector___delslice__(PyObject *SWIGUNUSEDPARM(se } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); try { - std_vector_Sl_std_string_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_std_string_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -6601,7 +6976,7 @@ SWIGINTERN PyObject *_wrap_StringVector___delslice__(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_StringVector___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::difference_type arg2 ; @@ -6622,7 +6997,7 @@ SWIGINTERN PyObject *_wrap_StringVector___delitem____SWIG_0(PyObject *SWIGUNUSED } arg2 = static_cast< std::vector< std::string >::difference_type >(val2); try { - std_vector_Sl_std_string_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_std_string_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -6635,10 +7010,10 @@ SWIGINTERN PyObject *_wrap_StringVector___delitem____SWIG_0(PyObject *SWIGUNUSED } -SWIGINTERN PyObject *_wrap_StringVector___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; @@ -6651,9 +7026,9 @@ SWIGINTERN PyObject *_wrap_StringVector___getitem____SWIG_0(PyObject *SWIGUNUSED arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "StringVector___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "StringVector___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getitem____SWIG_0(arg1,arg2); @@ -6669,10 +7044,10 @@ SWIGINTERN PyObject *_wrap_StringVector___getitem____SWIG_0(PyObject *SWIGUNUSED } -SWIGINTERN PyObject *_wrap_StringVector___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6686,9 +7061,9 @@ SWIGINTERN PyObject *_wrap_StringVector___setitem____SWIG_0(PyObject *SWIGUNUSED arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "StringVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "StringVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -6717,10 +7092,10 @@ SWIGINTERN PyObject *_wrap_StringVector___setitem____SWIG_0(PyObject *SWIGUNUSED } -SWIGINTERN PyObject *_wrap_StringVector___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6732,9 +7107,9 @@ SWIGINTERN PyObject *_wrap_StringVector___setitem____SWIG_1(PyObject *SWIGUNUSED arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "StringVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "StringVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_std_string_Sg____setitem____SWIG_1(arg1,arg2); @@ -6750,10 +7125,10 @@ SWIGINTERN PyObject *_wrap_StringVector___setitem____SWIG_1(PyObject *SWIGUNUSED } -SWIGINTERN PyObject *_wrap_StringVector___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -6765,9 +7140,9 @@ SWIGINTERN PyObject *_wrap_StringVector___delitem____SWIG_1(PyObject *SWIGUNUSED arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "StringVector___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "StringVector___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_std_string_Sg____delitem____SWIG_1(arg1,arg2); @@ -6792,7 +7167,7 @@ SWIGINTERN PyObject *_wrap_StringVector___delitem__(PyObject *self, PyObject *ar if (!(argc = SWIG_Python_UnpackTuple(args, "StringVector___delitem__", 0, 2, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -6805,7 +7180,7 @@ SWIGINTERN PyObject *_wrap_StringVector___delitem__(PyObject *self, PyObject *ar } } if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -6823,12 +7198,12 @@ SWIGINTERN PyObject *_wrap_StringVector___delitem__(PyObject *self, PyObject *ar SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'StringVector___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< std::string >::__delitem__(std::vector< std::string >::difference_type)\n" - " std::vector< std::string >::__delitem__(PySliceObject *)\n"); + " std::vector< std::string >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } -SWIGINTERN PyObject *_wrap_StringVector___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::difference_type arg2 ; @@ -6850,7 +7225,7 @@ SWIGINTERN PyObject *_wrap_StringVector___getitem____SWIG_1(PyObject *SWIGUNUSED } arg2 = static_cast< std::vector< std::string >::difference_type >(val2); try { - result = (std::vector< std::string >::value_type *) &std_vector_Sl_std_string_Sg____getitem____SWIG_1((std::vector< std::string > const *)arg1,arg2); + result = (std::vector< std::string >::value_type *) &std_vector_Sl_std_string_Sg____getitem____SWIG_1((std::vector< std::string > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -6871,7 +7246,7 @@ SWIGINTERN PyObject *_wrap_StringVector___getitem__(PyObject *self, PyObject *ar if (!(argc = SWIG_Python_UnpackTuple(args, "StringVector___getitem__", 0, 2, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -6884,7 +7259,7 @@ SWIGINTERN PyObject *_wrap_StringVector___getitem__(PyObject *self, PyObject *ar } } if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -6901,13 +7276,13 @@ SWIGINTERN PyObject *_wrap_StringVector___getitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'StringVector___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::string >::__getitem__(PySliceObject *)\n" + " std::vector< std::string >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< std::string >::__getitem__(std::vector< std::string >::difference_type) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_StringVector___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::difference_type arg2 ; @@ -6941,7 +7316,7 @@ SWIGINTERN PyObject *_wrap_StringVector___setitem____SWIG_2(PyObject *SWIGUNUSED arg3 = ptr; } try { - std_vector_Sl_std_string_Sg____setitem____SWIG_2(arg1,arg2,(std::string const &)*arg3); + std_vector_Sl_std_string_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -6963,7 +7338,7 @@ SWIGINTERN PyObject *_wrap_StringVector___setitem__(PyObject *self, PyObject *ar if (!(argc = SWIG_Python_UnpackTuple(args, "StringVector___setitem__", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -6976,7 +7351,7 @@ SWIGINTERN PyObject *_wrap_StringVector___setitem__(PyObject *self, PyObject *ar } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -6993,7 +7368,7 @@ SWIGINTERN PyObject *_wrap_StringVector___setitem__(PyObject *self, PyObject *ar } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -7014,14 +7389,14 @@ SWIGINTERN PyObject *_wrap_StringVector___setitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'StringVector___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::string >::__setitem__(PySliceObject *,std::vector< std::string,std::allocator< std::string > > const &)\n" - " std::vector< std::string >::__setitem__(PySliceObject *)\n" + " std::vector< std::string >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::string,std::allocator< std::string > > const &)\n" + " std::vector< std::string >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< std::string >::__setitem__(std::vector< std::string >::difference_type,std::vector< std::string >::value_type const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_StringVector_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_pop(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7048,7 +7423,7 @@ SWIGINTERN PyObject *_wrap_StringVector_pop(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_StringVector_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_append(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::value_type *arg2 = 0 ; @@ -7084,7 +7459,7 @@ SWIGINTERN PyObject *_wrap_StringVector_append(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_new_StringVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_new_StringVector__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; std::vector< std::string > *result = 0 ; @@ -7097,7 +7472,7 @@ SWIGINTERN PyObject *_wrap_new_StringVector__SWIG_0(PyObject *SWIGUNUSEDPARM(sel } -SWIGINTERN PyObject *_wrap_new_StringVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_StringVector__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; @@ -7125,7 +7500,7 @@ SWIGINTERN PyObject *_wrap_new_StringVector__SWIG_1(PyObject *SWIGUNUSEDPARM(sel } -SWIGINTERN PyObject *_wrap_StringVector_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_empty(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7148,7 +7523,7 @@ SWIGINTERN PyObject *_wrap_StringVector_empty(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_StringVector_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7171,7 +7546,7 @@ SWIGINTERN PyObject *_wrap_StringVector_size(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_StringVector_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_swap(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string > *arg2 = 0 ; @@ -7203,7 +7578,7 @@ SWIGINTERN PyObject *_wrap_StringVector_swap(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_StringVector_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_begin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7227,7 +7602,7 @@ SWIGINTERN PyObject *_wrap_StringVector_begin(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_StringVector_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_end(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7251,7 +7626,7 @@ SWIGINTERN PyObject *_wrap_StringVector_end(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_StringVector_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_rbegin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7275,7 +7650,7 @@ SWIGINTERN PyObject *_wrap_StringVector_rbegin(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_StringVector_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_rend(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7299,7 +7674,7 @@ SWIGINTERN PyObject *_wrap_StringVector_rend(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_StringVector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_clear(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7321,7 +7696,7 @@ SWIGINTERN PyObject *_wrap_StringVector_clear(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_StringVector_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_get_allocator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7337,14 +7712,14 @@ SWIGINTERN PyObject *_wrap_StringVector_get_allocator(PyObject *SWIGUNUSEDPARM(s } arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); result = ((std::vector< std::string > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(static_cast< const std::vector< std::string >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< std::string >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_new_StringVector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_StringVector__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string >::size_type arg1 ; size_t val1 ; @@ -7365,7 +7740,7 @@ SWIGINTERN PyObject *_wrap_new_StringVector__SWIG_2(PyObject *SWIGUNUSEDPARM(sel } -SWIGINTERN PyObject *_wrap_StringVector_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_pop_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7387,7 +7762,7 @@ SWIGINTERN PyObject *_wrap_StringVector_pop_back(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_StringVector_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::size_type arg2 ; @@ -7415,7 +7790,7 @@ SWIGINTERN PyObject *_wrap_StringVector_resize__SWIG_0(PyObject *SWIGUNUSEDPARM( } -SWIGINTERN PyObject *_wrap_StringVector_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::iterator arg2 ; @@ -7442,7 +7817,7 @@ SWIGINTERN PyObject *_wrap_StringVector_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(s SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "StringVector_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'"); } } - result = std_vector_Sl_std_string_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_std_string_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -7451,7 +7826,7 @@ SWIGINTERN PyObject *_wrap_StringVector_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(s } -SWIGINTERN PyObject *_wrap_StringVector_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::iterator arg2 ; @@ -7492,7 +7867,7 @@ SWIGINTERN PyObject *_wrap_StringVector_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(s SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "StringVector_erase" "', argument " "3"" of type '" "std::vector< std::string >::iterator""'"); } } - result = std_vector_Sl_std_string_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_std_string_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -7510,7 +7885,7 @@ SWIGINTERN PyObject *_wrap_StringVector_erase(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "StringVector_erase", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -7523,7 +7898,7 @@ SWIGINTERN PyObject *_wrap_StringVector_erase(PyObject *self, PyObject *args) { } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -7550,7 +7925,7 @@ SWIGINTERN PyObject *_wrap_StringVector_erase(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_new_StringVector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_StringVector__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string >::size_type arg1 ; std::vector< std::string >::value_type *arg2 = 0 ; @@ -7598,7 +7973,7 @@ SWIGINTERN PyObject *_wrap_new_StringVector(PyObject *self, PyObject *args) { return _wrap_new_StringVector__SWIG_0(self, argc, argv); } if (argc == 1) { - int _v; + int _v = 0; { int res = SWIG_AsVal_size_t(argv[0], NULL); _v = SWIG_CheckState(res); @@ -7608,7 +7983,7 @@ SWIGINTERN PyObject *_wrap_new_StringVector(PyObject *self, PyObject *args) { } } if (argc == 1) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -7616,7 +7991,7 @@ SWIGINTERN PyObject *_wrap_new_StringVector(PyObject *self, PyObject *args) { } } if (argc == 2) { - int _v; + int _v = 0; { int res = SWIG_AsVal_size_t(argv[0], NULL); _v = SWIG_CheckState(res); @@ -7641,7 +8016,7 @@ SWIGINTERN PyObject *_wrap_new_StringVector(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_StringVector_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_push_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::value_type *arg2 = 0 ; @@ -7677,7 +8052,7 @@ SWIGINTERN PyObject *_wrap_StringVector_push_back(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_StringVector_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_front(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7701,7 +8076,7 @@ SWIGINTERN PyObject *_wrap_StringVector_front(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_StringVector_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -7725,7 +8100,7 @@ SWIGINTERN PyObject *_wrap_StringVector_back(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_StringVector_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_assign(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::size_type arg2 ; @@ -7769,7 +8144,7 @@ SWIGINTERN PyObject *_wrap_StringVector_assign(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_StringVector_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::size_type arg2 ; @@ -7821,7 +8196,7 @@ SWIGINTERN PyObject *_wrap_StringVector_resize(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "StringVector_resize", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -7835,7 +8210,7 @@ SWIGINTERN PyObject *_wrap_StringVector_resize(PyObject *self, PyObject *args) { } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -7862,7 +8237,7 @@ SWIGINTERN PyObject *_wrap_StringVector_resize(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_StringVector_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::iterator arg2 ; @@ -7902,7 +8277,7 @@ SWIGINTERN PyObject *_wrap_StringVector_insert__SWIG_0(PyObject *SWIGUNUSEDPARM( } arg3 = ptr; } - result = std_vector_Sl_std_string_Sg__insert__SWIG_0(arg1,arg2,(std::string const &)*arg3); + result = std_vector_Sl_std_string_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::string >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); if (SWIG_IsNewObj(res3)) delete arg3; @@ -7913,7 +8288,7 @@ SWIGINTERN PyObject *_wrap_StringVector_insert__SWIG_0(PyObject *SWIGUNUSEDPARM( } -SWIGINTERN PyObject *_wrap_StringVector_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_StringVector_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::iterator arg2 ; @@ -7960,7 +8335,7 @@ SWIGINTERN PyObject *_wrap_StringVector_insert__SWIG_1(PyObject *SWIGUNUSEDPARM( } arg4 = ptr; } - std_vector_Sl_std_string_Sg__insert__SWIG_1(arg1,arg2,arg3,(std::string const &)*arg4); + std_vector_Sl_std_string_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::string const &)*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; @@ -7979,7 +8354,7 @@ SWIGINTERN PyObject *_wrap_StringVector_insert(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "StringVector_insert", 0, 4, argv))) SWIG_fail; --argc; if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -7996,7 +8371,7 @@ SWIGINTERN PyObject *_wrap_StringVector_insert(PyObject *self, PyObject *args) { } } if (argc == 4) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::string,std::allocator< std::string > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -8028,7 +8403,7 @@ SWIGINTERN PyObject *_wrap_StringVector_insert(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_StringVector_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_reserve(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; std::vector< std::string >::size_type arg2 ; @@ -8057,7 +8432,7 @@ SWIGINTERN PyObject *_wrap_StringVector_reserve(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_StringVector_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_StringVector_capacity(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -8080,7 +8455,7 @@ SWIGINTERN PyObject *_wrap_StringVector_capacity(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_delete_StringVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_StringVector(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; @@ -8121,7 +8496,7 @@ SWIGINTERN PyObject *StringVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObj return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_new_Pairsd__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_new_Pairsd__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; std::pair< std::string,double > *result = 0 ; @@ -8134,7 +8509,7 @@ SWIGINTERN PyObject *_wrap_new_Pairsd__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_new_Pairsd__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_Pairsd__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string arg1 ; double arg2 ; @@ -8165,7 +8540,7 @@ SWIGINTERN PyObject *_wrap_new_Pairsd__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_new_Pairsd__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_Pairsd__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::pair< std::string,double > *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; @@ -8205,7 +8580,7 @@ SWIGINTERN PyObject *_wrap_new_Pairsd(PyObject *self, PyObject *args) { return _wrap_new_Pairsd__SWIG_0(self, argc, argv); } if (argc == 1) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::pair< std::string,double >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -8213,7 +8588,7 @@ SWIGINTERN PyObject *_wrap_new_Pairsd(PyObject *self, PyObject *args) { } } if (argc == 2) { - int _v; + int _v = 0; int res = SWIG_AsPtr_std_string(argv[0], (std::string**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -8237,7 +8612,7 @@ SWIGINTERN PyObject *_wrap_new_Pairsd(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_Pairsd_first_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Pairsd_first_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::pair< std::string,double > *arg1 = (std::pair< std::string,double > *) 0 ; std::string *arg2 = 0 ; @@ -8273,7 +8648,7 @@ SWIGINTERN PyObject *_wrap_Pairsd_first_set(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_Pairsd_first_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Pairsd_first_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::pair< std::string,double > *arg1 = (std::pair< std::string,double > *) 0 ; void *argp1 = 0 ; @@ -8296,7 +8671,7 @@ SWIGINTERN PyObject *_wrap_Pairsd_first_get(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_Pairsd_second_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Pairsd_second_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::pair< std::string,double > *arg1 = (std::pair< std::string,double > *) 0 ; double arg2 ; @@ -8325,7 +8700,7 @@ SWIGINTERN PyObject *_wrap_Pairsd_second_set(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_Pairsd_second_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Pairsd_second_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::pair< std::string,double > *arg1 = (std::pair< std::string,double > *) 0 ; void *argp1 = 0 ; @@ -8348,7 +8723,7 @@ SWIGINTERN PyObject *_wrap_Pairsd_second_get(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_delete_Pairsd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_Pairsd(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::pair< std::string,double > *arg1 = (std::pair< std::string,double > *) 0 ; void *argp1 = 0 ; @@ -8389,7 +8764,7 @@ SWIGINTERN PyObject *Pairsd_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *a return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_PairVector_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_iterator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; PyObject **arg2 = (PyObject **) 0 ; @@ -8414,7 +8789,7 @@ SWIGINTERN PyObject *_wrap_PairVector_iterator(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_PairVector___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector___nonzero__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -8437,7 +8812,7 @@ SWIGINTERN PyObject *_wrap_PairVector___nonzero__(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_PairVector___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector___bool__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -8460,7 +8835,7 @@ SWIGINTERN PyObject *_wrap_PairVector___bool__(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_PairVector___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector___len__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -8483,7 +8858,7 @@ SWIGINTERN PyObject *_wrap_PairVector___len__(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_PairVector___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector___getslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::difference_type arg2 ; @@ -8514,7 +8889,7 @@ SWIGINTERN PyObject *_wrap_PairVector___getslice__(PyObject *SWIGUNUSEDPARM(self } arg3 = static_cast< std::vector< std::pair< std::string,double > >::difference_type >(val3); try { - result = (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > *)std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > *)std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -8527,7 +8902,7 @@ SWIGINTERN PyObject *_wrap_PairVector___getslice__(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_PairVector___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::difference_type arg2 ; @@ -8556,7 +8931,7 @@ SWIGINTERN PyObject *_wrap_PairVector___setslice____SWIG_0(PyObject *SWIGUNUSEDP } arg3 = static_cast< std::vector< std::pair< std::string,double > >::difference_type >(val3); try { - std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -8569,7 +8944,7 @@ SWIGINTERN PyObject *_wrap_PairVector___setslice____SWIG_0(PyObject *SWIGUNUSEDP } -SWIGINTERN PyObject *_wrap_PairVector___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::difference_type arg2 ; @@ -8611,7 +8986,7 @@ SWIGINTERN PyObject *_wrap_PairVector___setslice____SWIG_1(PyObject *SWIGUNUSEDP arg4 = ptr; } try { - std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &)*arg4); + std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -8635,7 +9010,7 @@ SWIGINTERN PyObject *_wrap_PairVector___setslice__(PyObject *self, PyObject *arg if (!(argc = SWIG_Python_UnpackTuple(args, "PairVector___setslice__", 0, 4, argv))) SWIG_fail; --argc; if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -8655,7 +9030,7 @@ SWIGINTERN PyObject *_wrap_PairVector___setslice__(PyObject *self, PyObject *arg } } if (argc == 4) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -8688,7 +9063,7 @@ SWIGINTERN PyObject *_wrap_PairVector___setslice__(PyObject *self, PyObject *arg } -SWIGINTERN PyObject *_wrap_PairVector___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector___delslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::difference_type arg2 ; @@ -8718,7 +9093,7 @@ SWIGINTERN PyObject *_wrap_PairVector___delslice__(PyObject *SWIGUNUSEDPARM(self } arg3 = static_cast< std::vector< std::pair< std::string,double > >::difference_type >(val3); try { - std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -8731,7 +9106,7 @@ SWIGINTERN PyObject *_wrap_PairVector___delslice__(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_PairVector___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::difference_type arg2 ; @@ -8752,7 +9127,7 @@ SWIGINTERN PyObject *_wrap_PairVector___delitem____SWIG_0(PyObject *SWIGUNUSEDPA } arg2 = static_cast< std::vector< std::pair< std::string,double > >::difference_type >(val2); try { - std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -8765,10 +9140,10 @@ SWIGINTERN PyObject *_wrap_PairVector___delitem____SWIG_0(PyObject *SWIGUNUSEDPA } -SWIGINTERN PyObject *_wrap_PairVector___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > *result = 0 ; @@ -8781,9 +9156,9 @@ SWIGINTERN PyObject *_wrap_PairVector___getitem____SWIG_0(PyObject *SWIGUNUSEDPA arg1 = reinterpret_cast< std::vector< std::pair< std::string,double > > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVector___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVector___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > *)std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____getitem____SWIG_0(arg1,arg2); @@ -8799,10 +9174,10 @@ SWIGINTERN PyObject *_wrap_PairVector___getitem____SWIG_0(PyObject *SWIGUNUSEDPA } -SWIGINTERN PyObject *_wrap_PairVector___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -8816,9 +9191,9 @@ SWIGINTERN PyObject *_wrap_PairVector___setitem____SWIG_0(PyObject *SWIGUNUSEDPA arg1 = reinterpret_cast< std::vector< std::pair< std::string,double > > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > *ptr = (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > *)0; @@ -8847,10 +9222,10 @@ SWIGINTERN PyObject *_wrap_PairVector___setitem____SWIG_0(PyObject *SWIGUNUSEDPA } -SWIGINTERN PyObject *_wrap_PairVector___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -8862,9 +9237,9 @@ SWIGINTERN PyObject *_wrap_PairVector___setitem____SWIG_1(PyObject *SWIGUNUSEDPA arg1 = reinterpret_cast< std::vector< std::pair< std::string,double > > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____setitem____SWIG_1(arg1,arg2); @@ -8880,10 +9255,10 @@ SWIGINTERN PyObject *_wrap_PairVector___setitem____SWIG_1(PyObject *SWIGUNUSEDPA } -SWIGINTERN PyObject *_wrap_PairVector___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -8895,9 +9270,9 @@ SWIGINTERN PyObject *_wrap_PairVector___delitem____SWIG_1(PyObject *SWIGUNUSEDPA arg1 = reinterpret_cast< std::vector< std::pair< std::string,double > > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVector___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVector___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____delitem____SWIG_1(arg1,arg2); @@ -8922,7 +9297,7 @@ SWIGINTERN PyObject *_wrap_PairVector___delitem__(PyObject *self, PyObject *args if (!(argc = SWIG_Python_UnpackTuple(args, "PairVector___delitem__", 0, 2, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -8935,7 +9310,7 @@ SWIGINTERN PyObject *_wrap_PairVector___delitem__(PyObject *self, PyObject *args } } if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -8953,12 +9328,12 @@ SWIGINTERN PyObject *_wrap_PairVector___delitem__(PyObject *self, PyObject *args SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'PairVector___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< std::pair< std::string,double > >::__delitem__(std::vector< std::pair< std::string,double > >::difference_type)\n" - " std::vector< std::pair< std::string,double > >::__delitem__(PySliceObject *)\n"); + " std::vector< std::pair< std::string,double > >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } -SWIGINTERN PyObject *_wrap_PairVector___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::difference_type arg2 ; @@ -8980,7 +9355,7 @@ SWIGINTERN PyObject *_wrap_PairVector___getitem____SWIG_1(PyObject *SWIGUNUSEDPA } arg2 = static_cast< std::vector< std::pair< std::string,double > >::difference_type >(val2); try { - result = (std::vector< std::pair< std::string,double > >::value_type *) &std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____getitem____SWIG_1((std::vector< std::pair< std::string,double > > const *)arg1,arg2); + result = (std::vector< std::pair< std::string,double > >::value_type *) &std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____getitem____SWIG_1((std::vector< std::pair< std::string,double > > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -9001,7 +9376,7 @@ SWIGINTERN PyObject *_wrap_PairVector___getitem__(PyObject *self, PyObject *args if (!(argc = SWIG_Python_UnpackTuple(args, "PairVector___getitem__", 0, 2, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -9014,7 +9389,7 @@ SWIGINTERN PyObject *_wrap_PairVector___getitem__(PyObject *self, PyObject *args } } if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -9031,13 +9406,13 @@ SWIGINTERN PyObject *_wrap_PairVector___getitem__(PyObject *self, PyObject *args fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'PairVector___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::pair< std::string,double > >::__getitem__(PySliceObject *)\n" + " std::vector< std::pair< std::string,double > >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< std::pair< std::string,double > >::__getitem__(std::vector< std::pair< std::string,double > >::difference_type) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_PairVector___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::difference_type arg2 ; @@ -9071,7 +9446,7 @@ SWIGINTERN PyObject *_wrap_PairVector___setitem____SWIG_2(PyObject *SWIGUNUSEDPA arg3 = ptr; } try { - std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____setitem____SWIG_2(arg1,arg2,(std::pair< std::string,double > const &)*arg3); + std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::pair< std::string,double > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -9093,7 +9468,7 @@ SWIGINTERN PyObject *_wrap_PairVector___setitem__(PyObject *self, PyObject *args if (!(argc = SWIG_Python_UnpackTuple(args, "PairVector___setitem__", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -9106,7 +9481,7 @@ SWIGINTERN PyObject *_wrap_PairVector___setitem__(PyObject *self, PyObject *args } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -9123,7 +9498,7 @@ SWIGINTERN PyObject *_wrap_PairVector___setitem__(PyObject *self, PyObject *args } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -9144,14 +9519,14 @@ SWIGINTERN PyObject *_wrap_PairVector___setitem__(PyObject *self, PyObject *args fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'PairVector___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::pair< std::string,double > >::__setitem__(PySliceObject *,std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &)\n" - " std::vector< std::pair< std::string,double > >::__setitem__(PySliceObject *)\n" + " std::vector< std::pair< std::string,double > >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &)\n" + " std::vector< std::pair< std::string,double > >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< std::pair< std::string,double > >::__setitem__(std::vector< std::pair< std::string,double > >::difference_type,std::vector< std::pair< std::string,double > >::value_type const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_PairVector_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_pop(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9178,7 +9553,7 @@ SWIGINTERN PyObject *_wrap_PairVector_pop(PyObject *SWIGUNUSEDPARM(self), PyObje } -SWIGINTERN PyObject *_wrap_PairVector_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_append(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::value_type *arg2 = 0 ; @@ -9214,7 +9589,7 @@ SWIGINTERN PyObject *_wrap_PairVector_append(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_new_PairVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_new_PairVector__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *result = 0 ; @@ -9227,7 +9602,7 @@ SWIGINTERN PyObject *_wrap_new_PairVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_new_PairVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_PairVector__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; @@ -9255,7 +9630,7 @@ SWIGINTERN PyObject *_wrap_new_PairVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_PairVector_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_empty(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9278,7 +9653,7 @@ SWIGINTERN PyObject *_wrap_PairVector_empty(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_PairVector_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9301,7 +9676,7 @@ SWIGINTERN PyObject *_wrap_PairVector_size(PyObject *SWIGUNUSEDPARM(self), PyObj } -SWIGINTERN PyObject *_wrap_PairVector_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_swap(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > > *arg2 = 0 ; @@ -9333,7 +9708,7 @@ SWIGINTERN PyObject *_wrap_PairVector_swap(PyObject *SWIGUNUSEDPARM(self), PyObj } -SWIGINTERN PyObject *_wrap_PairVector_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_begin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9357,7 +9732,7 @@ SWIGINTERN PyObject *_wrap_PairVector_begin(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_PairVector_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_end(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9381,7 +9756,7 @@ SWIGINTERN PyObject *_wrap_PairVector_end(PyObject *SWIGUNUSEDPARM(self), PyObje } -SWIGINTERN PyObject *_wrap_PairVector_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_rbegin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9405,7 +9780,7 @@ SWIGINTERN PyObject *_wrap_PairVector_rbegin(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_PairVector_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_rend(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9429,7 +9804,7 @@ SWIGINTERN PyObject *_wrap_PairVector_rend(PyObject *SWIGUNUSEDPARM(self), PyObj } -SWIGINTERN PyObject *_wrap_PairVector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_clear(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9451,7 +9826,7 @@ SWIGINTERN PyObject *_wrap_PairVector_clear(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_PairVector_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_get_allocator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9467,14 +9842,14 @@ SWIGINTERN PyObject *_wrap_PairVector_get_allocator(PyObject *SWIGUNUSEDPARM(sel } arg1 = reinterpret_cast< std::vector< std::pair< std::string,double > > * >(argp1); result = ((std::vector< std::pair< std::string,double > > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::pair< std::string,double > >::allocator_type(static_cast< const std::vector< std::pair< std::string,double > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_double_t_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< std::pair< std::string,double > >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__pairT_std__string_double_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_new_PairVector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_PairVector__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > >::size_type arg1 ; size_t val1 ; @@ -9495,7 +9870,7 @@ SWIGINTERN PyObject *_wrap_new_PairVector__SWIG_2(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_PairVector_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_pop_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9517,7 +9892,7 @@ SWIGINTERN PyObject *_wrap_PairVector_pop_back(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_PairVector_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::size_type arg2 ; @@ -9545,7 +9920,7 @@ SWIGINTERN PyObject *_wrap_PairVector_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_PairVector_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::iterator arg2 ; @@ -9572,7 +9947,7 @@ SWIGINTERN PyObject *_wrap_PairVector_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(sel SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVector_erase" "', argument " "2"" of type '" "std::vector< std::pair< std::string,double > >::iterator""'"); } } - result = std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::pair< std::string,double > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -9581,7 +9956,7 @@ SWIGINTERN PyObject *_wrap_PairVector_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(sel } -SWIGINTERN PyObject *_wrap_PairVector_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::iterator arg2 ; @@ -9622,7 +9997,7 @@ SWIGINTERN PyObject *_wrap_PairVector_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(sel SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVector_erase" "', argument " "3"" of type '" "std::vector< std::pair< std::string,double > >::iterator""'"); } } - result = std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::pair< std::string,double > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -9640,7 +10015,7 @@ SWIGINTERN PyObject *_wrap_PairVector_erase(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "PairVector_erase", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -9653,7 +10028,7 @@ SWIGINTERN PyObject *_wrap_PairVector_erase(PyObject *self, PyObject *args) { } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -9680,7 +10055,7 @@ SWIGINTERN PyObject *_wrap_PairVector_erase(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_new_PairVector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_PairVector__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > >::size_type arg1 ; std::vector< std::pair< std::string,double > >::value_type *arg2 = 0 ; @@ -9728,7 +10103,7 @@ SWIGINTERN PyObject *_wrap_new_PairVector(PyObject *self, PyObject *args) { return _wrap_new_PairVector__SWIG_0(self, argc, argv); } if (argc == 1) { - int _v; + int _v = 0; { int res = SWIG_AsVal_size_t(argv[0], NULL); _v = SWIG_CheckState(res); @@ -9738,7 +10113,7 @@ SWIGINTERN PyObject *_wrap_new_PairVector(PyObject *self, PyObject *args) { } } if (argc == 1) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -9746,7 +10121,7 @@ SWIGINTERN PyObject *_wrap_new_PairVector(PyObject *self, PyObject *args) { } } if (argc == 2) { - int _v; + int _v = 0; { int res = SWIG_AsVal_size_t(argv[0], NULL); _v = SWIG_CheckState(res); @@ -9771,7 +10146,7 @@ SWIGINTERN PyObject *_wrap_new_PairVector(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_PairVector_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_push_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::value_type *arg2 = 0 ; @@ -9807,7 +10182,7 @@ SWIGINTERN PyObject *_wrap_PairVector_push_back(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_PairVector_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_front(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9831,7 +10206,7 @@ SWIGINTERN PyObject *_wrap_PairVector_front(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_PairVector_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -9855,7 +10230,7 @@ SWIGINTERN PyObject *_wrap_PairVector_back(PyObject *SWIGUNUSEDPARM(self), PyObj } -SWIGINTERN PyObject *_wrap_PairVector_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_assign(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::size_type arg2 ; @@ -9899,7 +10274,7 @@ SWIGINTERN PyObject *_wrap_PairVector_assign(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_PairVector_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::size_type arg2 ; @@ -9951,7 +10326,7 @@ SWIGINTERN PyObject *_wrap_PairVector_resize(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "PairVector_resize", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -9965,7 +10340,7 @@ SWIGINTERN PyObject *_wrap_PairVector_resize(PyObject *self, PyObject *args) { } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -9992,7 +10367,7 @@ SWIGINTERN PyObject *_wrap_PairVector_resize(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_PairVector_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::iterator arg2 ; @@ -10032,7 +10407,7 @@ SWIGINTERN PyObject *_wrap_PairVector_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(se } arg3 = ptr; } - result = std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__insert__SWIG_0(arg1,arg2,(std::pair< std::string,double > const &)*arg3); + result = std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::pair< std::string,double > const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::pair< std::string,double > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); if (SWIG_IsNewObj(res3)) delete arg3; @@ -10043,7 +10418,7 @@ SWIGINTERN PyObject *_wrap_PairVector_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_PairVector_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVector_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::iterator arg2 ; @@ -10090,7 +10465,7 @@ SWIGINTERN PyObject *_wrap_PairVector_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(se } arg4 = ptr; } - std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__insert__SWIG_1(arg1,arg2,arg3,(std::pair< std::string,double > const &)*arg4); + std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::pair< std::string,double > const &)*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; @@ -10109,7 +10484,7 @@ SWIGINTERN PyObject *_wrap_PairVector_insert(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "PairVector_insert", 0, 4, argv))) SWIG_fail; --argc; if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -10126,7 +10501,7 @@ SWIGINTERN PyObject *_wrap_PairVector_insert(PyObject *self, PyObject *args) { } } if (argc == 4) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -10158,7 +10533,7 @@ SWIGINTERN PyObject *_wrap_PairVector_insert(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_PairVector_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_reserve(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; std::vector< std::pair< std::string,double > >::size_type arg2 ; @@ -10187,7 +10562,7 @@ SWIGINTERN PyObject *_wrap_PairVector_reserve(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_PairVector_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVector_capacity(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -10210,7 +10585,7 @@ SWIGINTERN PyObject *_wrap_PairVector_capacity(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_delete_PairVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_PairVector(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::pair< std::string,double > > *arg1 = (std::vector< std::pair< std::string,double > > *) 0 ; void *argp1 = 0 ; @@ -10251,7 +10626,7 @@ SWIGINTERN PyObject *PairVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObjec return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_PairVectorVector_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_iterator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; PyObject **arg2 = (PyObject **) 0 ; @@ -10276,7 +10651,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_iterator(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_PairVectorVector___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector___nonzero__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -10299,7 +10674,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___nonzero__(PyObject *SWIGUNUSEDPARM } -SWIGINTERN PyObject *_wrap_PairVectorVector___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector___bool__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -10322,7 +10697,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___bool__(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_PairVectorVector___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector___len__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -10345,7 +10720,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___len__(PyObject *SWIGUNUSEDPARM(sel } -SWIGINTERN PyObject *_wrap_PairVectorVector___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector___getslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::difference_type arg2 ; @@ -10376,7 +10751,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___getslice__(PyObject *SWIGUNUSEDPAR } arg3 = static_cast< std::vector< std::vector< std::pair< std::string,double > > >::difference_type >(val3); try { - result = (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > *)std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > *)std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -10389,7 +10764,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___getslice__(PyObject *SWIGUNUSEDPAR } -SWIGINTERN PyObject *_wrap_PairVectorVector___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::difference_type arg2 ; @@ -10418,7 +10793,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setslice____SWIG_0(PyObject *SWIGU } arg3 = static_cast< std::vector< std::vector< std::pair< std::string,double > > >::difference_type >(val3); try { - std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -10431,7 +10806,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setslice____SWIG_0(PyObject *SWIGU } -SWIGINTERN PyObject *_wrap_PairVectorVector___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::difference_type arg2 ; @@ -10473,7 +10848,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setslice____SWIG_1(PyObject *SWIGU arg4 = ptr; } try { - std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > const &)*arg4); + std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -10497,7 +10872,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setslice__(PyObject *self, PyObjec if (!(argc = SWIG_Python_UnpackTuple(args, "PairVectorVector___setslice__", 0, 4, argv))) SWIG_fail; --argc; if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -10517,7 +10892,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setslice__(PyObject *self, PyObjec } } if (argc == 4) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -10550,7 +10925,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setslice__(PyObject *self, PyObjec } -SWIGINTERN PyObject *_wrap_PairVectorVector___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector___delslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::difference_type arg2 ; @@ -10580,7 +10955,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___delslice__(PyObject *SWIGUNUSEDPAR } arg3 = static_cast< std::vector< std::vector< std::pair< std::string,double > > >::difference_type >(val3); try { - std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -10593,7 +10968,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___delslice__(PyObject *SWIGUNUSEDPAR } -SWIGINTERN PyObject *_wrap_PairVectorVector___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::difference_type arg2 ; @@ -10614,7 +10989,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___delitem____SWIG_0(PyObject *SWIGUN } arg2 = static_cast< std::vector< std::vector< std::pair< std::string,double > > >::difference_type >(val2); try { - std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -10627,10 +11002,10 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___delitem____SWIG_0(PyObject *SWIGUN } -SWIGINTERN PyObject *_wrap_PairVectorVector___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > *result = 0 ; @@ -10643,9 +11018,9 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___getitem____SWIG_0(PyObject *SWIGUN arg1 = reinterpret_cast< std::vector< std::vector< std::pair< std::string,double > > > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVectorVector___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVectorVector___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > *)std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____getitem____SWIG_0(arg1,arg2); @@ -10661,10 +11036,10 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___getitem____SWIG_0(PyObject *SWIGUN } -SWIGINTERN PyObject *_wrap_PairVectorVector___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -10678,9 +11053,9 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setitem____SWIG_0(PyObject *SWIGUN arg1 = reinterpret_cast< std::vector< std::vector< std::pair< std::string,double > > > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVectorVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVectorVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > *ptr = (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > *)0; @@ -10709,10 +11084,10 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setitem____SWIG_0(PyObject *SWIGUN } -SWIGINTERN PyObject *_wrap_PairVectorVector___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -10724,9 +11099,9 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setitem____SWIG_1(PyObject *SWIGUN arg1 = reinterpret_cast< std::vector< std::vector< std::pair< std::string,double > > > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVectorVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVectorVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____setitem____SWIG_1(arg1,arg2); @@ -10742,10 +11117,10 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setitem____SWIG_1(PyObject *SWIGUN } -SWIGINTERN PyObject *_wrap_PairVectorVector___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -10757,9 +11132,9 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___delitem____SWIG_1(PyObject *SWIGUN arg1 = reinterpret_cast< std::vector< std::vector< std::pair< std::string,double > > > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVectorVector___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVectorVector___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____delitem____SWIG_1(arg1,arg2); @@ -10784,7 +11159,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___delitem__(PyObject *self, PyObject if (!(argc = SWIG_Python_UnpackTuple(args, "PairVectorVector___delitem__", 0, 2, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -10797,7 +11172,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___delitem__(PyObject *self, PyObject } } if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -10815,12 +11190,12 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___delitem__(PyObject *self, PyObject SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'PairVectorVector___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< std::vector< std::pair< std::string,double > > >::__delitem__(std::vector< std::vector< std::pair< std::string,double > > >::difference_type)\n" - " std::vector< std::vector< std::pair< std::string,double > > >::__delitem__(PySliceObject *)\n"); + " std::vector< std::vector< std::pair< std::string,double > > >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } -SWIGINTERN PyObject *_wrap_PairVectorVector___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::difference_type arg2 ; @@ -10842,7 +11217,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___getitem____SWIG_1(PyObject *SWIGUN } arg2 = static_cast< std::vector< std::vector< std::pair< std::string,double > > >::difference_type >(val2); try { - result = (std::vector< std::vector< std::pair< std::string,double > > >::value_type *) &std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____getitem____SWIG_1((std::vector< std::vector< std::pair< std::string,double > > > const *)arg1,arg2); + result = (std::vector< std::vector< std::pair< std::string,double > > >::value_type *) &std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____getitem____SWIG_1((std::vector< std::vector< std::pair< std::string,double > > > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -10863,7 +11238,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___getitem__(PyObject *self, PyObject if (!(argc = SWIG_Python_UnpackTuple(args, "PairVectorVector___getitem__", 0, 2, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -10876,7 +11251,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___getitem__(PyObject *self, PyObject } } if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -10893,13 +11268,13 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___getitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'PairVectorVector___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::vector< std::pair< std::string,double > > >::__getitem__(PySliceObject *)\n" + " std::vector< std::vector< std::pair< std::string,double > > >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< std::vector< std::pair< std::string,double > > >::__getitem__(std::vector< std::vector< std::pair< std::string,double > > >::difference_type) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_PairVectorVector___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::difference_type arg2 ; @@ -10933,7 +11308,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setitem____SWIG_2(PyObject *SWIGUN arg3 = ptr; } try { - std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____setitem____SWIG_2(arg1,arg2,(std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &)*arg3); + std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -10955,7 +11330,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setitem__(PyObject *self, PyObject if (!(argc = SWIG_Python_UnpackTuple(args, "PairVectorVector___setitem__", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -10968,7 +11343,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setitem__(PyObject *self, PyObject } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -10985,7 +11360,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setitem__(PyObject *self, PyObject } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -11006,14 +11381,14 @@ SWIGINTERN PyObject *_wrap_PairVectorVector___setitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'PairVectorVector___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::vector< std::pair< std::string,double > > >::__setitem__(PySliceObject *,std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > const &)\n" - " std::vector< std::vector< std::pair< std::string,double > > >::__setitem__(PySliceObject *)\n" + " std::vector< std::vector< std::pair< std::string,double > > >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > const &)\n" + " std::vector< std::vector< std::pair< std::string,double > > >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< std::vector< std::pair< std::string,double > > >::__setitem__(std::vector< std::vector< std::pair< std::string,double > > >::difference_type,std::vector< std::vector< std::pair< std::string,double > > >::value_type const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_PairVectorVector_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_pop(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11040,7 +11415,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_pop(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_PairVectorVector_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_append(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::value_type *arg2 = 0 ; @@ -11076,7 +11451,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_append(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_new_PairVectorVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_new_PairVectorVector__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *result = 0 ; @@ -11089,7 +11464,7 @@ SWIGINTERN PyObject *_wrap_new_PairVectorVector__SWIG_0(PyObject *SWIGUNUSEDPARM } -SWIGINTERN PyObject *_wrap_new_PairVectorVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_PairVectorVector__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; @@ -11117,7 +11492,7 @@ SWIGINTERN PyObject *_wrap_new_PairVectorVector__SWIG_1(PyObject *SWIGUNUSEDPARM } -SWIGINTERN PyObject *_wrap_PairVectorVector_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_empty(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11140,7 +11515,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_empty(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_PairVectorVector_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11163,7 +11538,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_size(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_PairVectorVector_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_swap(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > *arg2 = 0 ; @@ -11195,7 +11570,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_swap(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_PairVectorVector_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_begin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11219,7 +11594,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_begin(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_PairVectorVector_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_end(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11243,7 +11618,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_end(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_PairVectorVector_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_rbegin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11267,7 +11642,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_rbegin(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_PairVectorVector_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_rend(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11291,7 +11666,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_rend(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_PairVectorVector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_clear(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11313,7 +11688,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_clear(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_PairVectorVector_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_get_allocator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11329,14 +11704,14 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_get_allocator(PyObject *SWIGUNUSEDPA } arg1 = reinterpret_cast< std::vector< std::vector< std::pair< std::string,double > > > * >(argp1); result = ((std::vector< std::vector< std::pair< std::string,double > > > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::vector< std::pair< std::string,double > > >::allocator_type(static_cast< const std::vector< std::vector< std::pair< std::string,double > > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< std::vector< std::pair< std::string,double > > >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_new_PairVectorVector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_PairVectorVector__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > >::size_type arg1 ; size_t val1 ; @@ -11357,7 +11732,7 @@ SWIGINTERN PyObject *_wrap_new_PairVectorVector__SWIG_2(PyObject *SWIGUNUSEDPARM } -SWIGINTERN PyObject *_wrap_PairVectorVector_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_pop_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11379,7 +11754,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_pop_back(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_PairVectorVector_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::size_type arg2 ; @@ -11407,7 +11782,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_resize__SWIG_0(PyObject *SWIGUNUSEDP } -SWIGINTERN PyObject *_wrap_PairVectorVector_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::iterator arg2 ; @@ -11434,7 +11809,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_erase__SWIG_0(PyObject *SWIGUNUSEDPA SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVectorVector_erase" "', argument " "2"" of type '" "std::vector< std::vector< std::pair< std::string,double > > >::iterator""'"); } } - result = std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< std::pair< std::string,double > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -11443,7 +11818,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_erase__SWIG_0(PyObject *SWIGUNUSEDPA } -SWIGINTERN PyObject *_wrap_PairVectorVector_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::iterator arg2 ; @@ -11484,7 +11859,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_erase__SWIG_1(PyObject *SWIGUNUSEDPA SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "PairVectorVector_erase" "', argument " "3"" of type '" "std::vector< std::vector< std::pair< std::string,double > > >::iterator""'"); } } - result = std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< std::pair< std::string,double > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -11502,7 +11877,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_erase(PyObject *self, PyObject *args if (!(argc = SWIG_Python_UnpackTuple(args, "PairVectorVector_erase", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -11515,7 +11890,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_erase(PyObject *self, PyObject *args } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -11542,7 +11917,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_erase(PyObject *self, PyObject *args } -SWIGINTERN PyObject *_wrap_new_PairVectorVector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_PairVectorVector__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > >::size_type arg1 ; std::vector< std::vector< std::pair< std::string,double > > >::value_type *arg2 = 0 ; @@ -11590,7 +11965,7 @@ SWIGINTERN PyObject *_wrap_new_PairVectorVector(PyObject *self, PyObject *args) return _wrap_new_PairVectorVector__SWIG_0(self, argc, argv); } if (argc == 1) { - int _v; + int _v = 0; { int res = SWIG_AsVal_size_t(argv[0], NULL); _v = SWIG_CheckState(res); @@ -11600,7 +11975,7 @@ SWIGINTERN PyObject *_wrap_new_PairVectorVector(PyObject *self, PyObject *args) } } if (argc == 1) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -11608,7 +11983,7 @@ SWIGINTERN PyObject *_wrap_new_PairVectorVector(PyObject *self, PyObject *args) } } if (argc == 2) { - int _v; + int _v = 0; { int res = SWIG_AsVal_size_t(argv[0], NULL); _v = SWIG_CheckState(res); @@ -11633,7 +12008,7 @@ SWIGINTERN PyObject *_wrap_new_PairVectorVector(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_PairVectorVector_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_push_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::value_type *arg2 = 0 ; @@ -11669,7 +12044,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_push_back(PyObject *SWIGUNUSEDPARM(s } -SWIGINTERN PyObject *_wrap_PairVectorVector_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_front(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11693,7 +12068,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_front(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_PairVectorVector_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -11717,7 +12092,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_back(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_PairVectorVector_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_assign(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::size_type arg2 ; @@ -11761,7 +12136,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_assign(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_PairVectorVector_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::size_type arg2 ; @@ -11813,7 +12188,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_resize(PyObject *self, PyObject *arg if (!(argc = SWIG_Python_UnpackTuple(args, "PairVectorVector_resize", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -11827,7 +12202,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_resize(PyObject *self, PyObject *arg } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -11854,7 +12229,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_resize(PyObject *self, PyObject *arg } -SWIGINTERN PyObject *_wrap_PairVectorVector_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::iterator arg2 ; @@ -11894,7 +12269,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_insert__SWIG_0(PyObject *SWIGUNUSEDP } arg3 = ptr; } - result = std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg__insert__SWIG_0(arg1,arg2,(std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &)*arg3); + result = std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< std::pair< std::string,double > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); if (SWIG_IsNewObj(res3)) delete arg3; @@ -11905,7 +12280,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_insert__SWIG_0(PyObject *SWIGUNUSEDP } -SWIGINTERN PyObject *_wrap_PairVectorVector_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_PairVectorVector_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::iterator arg2 ; @@ -11952,7 +12327,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_insert__SWIG_1(PyObject *SWIGUNUSEDP } arg4 = ptr; } - std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg__insert__SWIG_1(arg1,arg2,arg3,(std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &)*arg4); + std_vector_Sl_std_vector_Sl_std_pair_Sl_std_string_Sc_double_Sg__Sg__Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > const &)*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; @@ -11971,7 +12346,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_insert(PyObject *self, PyObject *arg if (!(argc = SWIG_Python_UnpackTuple(args, "PairVectorVector_insert", 0, 4, argv))) SWIG_fail; --argc; if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -11988,7 +12363,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_insert(PyObject *self, PyObject *arg } } if (argc == 4) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -12020,7 +12395,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_insert(PyObject *self, PyObject *arg } -SWIGINTERN PyObject *_wrap_PairVectorVector_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_reserve(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; std::vector< std::vector< std::pair< std::string,double > > >::size_type arg2 ; @@ -12049,7 +12424,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_reserve(PyObject *SWIGUNUSEDPARM(sel } -SWIGINTERN PyObject *_wrap_PairVectorVector_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_PairVectorVector_capacity(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -12072,7 +12447,7 @@ SWIGINTERN PyObject *_wrap_PairVectorVector_capacity(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_delete_PairVectorVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_PairVectorVector(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< std::vector< std::pair< std::string,double > > > *arg1 = (std::vector< std::vector< std::pair< std::string,double > > > *) 0 ; void *argp1 = 0 ; @@ -12113,7 +12488,7 @@ SWIGINTERN PyObject *PairVectorVector_swiginit(PyObject *SWIGUNUSEDPARM(self), P return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_TagsVector_iterator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_iterator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; PyObject **arg2 = (PyObject **) 0 ; @@ -12138,7 +12513,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_iterator(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_TagsVector___nonzero__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector___nonzero__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -12161,7 +12536,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___nonzero__(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_TagsVector___bool__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector___bool__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -12184,7 +12559,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___bool__(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_TagsVector___len__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector___len__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -12207,7 +12582,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___len__(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_TagsVector___getslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector___getslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::difference_type arg2 ; @@ -12238,7 +12613,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___getslice__(PyObject *SWIGUNUSEDPARM(self } arg3 = static_cast< std::vector< Tags >::difference_type >(val3); try { - result = (std::vector< Tags,std::allocator< Tags > > *)std_vector_Sl_Tags_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< Tags,std::allocator< Tags > > *)std_vector_Sl_Tags_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -12251,7 +12626,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___getslice__(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_TagsVector___setslice____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector___setslice____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::difference_type arg2 ; @@ -12280,7 +12655,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___setslice____SWIG_0(PyObject *SWIGUNUSEDP } arg3 = static_cast< std::vector< Tags >::difference_type >(val3); try { - std_vector_Sl_Tags_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_Tags_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -12293,7 +12668,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___setslice____SWIG_0(PyObject *SWIGUNUSEDP } -SWIGINTERN PyObject *_wrap_TagsVector___setslice____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector___setslice____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::difference_type arg2 ; @@ -12335,7 +12710,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___setslice____SWIG_1(PyObject *SWIGUNUSEDP arg4 = ptr; } try { - std_vector_Sl_Tags_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< Tags,std::allocator< Tags > > const &)*arg4); + std_vector_Sl_Tags_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< Tags,std::allocator< Tags > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -12359,7 +12734,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___setslice__(PyObject *self, PyObject *arg if (!(argc = SWIG_Python_UnpackTuple(args, "TagsVector___setslice__", 0, 4, argv))) SWIG_fail; --argc; if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -12379,7 +12754,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___setslice__(PyObject *self, PyObject *arg } } if (argc == 4) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -12412,7 +12787,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___setslice__(PyObject *self, PyObject *arg } -SWIGINTERN PyObject *_wrap_TagsVector___delslice__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector___delslice__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::difference_type arg2 ; @@ -12442,7 +12817,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___delslice__(PyObject *SWIGUNUSEDPARM(self } arg3 = static_cast< std::vector< Tags >::difference_type >(val3); try { - std_vector_Sl_Tags_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_Tags_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -12455,7 +12830,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___delslice__(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_TagsVector___delitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector___delitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::difference_type arg2 ; @@ -12476,7 +12851,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___delitem____SWIG_0(PyObject *SWIGUNUSEDPA } arg2 = static_cast< std::vector< Tags >::difference_type >(val2); try { - std_vector_Sl_Tags_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_Tags_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -12489,10 +12864,10 @@ SWIGINTERN PyObject *_wrap_TagsVector___delitem____SWIG_0(PyObject *SWIGUNUSEDPA } -SWIGINTERN PyObject *_wrap_TagsVector___getitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< Tags,std::allocator< Tags > > *result = 0 ; @@ -12505,9 +12880,9 @@ SWIGINTERN PyObject *_wrap_TagsVector___getitem____SWIG_0(PyObject *SWIGUNUSEDPA arg1 = reinterpret_cast< std::vector< Tags > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "TagsVector___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "TagsVector___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< Tags,std::allocator< Tags > > *)std_vector_Sl_Tags_Sg____getitem____SWIG_0(arg1,arg2); @@ -12523,10 +12898,10 @@ SWIGINTERN PyObject *_wrap_TagsVector___getitem____SWIG_0(PyObject *SWIGUNUSEDPA } -SWIGINTERN PyObject *_wrap_TagsVector___setitem____SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< Tags,std::allocator< Tags > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12540,9 +12915,9 @@ SWIGINTERN PyObject *_wrap_TagsVector___setitem____SWIG_0(PyObject *SWIGUNUSEDPA arg1 = reinterpret_cast< std::vector< Tags > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "TagsVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "TagsVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< Tags,std::allocator< Tags > > *ptr = (std::vector< Tags,std::allocator< Tags > > *)0; @@ -12571,10 +12946,10 @@ SWIGINTERN PyObject *_wrap_TagsVector___setitem____SWIG_0(PyObject *SWIGUNUSEDPA } -SWIGINTERN PyObject *_wrap_TagsVector___setitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12586,9 +12961,9 @@ SWIGINTERN PyObject *_wrap_TagsVector___setitem____SWIG_1(PyObject *SWIGUNUSEDPA arg1 = reinterpret_cast< std::vector< Tags > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "TagsVector___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "TagsVector___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_Tags_Sg____setitem____SWIG_1(arg1,arg2); @@ -12604,10 +12979,10 @@ SWIGINTERN PyObject *_wrap_TagsVector___setitem____SWIG_1(PyObject *SWIGUNUSEDPA } -SWIGINTERN PyObject *_wrap_TagsVector___delitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -12619,9 +12994,9 @@ SWIGINTERN PyObject *_wrap_TagsVector___delitem____SWIG_1(PyObject *SWIGUNUSEDPA arg1 = reinterpret_cast< std::vector< Tags > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "TagsVector___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "TagsVector___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_Tags_Sg____delitem____SWIG_1(arg1,arg2); @@ -12646,7 +13021,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___delitem__(PyObject *self, PyObject *args if (!(argc = SWIG_Python_UnpackTuple(args, "TagsVector___delitem__", 0, 2, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -12659,7 +13034,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___delitem__(PyObject *self, PyObject *args } } if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -12677,12 +13052,12 @@ SWIGINTERN PyObject *_wrap_TagsVector___delitem__(PyObject *self, PyObject *args SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'TagsVector___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< Tags >::__delitem__(std::vector< Tags >::difference_type)\n" - " std::vector< Tags >::__delitem__(PySliceObject *)\n"); + " std::vector< Tags >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } -SWIGINTERN PyObject *_wrap_TagsVector___getitem____SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector___getitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::difference_type arg2 ; @@ -12704,7 +13079,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___getitem____SWIG_1(PyObject *SWIGUNUSEDPA } arg2 = static_cast< std::vector< Tags >::difference_type >(val2); try { - result = (std::vector< Tags >::value_type *) &std_vector_Sl_Tags_Sg____getitem____SWIG_1((std::vector< Tags > const *)arg1,arg2); + result = (std::vector< Tags >::value_type *) &std_vector_Sl_Tags_Sg____getitem____SWIG_1((std::vector< Tags > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -12725,7 +13100,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___getitem__(PyObject *self, PyObject *args if (!(argc = SWIG_Python_UnpackTuple(args, "TagsVector___getitem__", 0, 2, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -12738,7 +13113,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___getitem__(PyObject *self, PyObject *args } } if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -12755,13 +13130,13 @@ SWIGINTERN PyObject *_wrap_TagsVector___getitem__(PyObject *self, PyObject *args fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'TagsVector___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< Tags >::__getitem__(PySliceObject *)\n" + " std::vector< Tags >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< Tags >::__getitem__(std::vector< Tags >::difference_type) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_TagsVector___setitem____SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector___setitem____SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::difference_type arg2 ; @@ -12793,7 +13168,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___setitem____SWIG_2(PyObject *SWIGUNUSEDPA } arg3 = reinterpret_cast< std::vector< Tags >::value_type * >(argp3); try { - std_vector_Sl_Tags_Sg____setitem____SWIG_2(arg1,arg2,(Tags const &)*arg3); + std_vector_Sl_Tags_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(Tags const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -12813,7 +13188,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___setitem__(PyObject *self, PyObject *args if (!(argc = SWIG_Python_UnpackTuple(args, "TagsVector___setitem__", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -12826,7 +13201,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___setitem__(PyObject *self, PyObject *args } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -12843,7 +13218,7 @@ SWIGINTERN PyObject *_wrap_TagsVector___setitem__(PyObject *self, PyObject *args } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -12864,14 +13239,14 @@ SWIGINTERN PyObject *_wrap_TagsVector___setitem__(PyObject *self, PyObject *args fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'TagsVector___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< Tags >::__setitem__(PySliceObject *,std::vector< Tags,std::allocator< Tags > > const &)\n" - " std::vector< Tags >::__setitem__(PySliceObject *)\n" + " std::vector< Tags >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< Tags,std::allocator< Tags > > const &)\n" + " std::vector< Tags >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< Tags >::__setitem__(std::vector< Tags >::difference_type,std::vector< Tags >::value_type const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_TagsVector_pop(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_pop(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -12891,14 +13266,14 @@ SWIGINTERN PyObject *_wrap_TagsVector_pop(PyObject *SWIGUNUSEDPARM(self), PyObje } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj((new std::vector< Tags >::value_type(static_cast< const std::vector< Tags >::value_type& >(result))), SWIGTYPE_p_Tags, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< Tags >::value_type(result)), SWIGTYPE_p_Tags, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_TagsVector_append(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_append(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::value_type *arg2 = 0 ; @@ -12930,7 +13305,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_append(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_new_TagsVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_new_TagsVector__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; std::vector< Tags > *result = 0 ; @@ -12943,7 +13318,7 @@ SWIGINTERN PyObject *_wrap_new_TagsVector__SWIG_0(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_new_TagsVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_TagsVector__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; @@ -12971,7 +13346,7 @@ SWIGINTERN PyObject *_wrap_new_TagsVector__SWIG_1(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_TagsVector_empty(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_empty(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -12994,7 +13369,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_empty(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_TagsVector_size(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13017,7 +13392,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_size(PyObject *SWIGUNUSEDPARM(self), PyObj } -SWIGINTERN PyObject *_wrap_TagsVector_swap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_swap(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags > *arg2 = 0 ; @@ -13049,7 +13424,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_swap(PyObject *SWIGUNUSEDPARM(self), PyObj } -SWIGINTERN PyObject *_wrap_TagsVector_begin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_begin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13073,7 +13448,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_begin(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_TagsVector_end(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_end(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13097,7 +13472,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_end(PyObject *SWIGUNUSEDPARM(self), PyObje } -SWIGINTERN PyObject *_wrap_TagsVector_rbegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_rbegin(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13121,7 +13496,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_rbegin(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_TagsVector_rend(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_rend(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13145,7 +13520,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_rend(PyObject *SWIGUNUSEDPARM(self), PyObj } -SWIGINTERN PyObject *_wrap_TagsVector_clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_clear(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13167,7 +13542,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_clear(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_TagsVector_get_allocator(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_get_allocator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13183,14 +13558,14 @@ SWIGINTERN PyObject *_wrap_TagsVector_get_allocator(PyObject *SWIGUNUSEDPARM(sel } arg1 = reinterpret_cast< std::vector< Tags > * >(argp1); result = ((std::vector< Tags > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< Tags >::allocator_type(static_cast< const std::vector< Tags >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_Tags_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< Tags >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_Tags_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_new_TagsVector__SWIG_2(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_TagsVector__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags >::size_type arg1 ; size_t val1 ; @@ -13211,7 +13586,7 @@ SWIGINTERN PyObject *_wrap_new_TagsVector__SWIG_2(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_TagsVector_pop_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_pop_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13233,7 +13608,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_pop_back(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_TagsVector_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector_resize__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::size_type arg2 ; @@ -13261,7 +13636,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_resize__SWIG_0(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_TagsVector_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector_erase__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::iterator arg2 ; @@ -13288,7 +13663,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(sel SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "TagsVector_erase" "', argument " "2"" of type '" "std::vector< Tags >::iterator""'"); } } - result = std_vector_Sl_Tags_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_Tags_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Tags >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -13297,7 +13672,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_erase__SWIG_0(PyObject *SWIGUNUSEDPARM(sel } -SWIGINTERN PyObject *_wrap_TagsVector_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector_erase__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::iterator arg2 ; @@ -13338,7 +13713,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_erase__SWIG_1(PyObject *SWIGUNUSEDPARM(sel SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "TagsVector_erase" "', argument " "3"" of type '" "std::vector< Tags >::iterator""'"); } } - result = std_vector_Sl_Tags_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_Tags_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Tags >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -13356,7 +13731,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_erase(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "TagsVector_erase", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -13369,7 +13744,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_erase(PyObject *self, PyObject *args) { } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -13396,7 +13771,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_erase(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_new_TagsVector__SWIG_3(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_TagsVector__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags >::size_type arg1 ; std::vector< Tags >::value_type *arg2 = 0 ; @@ -13440,7 +13815,7 @@ SWIGINTERN PyObject *_wrap_new_TagsVector(PyObject *self, PyObject *args) { return _wrap_new_TagsVector__SWIG_0(self, argc, argv); } if (argc == 1) { - int _v; + int _v = 0; { int res = SWIG_AsVal_size_t(argv[0], NULL); _v = SWIG_CheckState(res); @@ -13450,7 +13825,7 @@ SWIGINTERN PyObject *_wrap_new_TagsVector(PyObject *self, PyObject *args) { } } if (argc == 1) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -13458,7 +13833,7 @@ SWIGINTERN PyObject *_wrap_new_TagsVector(PyObject *self, PyObject *args) { } } if (argc == 2) { - int _v; + int _v = 0; { int res = SWIG_AsVal_size_t(argv[0], NULL); _v = SWIG_CheckState(res); @@ -13483,7 +13858,7 @@ SWIGINTERN PyObject *_wrap_new_TagsVector(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_TagsVector_push_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_push_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::value_type *arg2 = 0 ; @@ -13515,7 +13890,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_push_back(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_TagsVector_front(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_front(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13539,7 +13914,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_front(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_TagsVector_back(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13563,7 +13938,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_back(PyObject *SWIGUNUSEDPARM(self), PyObj } -SWIGINTERN PyObject *_wrap_TagsVector_assign(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_assign(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::size_type arg2 ; @@ -13603,7 +13978,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_assign(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_TagsVector_resize__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector_resize__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::size_type arg2 ; @@ -13651,7 +14026,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_resize(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "TagsVector_resize", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -13665,7 +14040,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_resize(PyObject *self, PyObject *args) { } } if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -13692,7 +14067,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_resize(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_TagsVector_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::iterator arg2 ; @@ -13730,7 +14105,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(se SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TagsVector_insert" "', argument " "3"" of type '" "std::vector< Tags >::value_type const &""'"); } arg3 = reinterpret_cast< std::vector< Tags >::value_type * >(argp3); - result = std_vector_Sl_Tags_Sg__insert__SWIG_0(arg1,arg2,(Tags const &)*arg3); + result = std_vector_Sl_Tags_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(Tags const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< Tags >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -13739,7 +14114,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_insert__SWIG_0(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_TagsVector_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_TagsVector_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::iterator arg2 ; @@ -13784,7 +14159,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_insert__SWIG_1(PyObject *SWIGUNUSEDPARM(se SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TagsVector_insert" "', argument " "4"" of type '" "std::vector< Tags >::value_type const &""'"); } arg4 = reinterpret_cast< std::vector< Tags >::value_type * >(argp4); - std_vector_Sl_Tags_Sg__insert__SWIG_1(arg1,arg2,arg3,(Tags const &)*arg4); + std_vector_Sl_Tags_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(Tags const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -13801,7 +14176,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_insert(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "TagsVector_insert", 0, 4, argv))) SWIG_fail; --argc; if (argc == 3) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -13818,7 +14193,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_insert(PyObject *self, PyObject *args) { } } if (argc == 4) { - int _v; + int _v = 0; int res = swig::asptr(argv[0], (std::vector< Tags,std::allocator< Tags > >**)(0)); _v = SWIG_CheckState(res); if (_v) { @@ -13850,7 +14225,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_insert(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_TagsVector_reserve(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_reserve(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; std::vector< Tags >::size_type arg2 ; @@ -13879,7 +14254,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_reserve(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_TagsVector_capacity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_TagsVector_capacity(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13902,7 +14277,7 @@ SWIGINTERN PyObject *_wrap_TagsVector_capacity(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_delete_TagsVector(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_TagsVector(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::vector< Tags > *arg1 = (std::vector< Tags > *) 0 ; void *argp1 = 0 ; @@ -13943,7 +14318,7 @@ SWIGINTERN PyObject *TagsVector_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObjec return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_Kytea_readModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_readModel(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; char *arg2 = (char *) 0 ; @@ -13983,7 +14358,7 @@ SWIGINTERN PyObject *_wrap_Kytea_readModel(PyObject *SWIGUNUSEDPARM(self), PyObj } -SWIGINTERN PyObject *_wrap_Kytea_writeModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_writeModel(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; char *arg2 = (char *) 0 ; @@ -14023,7 +14398,7 @@ SWIGINTERN PyObject *_wrap_Kytea_writeModel(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_Kytea_calculateWS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_calculateWS(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; KyteaSentence *arg2 = 0 ; @@ -14063,7 +14438,7 @@ SWIGINTERN PyObject *_wrap_Kytea_calculateWS(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_Kytea_calculateTags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_calculateTags(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; KyteaSentence *arg2 = 0 ; @@ -14111,7 +14486,7 @@ SWIGINTERN PyObject *_wrap_Kytea_calculateTags(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_Kytea_calculateUnknownTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_calculateUnknownTag(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; KyteaWord *arg2 = 0 ; @@ -14159,7 +14534,7 @@ SWIGINTERN PyObject *_wrap_Kytea_calculateUnknownTag(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_Kytea_getStringUtil(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_getStringUtil(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; void *argp1 = 0 ; @@ -14190,7 +14565,7 @@ SWIGINTERN PyObject *_wrap_Kytea_getStringUtil(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_Kytea_getConfig(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_getConfig(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; void *argp1 = 0 ; @@ -14221,7 +14596,7 @@ SWIGINTERN PyObject *_wrap_Kytea_getConfig(PyObject *SWIGUNUSEDPARM(self), PyObj } -SWIGINTERN PyObject *_wrap_Kytea_trainAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_trainAll(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; void *argp1 = 0 ; @@ -14251,7 +14626,7 @@ SWIGINTERN PyObject *_wrap_Kytea_trainAll(PyObject *SWIGUNUSEDPARM(self), PyObje } -SWIGINTERN PyObject *_wrap_Kytea_analyze(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_analyze(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; void *argp1 = 0 ; @@ -14281,7 +14656,7 @@ SWIGINTERN PyObject *_wrap_Kytea_analyze(PyObject *SWIGUNUSEDPARM(self), PyObjec } -SWIGINTERN PyObject *_wrap_Kytea_init(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_init(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; void *argp1 = 0 ; @@ -14311,7 +14686,7 @@ SWIGINTERN PyObject *_wrap_Kytea_init(PyObject *SWIGUNUSEDPARM(self), PyObject * } -SWIGINTERN PyObject *_wrap_new_Kytea__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_new_Kytea__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; kytea::Kytea *result = 0 ; @@ -14332,7 +14707,7 @@ SWIGINTERN PyObject *_wrap_new_Kytea__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ } -SWIGINTERN PyObject *_wrap_new_Kytea__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_Kytea__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; kytea::KyteaConfig *arg1 = (kytea::KyteaConfig *) 0 ; void *argp1 = 0 ; @@ -14373,7 +14748,7 @@ SWIGINTERN PyObject *_wrap_new_Kytea(PyObject *self, PyObject *args) { return _wrap_new_Kytea__SWIG_0(self, argc, argv); } if (argc == 1) { - int _v; + int _v = 0; void *vptr = 0; int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_kytea__KyteaConfig, 0); _v = SWIG_CheckState(res); @@ -14391,7 +14766,7 @@ SWIGINTERN PyObject *_wrap_new_Kytea(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_delete_Kytea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_Kytea(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; void *argp1 = 0 ; @@ -14421,7 +14796,7 @@ SWIGINTERN PyObject *_wrap_delete_Kytea(PyObject *SWIGUNUSEDPARM(self), PyObject } -SWIGINTERN PyObject *_wrap_Kytea_getWSModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_getWSModel(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; void *argp1 = 0 ; @@ -14452,7 +14827,7 @@ SWIGINTERN PyObject *_wrap_Kytea_getWSModel(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_Kytea_setWSModel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_setWSModel(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; kytea::KyteaModel *arg2 = (kytea::KyteaModel *) 0 ; @@ -14489,7 +14864,7 @@ SWIGINTERN PyObject *_wrap_Kytea_setWSModel(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_Kytea_checkEqual(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Kytea_checkEqual(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::Kytea *arg1 = (kytea::Kytea *) 0 ; kytea::Kytea *arg2 = 0 ; @@ -14540,7 +14915,7 @@ SWIGINTERN PyObject *Kytea_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *ar return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap___lt__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaTag *arg1 = 0 ; kytea::KyteaTag *arg2 = 0 ; @@ -14586,7 +14961,7 @@ SWIGINTERN PyObject *_wrap___lt__(PyObject *SWIGUNUSEDPARM(self), PyObject *args } -SWIGINTERN PyObject *_wrap_new_KyteaWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_new_KyteaWord(PyObject *self, PyObject *args) { PyObject *resultobj = 0; KyteaString *arg1 = 0 ; KyteaString *arg2 = 0 ; @@ -14630,7 +15005,7 @@ SWIGINTERN PyObject *_wrap_new_KyteaWord(PyObject *SWIGUNUSEDPARM(self), PyObjec } -SWIGINTERN PyObject *_wrap_KyteaWord_surface_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_surface_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; KyteaString arg2 ; @@ -14667,7 +15042,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_surface_set(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_KyteaWord_surface_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_surface_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; void *argp1 = 0 ; @@ -14683,14 +15058,14 @@ SWIGINTERN PyObject *_wrap_KyteaWord_surface_get(PyObject *SWIGUNUSEDPARM(self), } arg1 = reinterpret_cast< kytea::KyteaWord * >(argp1); result = ((arg1)->surface); - resultobj = SWIG_NewPointerObj((new KyteaString(static_cast< const KyteaString& >(result))), SWIGTYPE_p_KyteaString, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new KyteaString(result)), SWIGTYPE_p_KyteaString, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KyteaWord_norm_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_norm_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; KyteaString arg2 ; @@ -14727,7 +15102,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_norm_set(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_KyteaWord_norm_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_norm_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; void *argp1 = 0 ; @@ -14743,14 +15118,14 @@ SWIGINTERN PyObject *_wrap_KyteaWord_norm_get(PyObject *SWIGUNUSEDPARM(self), Py } arg1 = reinterpret_cast< kytea::KyteaWord * >(argp1); result = ((arg1)->norm); - resultobj = SWIG_NewPointerObj((new KyteaString(static_cast< const KyteaString& >(result))), SWIGTYPE_p_KyteaString, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new KyteaString(result)), SWIGTYPE_p_KyteaString, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KyteaWord_tags_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_tags_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; std::vector< std::vector< kytea::KyteaTag,std::allocator< kytea::KyteaTag > >,std::allocator< std::vector< kytea::KyteaTag,std::allocator< kytea::KyteaTag > > > > *arg2 = (std::vector< std::vector< kytea::KyteaTag,std::allocator< kytea::KyteaTag > >,std::allocator< std::vector< kytea::KyteaTag,std::allocator< kytea::KyteaTag > > > > *) 0 ; @@ -14779,7 +15154,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_tags_set(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_KyteaWord_tags_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_tags_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; void *argp1 = 0 ; @@ -14802,7 +15177,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_tags_get(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_KyteaWord_isCertain_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_isCertain_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; bool arg2 ; @@ -14831,7 +15206,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_isCertain_set(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_KyteaWord_isCertain_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_isCertain_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; void *argp1 = 0 ; @@ -14854,7 +15229,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_isCertain_get(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_KyteaWord_unknown_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_unknown_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; bool arg2 ; @@ -14883,7 +15258,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_unknown_set(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_KyteaWord_unknown_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_unknown_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; void *argp1 = 0 ; @@ -14906,7 +15281,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_unknown_get(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_KyteaWord_limitTags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_limitTags(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; unsigned int arg2 ; @@ -14951,7 +15326,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_limitTags(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_KyteaWord_getNumTags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_getNumTags(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; void *argp1 = 0 ; @@ -14982,7 +15357,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_getNumTags(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_KyteaWord_getTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_getTag(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; int arg2 ; @@ -15020,7 +15395,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_getTag(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_KyteaWord_getTags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_getTags(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; int arg2 ; @@ -15058,7 +15433,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_getTags(PyObject *SWIGUNUSEDPARM(self), PyO } -SWIGINTERN PyObject *_wrap_KyteaWord_getTagSurf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_getTagSurf(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; int arg2 ; @@ -15096,7 +15471,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_getTagSurf(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_KyteaWord_getTagConf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_getTagConf(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; int arg2 ; @@ -15134,7 +15509,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_getTagConf(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_KyteaWord_setTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_setTag(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; int arg2 ; @@ -15182,7 +15557,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_setTag(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_KyteaWord_setTagConf(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_setTagConf(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; int arg2 ; @@ -15227,7 +15602,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_setTagConf(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_KyteaWord_clearTags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_clearTags(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; int arg2 ; @@ -15264,7 +15639,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_clearTags(PyObject *SWIGUNUSEDPARM(self), P } -SWIGINTERN PyObject *_wrap_KyteaWord_addTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_addTag(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; int arg2 ; @@ -15312,7 +15687,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_addTag(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_KyteaWord_setUnknown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_setUnknown(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; bool arg2 ; @@ -15349,7 +15724,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_setUnknown(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_KyteaWord_getUnknown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_getUnknown(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; void *argp1 = 0 ; @@ -15380,7 +15755,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_getUnknown(PyObject *SWIGUNUSEDPARM(self), } -SWIGINTERN PyObject *_wrap_KyteaWord_hasTag(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaWord_hasTag(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; int arg2 ; @@ -15418,7 +15793,7 @@ SWIGINTERN PyObject *_wrap_KyteaWord_hasTag(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_delete_KyteaWord(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_KyteaWord(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaWord *arg1 = (kytea::KyteaWord *) 0 ; void *argp1 = 0 ; @@ -15459,7 +15834,7 @@ SWIGINTERN PyObject *KyteaWord_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_KyteaSentence_surface_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaSentence_surface_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaSentence *arg1 = (kytea::KyteaSentence *) 0 ; KyteaString arg2 ; @@ -15496,7 +15871,7 @@ SWIGINTERN PyObject *_wrap_KyteaSentence_surface_set(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_KyteaSentence_surface_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaSentence_surface_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaSentence *arg1 = (kytea::KyteaSentence *) 0 ; void *argp1 = 0 ; @@ -15512,14 +15887,14 @@ SWIGINTERN PyObject *_wrap_KyteaSentence_surface_get(PyObject *SWIGUNUSEDPARM(se } arg1 = reinterpret_cast< kytea::KyteaSentence * >(argp1); result = ((arg1)->surface); - resultobj = SWIG_NewPointerObj((new KyteaString(static_cast< const KyteaString& >(result))), SWIGTYPE_p_KyteaString, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new KyteaString(result)), SWIGTYPE_p_KyteaString, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KyteaSentence_norm_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaSentence_norm_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaSentence *arg1 = (kytea::KyteaSentence *) 0 ; KyteaString arg2 ; @@ -15556,7 +15931,7 @@ SWIGINTERN PyObject *_wrap_KyteaSentence_norm_set(PyObject *SWIGUNUSEDPARM(self) } -SWIGINTERN PyObject *_wrap_KyteaSentence_norm_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaSentence_norm_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaSentence *arg1 = (kytea::KyteaSentence *) 0 ; void *argp1 = 0 ; @@ -15572,14 +15947,14 @@ SWIGINTERN PyObject *_wrap_KyteaSentence_norm_get(PyObject *SWIGUNUSEDPARM(self) } arg1 = reinterpret_cast< kytea::KyteaSentence * >(argp1); result = ((arg1)->norm); - resultobj = SWIG_NewPointerObj((new KyteaString(static_cast< const KyteaString& >(result))), SWIGTYPE_p_KyteaString, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new KyteaString(result)), SWIGTYPE_p_KyteaString, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KyteaSentence_wsConfs_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaSentence_wsConfs_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaSentence *arg1 = (kytea::KyteaSentence *) 0 ; kytea::KyteaSentence::Floats *arg2 = (kytea::KyteaSentence::Floats *) 0 ; @@ -15608,7 +15983,7 @@ SWIGINTERN PyObject *_wrap_KyteaSentence_wsConfs_set(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_KyteaSentence_wsConfs_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaSentence_wsConfs_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaSentence *arg1 = (kytea::KyteaSentence *) 0 ; void *argp1 = 0 ; @@ -15631,7 +16006,7 @@ SWIGINTERN PyObject *_wrap_KyteaSentence_wsConfs_get(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_KyteaSentence_words_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaSentence_words_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaSentence *arg1 = (kytea::KyteaSentence *) 0 ; kytea::KyteaSentence::Words *arg2 = (kytea::KyteaSentence::Words *) 0 ; @@ -15660,7 +16035,7 @@ SWIGINTERN PyObject *_wrap_KyteaSentence_words_set(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_KyteaSentence_words_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaSentence_words_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaSentence *arg1 = (kytea::KyteaSentence *) 0 ; void *argp1 = 0 ; @@ -15683,7 +16058,7 @@ SWIGINTERN PyObject *_wrap_KyteaSentence_words_get(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_new_KyteaSentence__SWIG_0(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_new_KyteaSentence__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; kytea::KyteaSentence *result = 0 ; @@ -15704,7 +16079,7 @@ SWIGINTERN PyObject *_wrap_new_KyteaSentence__SWIG_0(PyObject *SWIGUNUSEDPARM(se } -SWIGINTERN PyObject *_wrap_new_KyteaSentence__SWIG_1(PyObject *SWIGUNUSEDPARM(self), Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_new_KyteaSentence__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; KyteaString *arg1 = 0 ; KyteaString *arg2 = 0 ; @@ -15759,7 +16134,7 @@ SWIGINTERN PyObject *_wrap_new_KyteaSentence(PyObject *self, PyObject *args) { return _wrap_new_KyteaSentence__SWIG_0(self, argc, argv); } if (argc == 2) { - int _v; + int _v = 0; int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_KyteaString, SWIG_POINTER_NO_NULL | 0); _v = SWIG_CheckState(res); if (_v) { @@ -15780,7 +16155,7 @@ SWIGINTERN PyObject *_wrap_new_KyteaSentence(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_KyteaSentence_refreshWS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_KyteaSentence_refreshWS(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaSentence *arg1 = (kytea::KyteaSentence *) 0 ; double arg2 ; @@ -15817,7 +16192,7 @@ SWIGINTERN PyObject *_wrap_KyteaSentence_refreshWS(PyObject *SWIGUNUSEDPARM(self } -SWIGINTERN PyObject *_wrap_delete_KyteaSentence(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_KyteaSentence(PyObject *self, PyObject *args) { PyObject *resultobj = 0; kytea::KyteaSentence *arg1 = (kytea::KyteaSentence *) 0 ; void *argp1 = 0 ; @@ -15858,7 +16233,7 @@ SWIGINTERN PyObject *KyteaSentence_swiginit(PyObject *SWIGUNUSEDPARM(self), PyOb return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_Tags_surface_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Tags_surface_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; Tags *arg1 = (Tags *) 0 ; std::string *arg2 = 0 ; @@ -15894,7 +16269,7 @@ SWIGINTERN PyObject *_wrap_Tags_surface_set(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_Tags_surface_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Tags_surface_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; Tags *arg1 = (Tags *) 0 ; void *argp1 = 0 ; @@ -15917,7 +16292,7 @@ SWIGINTERN PyObject *_wrap_Tags_surface_get(PyObject *SWIGUNUSEDPARM(self), PyOb } -SWIGINTERN PyObject *_wrap_Tags_tag_set(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Tags_tag_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; Tags *arg1 = (Tags *) 0 ; tags *arg2 = (tags *) 0 ; @@ -15946,7 +16321,7 @@ SWIGINTERN PyObject *_wrap_Tags_tag_set(PyObject *SWIGUNUSEDPARM(self), PyObject } -SWIGINTERN PyObject *_wrap_Tags_tag_get(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Tags_tag_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; Tags *arg1 = (Tags *) 0 ; void *argp1 = 0 ; @@ -15969,7 +16344,7 @@ SWIGINTERN PyObject *_wrap_Tags_tag_get(PyObject *SWIGUNUSEDPARM(self), PyObject } -SWIGINTERN PyObject *_wrap_new_Tags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_new_Tags(PyObject *self, PyObject *args) { PyObject *resultobj = 0; Tags *result = 0 ; @@ -15990,7 +16365,7 @@ SWIGINTERN PyObject *_wrap_new_Tags(PyObject *SWIGUNUSEDPARM(self), PyObject *ar } -SWIGINTERN PyObject *_wrap_delete_Tags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_Tags(PyObject *self, PyObject *args) { PyObject *resultobj = 0; Tags *arg1 = (Tags *) 0 ; void *argp1 = 0 ; @@ -16031,7 +16406,7 @@ SWIGINTERN PyObject *Tags_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *arg return SWIG_Python_InitShadowInstance(args); } -SWIGINTERN PyObject *_wrap_new_Mykytea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_new_Mykytea(PyObject *self, PyObject *args) { PyObject *resultobj = 0; char *arg1 = (char *) 0 ; int res1 ; @@ -16065,7 +16440,7 @@ SWIGINTERN PyObject *_wrap_new_Mykytea(PyObject *SWIGUNUSEDPARM(self), PyObject } -SWIGINTERN PyObject *_wrap_delete_Mykytea(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_Mykytea(PyObject *self, PyObject *args) { PyObject *resultobj = 0; Mykytea *arg1 = (Mykytea *) 0 ; void *argp1 = 0 ; @@ -16095,7 +16470,7 @@ SWIGINTERN PyObject *_wrap_delete_Mykytea(PyObject *SWIGUNUSEDPARM(self), PyObje } -SWIGINTERN PyObject *_wrap_Mykytea_getWS(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Mykytea_getWS(PyObject *self, PyObject *args) { PyObject *resultobj = 0; Mykytea *arg1 = (Mykytea *) 0 ; std::string arg2 ; @@ -16135,7 +16510,7 @@ SWIGINTERN PyObject *_wrap_Mykytea_getWS(PyObject *SWIGUNUSEDPARM(self), PyObjec } -SWIGINTERN PyObject *_wrap_Mykytea_getTags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Mykytea_getTags(PyObject *self, PyObject *args) { PyObject *resultobj = 0; Mykytea *arg1 = (Mykytea *) 0 ; std::string arg2 ; @@ -16175,7 +16550,7 @@ SWIGINTERN PyObject *_wrap_Mykytea_getTags(PyObject *SWIGUNUSEDPARM(self), PyObj } -SWIGINTERN PyObject *_wrap_Mykytea_getAllTags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Mykytea_getAllTags(PyObject *self, PyObject *args) { PyObject *resultobj = 0; Mykytea *arg1 = (Mykytea *) 0 ; std::string arg2 ; @@ -16215,7 +16590,7 @@ SWIGINTERN PyObject *_wrap_Mykytea_getAllTags(PyObject *SWIGUNUSEDPARM(self), Py } -SWIGINTERN PyObject *_wrap_Mykytea_getTagsToString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { +SWIGINTERN PyObject *_wrap_Mykytea_getTagsToString(PyObject *self, PyObject *args) { PyObject *resultobj = 0; Mykytea *arg1 = (Mykytea *) 0 ; std::string arg2 ; @@ -16267,7 +16642,6 @@ SWIGINTERN PyObject *Mykytea_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject * } static PyMethodDef SwigMethods[] = { - { "SWIG_PyInstanceMethod_New", SWIG_PyInstanceMethod_New, METH_O, NULL}, { "delete_SwigPyIterator", _wrap_delete_SwigPyIterator, METH_O, NULL}, { "SwigPyIterator_value", _wrap_SwigPyIterator_value, METH_O, NULL}, { "SwigPyIterator_incr", _wrap_SwigPyIterator_incr, METH_VARARGS, NULL}, @@ -16511,21 +16885,17 @@ static PyMethodDef SwigMethods[] = { { NULL, NULL, 0, NULL } }; -static PyMethodDef SwigMethods_proxydocs[] = { - { NULL, NULL, 0, NULL } -}; - /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ static swig_type_info _swigt__p_Floats = {"_p_Floats", "Floats *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_KyteaString = {"_p_KyteaString", "KyteaString *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_KyteaStringMapT_double_t = {"_p_KyteaStringMapT_double_t", "KyteaDoubleMap *|KyteaStringMap< double > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_KyteaStringMapT_std__pairT_unsigned_int_unsigned_int_t_t = {"_p_KyteaStringMapT_std__pairT_unsigned_int_unsigned_int_t_t", "KyteaStringMap< std::pair< unsigned int,unsigned int > > *|TwoCountHash *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_KyteaStringMapT_std__pairT_unsigned_int_unsigned_int_t_t = {"_p_KyteaStringMapT_std__pairT_unsigned_int_unsigned_int_t_t", "TwoCountHash *|KyteaStringMap< std::pair< unsigned int,unsigned int > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_KyteaStringMapT_unsigned_int_t = {"_p_KyteaStringMapT_unsigned_int_t", "KyteaUnsignedMap *|KyteaStringMap< unsigned int > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Mykytea = {"_p_Mykytea", "Mykytea *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_StringMapT_kytea__KyteaChar_t = {"_p_StringMapT_kytea__KyteaChar_t", "StringMap< kytea::KyteaChar > *|StringCharMap *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_Tags = {"_p_Tags", "Tags *|std::vector< Tags >::value_type *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_StringMapT_kytea__KyteaChar_t = {"_p_StringMapT_kytea__KyteaChar_t", "StringCharMap *|StringMap< kytea::KyteaChar > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_Tags = {"_p_Tags", "std::vector< Tags >::value_type *|Tags *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_Words = {"_p_Words", "Words *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_allocator_type = {"_p_allocator_type", "allocator_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; @@ -16534,8 +16904,8 @@ static swig_type_info _swigt__p_first_type = {"_p_first_type", "first_type *", 0 static swig_type_info _swigt__p_kytea__Kytea = {"_p_kytea__Kytea", "kytea::Kytea *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_kytea__KyteaConfig = {"_p_kytea__KyteaConfig", "kytea::KyteaConfig *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_kytea__KyteaModel = {"_p_kytea__KyteaModel", "kytea::KyteaModel *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_kytea__KyteaSentence = {"_p_kytea__KyteaSentence", "KyteaSentence *|kytea::KyteaSentence *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_kytea__KyteaWord = {"_p_kytea__KyteaWord", "KyteaWord *|kytea::KyteaWord *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_kytea__KyteaSentence = {"_p_kytea__KyteaSentence", "kytea::KyteaSentence *|KyteaSentence *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_kytea__KyteaWord = {"_p_kytea__KyteaWord", "kytea::KyteaWord *|KyteaWord *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_kytea__StringUtil = {"_p_kytea__StringUtil", "kytea::StringUtil *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_PyObject = {"_p_p_PyObject", "PyObject **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_second_type = {"_p_second_type", "second_type *", 0, 0, (void*)0, 0}; @@ -16543,18 +16913,18 @@ static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0 static swig_type_info _swigt__p_std__allocatorT_Tags_t = {"_p_std__allocatorT_Tags_t", "std::vector< Tags >::allocator_type *|std::allocator< Tags > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_std__pairT_std__string_double_t_t = {"_p_std__allocatorT_std__pairT_std__string_double_t_t", "std::vector< std::pair< std::string,double > >::allocator_type *|std::allocator< std::pair< std::string,double > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_std__string_t = {"_p_std__allocatorT_std__string_t", "std::vector< std::string >::allocator_type *|std::allocator< std::string > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__allocatorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_t = {"_p_std__allocatorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_t", "std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > *|std::vector< std::vector< std::pair< std::string,double > > >::allocator_type *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__allocatorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_t = {"_p_std__allocatorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_t", "std::vector< std::vector< std::pair< std::string,double > > >::allocator_type *|std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__invalid_argument = {"_p_std__invalid_argument", "std::invalid_argument *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__pairT_KyteaString_double_t = {"_p_std__pairT_KyteaString_double_t", "std::pair< KyteaString,double > *|kytea::KyteaTag *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__pairT_KyteaString_double_t = {"_p_std__pairT_KyteaString_double_t", "kytea::KyteaTag *|std::pair< KyteaString,double > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__pairT_std__string_double_t = {"_p_std__pairT_std__string_double_t", "std::pair< std::string,double > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__vectorT_Tags_std__allocatorT_Tags_t_t = {"_p_std__vectorT_Tags_std__allocatorT_Tags_t_t", "std::vector< Tags,std::allocator< Tags > > *|std::vector< Tags > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_double_std__allocatorT_double_t_t = {"_p_std__vectorT_double_std__allocatorT_double_t_t", "std::vector< double,std::allocator< double > > *|kytea::KyteaSentence::Floats *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_kytea__KyteaWord_std__allocatorT_kytea__KyteaWord_t_t = {"_p_std__vectorT_kytea__KyteaWord_std__allocatorT_kytea__KyteaWord_t_t", "std::vector< kytea::KyteaWord,std::allocator< kytea::KyteaWord > > *|kytea::KyteaSentence::Words *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__vectorT_double_std__allocatorT_double_t_t = {"_p_std__vectorT_double_std__allocatorT_double_t_t", "kytea::KyteaSentence::Floats *|std::vector< double,std::allocator< double > > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__vectorT_kytea__KyteaWord_std__allocatorT_kytea__KyteaWord_t_t = {"_p_std__vectorT_kytea__KyteaWord_std__allocatorT_kytea__KyteaWord_t_t", "kytea::KyteaSentence::Words *|std::vector< kytea::KyteaWord,std::allocator< kytea::KyteaWord > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__vectorT_std__pairT_KyteaString_double_t_std__allocatorT_std__pairT_KyteaString_double_t_t_t = {"_p_std__vectorT_std__pairT_KyteaString_double_t_std__allocatorT_std__pairT_KyteaString_double_t_t_t", "std::vector< kytea::KyteaTag,std::allocator< kytea::KyteaTag > > *|std::vector< std::pair< KyteaString,double >,std::allocator< std::pair< KyteaString,double > > > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t = {"_p_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t", "std::vector< std::pair< std::string,double > > *|std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t = {"_p_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t", "std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > *|std::vector< std::pair< std::string,double > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__vectorT_std__string_std__allocatorT_std__string_t_t = {"_p_std__vectorT_std__string_std__allocatorT_std__string_t_t", "std::vector< std::string,std::allocator< std::string > > *|std::vector< std::string > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__vectorT_std__vectorT_std__pairT_KyteaString_double_t_std__allocatorT_std__pairT_KyteaString_double_t_t_t_std__allocatorT_std__vectorT_std__pairT_KyteaString_double_t_std__allocatorT_std__pairT_KyteaString_double_t_t_t_t_t = {"_p_std__vectorT_std__vectorT_std__pairT_KyteaString_double_t_std__allocatorT_std__pairT_KyteaString_double_t_t_t_std__allocatorT_std__vectorT_std__pairT_KyteaString_double_t_std__allocatorT_std__pairT_KyteaString_double_t_t_t_t_t", "std::vector< std::vector< kytea::KyteaTag,std::allocator< kytea::KyteaTag > >,std::allocator< std::vector< kytea::KyteaTag,std::allocator< kytea::KyteaTag > > > > *|std::vector< std::vector< std::pair< KyteaString,double >,std::allocator< std::pair< KyteaString,double > > >,std::allocator< std::vector< std::pair< KyteaString,double >,std::allocator< std::pair< KyteaString,double > > > > > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_std__allocatorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_t_t = {"_p_std__vectorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_std__allocatorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_t_t", "tags *|std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > *|std::vector< std::vector< std::pair< std::string,double > > > *|std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__vectorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_std__allocatorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_t_t = {"_p_std__vectorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_std__allocatorT_std__vectorT_std__pairT_std__string_double_t_std__allocatorT_std__pairT_std__string_double_t_t_t_t_t", "std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > *|std::vector< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > >,std::allocator< std::vector< std::pair< std::string,double >,std::allocator< std::pair< std::string,double > > > > > *|tags *|std::vector< std::vector< std::pair< std::string,double > > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_swig__SwigPyIterator = {"_p_swig__SwigPyIterator", "swig::SwigPyIterator *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0}; @@ -16743,9 +17113,12 @@ extern "C" { #define SWIGRUNTIME_DEBUG #endif +#ifndef SWIG_INIT_CLIENT_DATA_TYPE +#define SWIG_INIT_CLIENT_DATA_TYPE void * +#endif SWIGRUNTIME void -SWIG_InitializeModule(void *clientdata) { +SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) { size_t i; swig_module_info *module_head, *iter; int init; @@ -16928,214 +17301,6 @@ SWIG_PropagateClientData(void) { extern "C" { #endif - /* Python-specific SWIG API */ -#define SWIG_newvarlink() SWIG_Python_newvarlink() -#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) -#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) - - /* ----------------------------------------------------------------------------- - * global variable support code. - * ----------------------------------------------------------------------------- */ - - typedef struct swig_globalvar { - char *name; /* Name of global variable */ - PyObject *(*get_attr)(void); /* Return the current value */ - int (*set_attr)(PyObject *); /* Set the value */ - struct swig_globalvar *next; - } swig_globalvar; - - typedef struct swig_varlinkobject { - PyObject_HEAD - swig_globalvar *vars; - } swig_varlinkobject; - - SWIGINTERN PyObject * - swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { -#if PY_VERSION_HEX >= 0x03000000 - return PyUnicode_InternFromString(""); -#else - return PyString_FromString(""); -#endif - } - - SWIGINTERN PyObject * - swig_varlink_str(swig_varlinkobject *v) { -#if PY_VERSION_HEX >= 0x03000000 - PyObject *str = PyUnicode_InternFromString("("); - PyObject *tail; - PyObject *joined; - swig_globalvar *var; - for (var = v->vars; var; var=var->next) { - tail = PyUnicode_FromString(var->name); - joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); - str = joined; - if (var->next) { - tail = PyUnicode_InternFromString(", "); - joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); - str = joined; - } - } - tail = PyUnicode_InternFromString(")"); - joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); - str = joined; -#else - PyObject *str = PyString_FromString("("); - swig_globalvar *var; - for (var = v->vars; var; var=var->next) { - PyString_ConcatAndDel(&str,PyString_FromString(var->name)); - if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); - } - PyString_ConcatAndDel(&str,PyString_FromString(")")); -#endif - return str; - } - - SWIGINTERN void - swig_varlink_dealloc(swig_varlinkobject *v) { - swig_globalvar *var = v->vars; - while (var) { - swig_globalvar *n = var->next; - free(var->name); - free(var); - var = n; - } - } - - SWIGINTERN PyObject * - swig_varlink_getattr(swig_varlinkobject *v, char *n) { - PyObject *res = NULL; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->get_attr)(); - break; - } - var = var->next; - } - if (res == NULL && !PyErr_Occurred()) { - PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); - } - return res; - } - - SWIGINTERN int - swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { - int res = 1; - swig_globalvar *var = v->vars; - while (var) { - if (strcmp(var->name,n) == 0) { - res = (*var->set_attr)(p); - break; - } - var = var->next; - } - if (res == 1 && !PyErr_Occurred()) { - PyErr_Format(PyExc_AttributeError, "Unknown C global variable '%s'", n); - } - return res; - } - - SWIGINTERN PyTypeObject* - swig_varlink_type(void) { - static char varlink__doc__[] = "Swig var link object"; - static PyTypeObject varlink_type; - static int type_init = 0; - if (!type_init) { - const PyTypeObject tmp = { -#if PY_VERSION_HEX >= 0x03000000 - PyVarObject_HEAD_INIT(NULL, 0) -#else - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ -#endif - "swigvarlink", /* tp_name */ - sizeof(swig_varlinkobject), /* tp_basicsize */ - 0, /* tp_itemsize */ - (destructor) swig_varlink_dealloc, /* tp_dealloc */ - 0, /* tp_print */ - (getattrfunc) swig_varlink_getattr, /* tp_getattr */ - (setattrfunc) swig_varlink_setattr, /* tp_setattr */ - 0, /* tp_compare */ - (reprfunc) swig_varlink_repr, /* tp_repr */ - 0, /* tp_as_number */ - 0, /* tp_as_sequence */ - 0, /* tp_as_mapping */ - 0, /* tp_hash */ - 0, /* tp_call */ - (reprfunc) swig_varlink_str, /* tp_str */ - 0, /* tp_getattro */ - 0, /* tp_setattro */ - 0, /* tp_as_buffer */ - 0, /* tp_flags */ - varlink__doc__, /* tp_doc */ - 0, /* tp_traverse */ - 0, /* tp_clear */ - 0, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ - 0, /* tp_del */ - 0, /* tp_version_tag */ -#if PY_VERSION_HEX >= 0x03040000 - 0, /* tp_finalize */ -#endif -#ifdef COUNT_ALLOCS - 0, /* tp_allocs */ - 0, /* tp_frees */ - 0, /* tp_maxalloc */ - 0, /* tp_prev */ - 0 /* tp_next */ -#endif - }; - varlink_type = tmp; - type_init = 1; - if (PyType_Ready(&varlink_type) < 0) - return NULL; - } - return &varlink_type; - } - - /* Create a variable linking object for use later */ - SWIGINTERN PyObject * - SWIG_Python_newvarlink(void) { - swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); - if (result) { - result->vars = 0; - } - return ((PyObject*) result); - } - - SWIGINTERN void - SWIG_Python_addvarlink(PyObject *p, const char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { - swig_varlinkobject *v = (swig_varlinkobject *) p; - swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); - if (gv) { - size_t size = strlen(name)+1; - gv->name = (char *)malloc(size); - if (gv->name) { - memcpy(gv->name, name, size); - gv->get_attr = get_attr; - gv->set_attr = set_attr; - gv->next = v->vars; - } - } - v->vars = gv; - } - - SWIGINTERN PyObject * - SWIG_globals(void) { - static PyObject *globals = 0; - if (!globals) { - globals = SWIG_newvarlink(); - } - return globals; - } - /* ----------------------------------------------------------------------------- * constants/methods manipulation * ----------------------------------------------------------------------------- */ @@ -17164,15 +17329,12 @@ extern "C" { } } - /* -----------------------------------------------------------------------------*/ - /* Fix SwigMethods to carry the callback ptrs when needed */ - /* -----------------------------------------------------------------------------*/ + /* ----------------------------------------------------------------------------- + * Patch %callback methods' docstrings to hold the callback ptrs + * -----------------------------------------------------------------------------*/ SWIGINTERN void - SWIG_Python_FixMethods(PyMethodDef *methods, - swig_const_info *const_table, - swig_type_info **types, - swig_type_info **types_initial) { + SWIG_Python_FixMethods(PyMethodDef *methods, const swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial) { size_t i; for (i = 0; methods[i].ml_name; ++i) { const char *c = methods[i].ml_doc; @@ -17180,7 +17342,7 @@ extern "C" { c = strstr(c, "swig_ptr: "); if (c) { int j; - swig_const_info *ci = 0; + const swig_const_info *ci = 0; const char *name = c + 10; for (j = 0; const_table[j].type; ++j) { if (strncmp(const_table[j].name, name, @@ -17212,68 +17374,13 @@ extern "C" { } } - /* ----------------------------------------------------------------------------- - * Method creation and docstring support functions - * ----------------------------------------------------------------------------- */ - - /* ----------------------------------------------------------------------------- - * Function to find the method definition with the correct docstring for the - * proxy module as opposed to the low-level API - * ----------------------------------------------------------------------------- */ - - SWIGINTERN PyMethodDef *SWIG_PythonGetProxyDoc(const char *name) { - /* Find the function in the modified method table */ - size_t offset = 0; - int found = 0; - while (SwigMethods_proxydocs[offset].ml_meth != NULL) { - if (strcmp(SwigMethods_proxydocs[offset].ml_name, name) == 0) { - found = 1; - break; - } - offset++; - } - /* Use the copy with the modified docstring if available */ - return found ? &SwigMethods_proxydocs[offset] : NULL; - } - - /* ----------------------------------------------------------------------------- - * Wrapper of PyInstanceMethod_New() used in Python 3 - * It is exported to the generated module, used for -fastproxy - * ----------------------------------------------------------------------------- */ - - SWIGINTERN PyObject *SWIG_PyInstanceMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func) { - if (PyCFunction_Check(func)) { - PyCFunctionObject *funcobj = (PyCFunctionObject *)func; - PyMethodDef *ml = SWIG_PythonGetProxyDoc(funcobj->m_ml->ml_name); - if (ml) - func = PyCFunction_NewEx(ml, funcobj->m_self, funcobj->m_module); - } -#if PY_VERSION_HEX >= 0x03000000 - return PyInstanceMethod_New(func); -#else - return PyMethod_New(func, NULL, NULL); -#endif - } - - /* ----------------------------------------------------------------------------- - * Wrapper of PyStaticMethod_New() - * It is exported to the generated module, used for -fastproxy - * ----------------------------------------------------------------------------- */ - - SWIGINTERN PyObject *SWIG_PyStaticMethod_New(PyObject *SWIGUNUSEDPARM(self), PyObject *func) { - if (PyCFunction_Check(func)) { - PyCFunctionObject *funcobj = (PyCFunctionObject *)func; - PyMethodDef *ml = SWIG_PythonGetProxyDoc(funcobj->m_ml->ml_name); - if (ml) - func = PyCFunction_NewEx(ml, funcobj->m_self, funcobj->m_module); - } - return PyStaticMethod_New(func); - } - #ifdef __cplusplus } #endif + + + /* -----------------------------------------------------------------------------* * Partial Init method * -----------------------------------------------------------------------------*/