From 6ec22796be5d535c50b0f13180d8ccddbf43e3a5 Mon Sep 17 00:00:00 2001 From: parham-k Date: Sat, 11 Mar 2023 15:17:08 -0800 Subject: [PATCH 1/5] Add Python wrapper tests --- .gitignore | 1 + scripts/test-wrappers | 5 +++-- tests/python/single_seq.fa | 2 ++ tests/python/test_bloom_filter.py | 10 ++++++++++ tests/python/test_seq_reader.py | 16 ++++++++++++++++ 5 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 tests/python/single_seq.fa create mode 100644 tests/python/test_bloom_filter.py create mode 100644 tests/python/test_seq_reader.py diff --git a/.gitignore b/.gitignore index 4f7281ea..bcac91b2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /install/ /__build-compile/ /Doxyfile.bak +__pycache__/ \ No newline at end of file diff --git a/scripts/test-wrappers b/scripts/test-wrappers index 032094a4..7818e248 100755 --- a/scripts/test-wrappers +++ b/scripts/test-wrappers @@ -9,5 +9,6 @@ set -e cd "${MESON_SOURCE_ROOT}" -cd install/lib/btllib/python -python3 -c 'import btllib; nt = btllib.NtHash("ACTG", 2, 3); nt.roll(); b = btllib.BloomFilter(1024, 2); b.insert(nt.hashes())' \ No newline at end of file +export PYTHONPATH="$(pwd)/install/lib/btllib/python" +cd tests/python +python -m unittest \ No newline at end of file diff --git a/tests/python/single_seq.fa b/tests/python/single_seq.fa new file mode 100644 index 00000000..3ef2f95a --- /dev/null +++ b/tests/python/single_seq.fa @@ -0,0 +1,2 @@ +>1 +CGCGTGAAAGCAAAACAAGA diff --git a/tests/python/test_bloom_filter.py b/tests/python/test_bloom_filter.py new file mode 100644 index 00000000..2eeb18c1 --- /dev/null +++ b/tests/python/test_bloom_filter.py @@ -0,0 +1,10 @@ +import btllib +import unittest + +class BloomFilterTests(unittest.TestCase): + + def test_seq_insertion(self): + seq, k = 'AGTCATCGACTGATGC', 5 + bf = btllib.KmerBloomFilter(1024, 3, k) + bf.insert(seq) + self.assertEqual(bf.contains('TCATC'), 1) diff --git a/tests/python/test_seq_reader.py b/tests/python/test_seq_reader.py new file mode 100644 index 00000000..b47a528e --- /dev/null +++ b/tests/python/test_seq_reader.py @@ -0,0 +1,16 @@ +import os +import btllib +import unittest + + +class SeqReaderTests(unittest.TestCase): + + def setUp(self): + self.base_dir = os.path.dirname(__file__) + + def test_seq_reader_single_seq(self): + seq = 'CGCGTGAAAGCAAAACAAGA' + path = os.path.join(self.base_dir, 'single_seq.fa') + with btllib.SeqReader(path, btllib.SeqReaderFlag.SHORT_MODE) as reader: + read = [record.seq for record in reader] + self.assertListEqual([seq], read) From 39c3cdb0899e4545a4f08fe3c3633d390c6d53a0 Mon Sep 17 00:00:00 2001 From: parham-k Date: Sun, 12 Mar 2023 14:09:57 -0700 Subject: [PATCH 2/5] Revert wrappers back to v1.4.10 --- wrappers/python/btllib.i | 64 +- wrappers/python/btllib_wrap.cxx | 25286 ++++++++++++------------------ 2 files changed, 10486 insertions(+), 14864 deletions(-) diff --git a/wrappers/python/btllib.i b/wrappers/python/btllib.i index 1cf6ed3d..ce860bac 100644 --- a/wrappers/python/btllib.i +++ b/wrappers/python/btllib.i @@ -3,30 +3,29 @@ %{ #define SWIG_FILE_WITH_INIT +#include "btllib/indexlr.hpp" #include "btllib/graph.hpp" -#include "btllib/seq_writer.hpp" -#include "btllib/seq_reader_sam_module.hpp" -#include "btllib/nthash_lowlevel.hpp" -#include "btllib/counting_bloom_filter.hpp" -#include "btllib/mi_bloom_filter.hpp" -#include "btllib/data_stream.hpp" +#include "btllib/order_queue.hpp" #include "btllib/bloom_filter.hpp" -#include "btllib/seq_reader.hpp" -#include "btllib/cstring.hpp" #include "btllib/seq_reader_gfa2_module.hpp" -#include "btllib/indexlr.hpp" -#include "btllib/random_seq_generator.hpp" +#include "btllib/seq_reader_fasta_module.hpp" +#include "btllib/counting_bloom_filter.hpp" +#include "btllib/seq_reader.hpp" +#include "btllib/seq_reader_sam_module.hpp" +#include "btllib/seq_reader_multiline_fasta_module.hpp" #include "btllib/util.hpp" -#include "btllib/order_queue.hpp" +#include "btllib/seq_writer.hpp" #include "btllib/seq.hpp" -#include "btllib/seq_reader_fastq_module.hpp" -#include "btllib/nthash.hpp" -#include "btllib/status.hpp" #include "btllib/nthash_consts.hpp" +#include "btllib/nthash_lowlevel.hpp" +#include "btllib/data_stream.hpp" #include "btllib/process_pipeline.hpp" -#include "btllib/seq_reader_fasta_module.hpp" -#include "btllib/seq_reader_multiline_fasta_module.hpp" #include "btllib/seq_reader_multiline_fastq_module.hpp" +#include "btllib/status.hpp" +#include "btllib/seq_reader_fastq_module.hpp" +#include "btllib/mi_bloom_filter.hpp" +#include "btllib/cstring.hpp" +#include "btllib/nthash.hpp" %} %include @@ -45,28 +44,27 @@ %include "../extra_common.i" %include "extra.i" +%include "btllib/indexlr.hpp" %include "btllib/graph.hpp" -%include "btllib/seq_writer.hpp" -%include "btllib/seq_reader_sam_module.hpp" -%include "btllib/nthash_lowlevel.hpp" -%include "btllib/counting_bloom_filter.hpp" -%include "btllib/mi_bloom_filter.hpp" -%include "btllib/data_stream.hpp" +%include "btllib/order_queue.hpp" %include "btllib/bloom_filter.hpp" -%include "btllib/seq_reader.hpp" -%include "btllib/cstring.hpp" %include "btllib/seq_reader_gfa2_module.hpp" -%include "btllib/indexlr.hpp" -%include "btllib/random_seq_generator.hpp" +%include "btllib/seq_reader_fasta_module.hpp" +%include "btllib/counting_bloom_filter.hpp" +%include "btllib/seq_reader.hpp" +%include "btllib/seq_reader_sam_module.hpp" +%include "btllib/seq_reader_multiline_fasta_module.hpp" %include "btllib/util.hpp" -%include "btllib/order_queue.hpp" +%include "btllib/seq_writer.hpp" %include "btllib/seq.hpp" -%include "btllib/seq_reader_fastq_module.hpp" -%include "btllib/nthash.hpp" -%include "btllib/status.hpp" %include "btllib/nthash_consts.hpp" +%include "btllib/nthash_lowlevel.hpp" +%include "btllib/data_stream.hpp" %include "btllib/process_pipeline.hpp" -%include "btllib/seq_reader_fasta_module.hpp" -%include "btllib/seq_reader_multiline_fasta_module.hpp" %include "btllib/seq_reader_multiline_fastq_module.hpp" -%include "../extra_templates.i" +%include "btllib/status.hpp" +%include "btllib/seq_reader_fastq_module.hpp" +%include "btllib/mi_bloom_filter.hpp" +%include "btllib/cstring.hpp" +%include "btllib/nthash.hpp" +%include "../extra_templates.i" \ No newline at end of file diff --git a/wrappers/python/btllib_wrap.cxx b/wrappers/python/btllib_wrap.cxx index adf64ac0..96e824b1 100644 --- a/wrappers/python/btllib_wrap.cxx +++ b/wrappers/python/btllib_wrap.cxx @@ -1,17 +1,44 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.1.1 + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 4.0.2 * - * Do not make changes to this file unless you know what you are doing - modify - * the SWIG interface file instead. + * 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. * ----------------------------------------------------------------------------- */ -#define SWIG_VERSION 0x040101 +#ifndef SWIGPYTHON #define SWIGPYTHON +#endif + #define SWIG_PYTHON_DIRECTOR_NO_VTABLE #define SWIGPYTHON_BUILTIN -#define SWIGPYTHON_FASTPROXY + + +#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 @@ -143,26 +170,8 @@ # 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 @@ -170,10 +179,6 @@ # include #endif -#if __GNUC__ >= 7 -#pragma GCC diagnostic pop -#endif - /* ----------------------------------------------------------------------------- * swigrun.swg * @@ -220,8 +225,6 @@ #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 @@ -293,7 +296,7 @@ SWIG errors code. Finally, if the SWIG_CASTRANK_MODE is enabled, the result code - allows returning the 'cast rank', for example, if you have this + allows to return the 'cast rank', for example, if you have this int food(double) int fooi(int); @@ -307,13 +310,7 @@ */ #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) @@ -328,7 +325,7 @@ #define SWIG_OLDOBJ (SWIG_OK) #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) -/* Check, add and del object mask methods */ +/* Check, add and del 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)) @@ -474,7 +471,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(const swig_type_info *from, swig_type_info *ty) { +SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) { if (ty) { swig_cast_info *iter = ty->cast; while (iter) { @@ -534,9 +531,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. Choose the last - name. It should be the most specific; a fully resolved name - but not necessarily with default template parameters expanded. */ + type, separated by vertical-bar characters. We choose + to print the last name, as it is often (?) the most + specific. */ if (!type) return NULL; if (type->str != NULL) { const char *last_name = type->str; @@ -756,7 +753,7 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { } #endif -/* SWIG Errors applicable to all language modules, values are reserved from -1 to -99 */ +/* Errors in SWIG */ #define SWIG_UnknownError -1 #define SWIG_IOError -2 #define SWIG_RuntimeError -3 @@ -772,6 +769,7 @@ 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 @@ -787,6 +785,7 @@ 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 @@ -804,19 +803,38 @@ 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 >= 0x03030000 return (char *)PyUnicode_AsUTF8(str); +#elif PY_VERSION_HEX >= 0x03000000 + char *newstr = 0; + str = PyUnicode_AsUTF8String(str); + if (str) { + char *cstr; + Py_ssize_t len; + if (PyBytes_AsStringAndSize(str, &cstr, &len) != -1) { + newstr = (char *) malloc(len+1); + if (newstr) + memcpy(newstr, cstr, len+1); + } + Py_XDECREF(str); + } + return newstr; #else return PyString_AsString(str); #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) +#if PY_VERSION_HEX >= 0x03030000 || PY_VERSION_HEX < 0x03000000 +# define SWIG_Python_str_DelForPy3(x) +#else +# define SWIG_Python_str_DelForPy3(x) free( (void*) (x) ) +#endif SWIGINTERN PyObject* @@ -833,14 +851,10 @@ 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 -#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) +# define SWIGPY_CAPSULE_NAME ("swig_runtime_data" SWIG_RUNTIME_VERSION ".type_pointer_capsule" SWIG_TYPE_TABLE_NAME) #if PY_VERSION_HEX < 0x03020000 #define PyDescr_TYPE(x) (((PyDescrObject *)(x))->d_type) @@ -914,6 +928,7 @@ 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 { @@ -944,12 +959,8 @@ SWIG_Python_RaiseOrModifyTypeError(const char *message) #else newvalue = PyString_FromFormat("%s\nAdditional information:\n%s", PyString_AsString(value), message); #endif - if (newvalue) { - Py_XDECREF(value); - PyErr_Restore(type, newvalue, traceback); - } else { - PyErr_Restore(type, value, traceback); - } + Py_XDECREF(value); + PyErr_Restore(type, newvalue, traceback); } else { /* Raise TypeError using given message */ PyErr_SetString(PyExc_TypeError, message); @@ -966,12 +977,8 @@ SWIG_Python_RaiseOrModifyTypeError(const char *message) # define SWIG_PYTHON_USE_GIL # endif # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ -# 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 +# ifndef SWIG_PYTHON_INITIALIZE_THREADS +# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() # endif # ifdef __cplusplus /* C++ code */ class SWIG_Python_Thread_Block { @@ -1069,8 +1076,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 < 0x03030000 -# error "This version of SWIG only supports Python 3 >= 3.3" +#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03020000 +# error "This version of SWIG only supports Python 3 >= 3.2" #endif /* Common SWIG API */ @@ -1185,12 +1192,7 @@ SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { if (!PyList_Check(result)) { PyObject *o2 = result; result = PyList_New(1); - if (result) { - PyList_SET_ITEM(result, 0, o2); - } else { - Py_DECREF(obj); - return o2; - } + PyList_SetItem(result, 0, o2); } PyList_Append(result,obj); Py_DECREF(obj); @@ -1272,238 +1274,6 @@ SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name) { #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 * ----------------------------------------------------------------------------- */ @@ -1574,25 +1344,18 @@ SwigPyClientData_New(PyObject* obj) /* the newraw method and newargs arguments used to create a new raw instance */ if (PyClass_Check(obj)) { data->newraw = 0; - Py_INCREF(obj); data->newargs = obj; + Py_INCREF(obj); } else { data->newraw = PyObject_GetAttrString(data->klass, "__new__"); if (data->newraw) { - 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; - } + Py_INCREF(data->newraw); + data->newargs = PyTuple_New(1); + PyTuple_SetItem(data->newargs, 0, obj); } else { - Py_INCREF(obj); - data->newargs = 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__"); @@ -1601,7 +1364,10 @@ SwigPyClientData_New(PyObject* obj) data->destroy = 0; } if (data->destroy) { - data->delargs = !(PyCFunction_GET_FLAGS(data->destroy) & METH_O); + int flags; + Py_INCREF(data->destroy); + flags = PyCFunction_GET_FLAGS(data->destroy); + data->delargs = !(flags & (METH_O)); } else { data->delargs = 0; } @@ -1612,13 +1378,10 @@ SwigPyClientData_New(PyObject* obj) } SWIGRUNTIME void -SwigPyClientData_Del(SwigPyClientData *data) -{ - Py_XDECREF(data->klass); +SwigPyClientData_Del(SwigPyClientData *data) { Py_XDECREF(data->newraw); Py_XDECREF(data->newargs); Py_XDECREF(data->destroy); - free(data); } /* =============== SwigPyObject =====================*/ @@ -1645,7 +1408,7 @@ SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args)) if (!sobj->dict) sobj->dict = PyDict_New(); - Py_XINCREF(sobj->dict); + Py_INCREF(sobj->dict); return sobj->dict; } @@ -1663,21 +1426,18 @@ SwigPyObject_format(const char* fmt, SwigPyObject *v) PyObject *res = NULL; PyObject *args = PyTuple_New(1); if (args) { - PyObject *val = SwigPyObject_long(v); - if (val) { - PyObject *ofmt; - PyTuple_SET_ITEM(args, 0, val); - ofmt = SWIG_Python_str_FromChar(fmt); + if (PyTuple_SetItem(args, 0, SwigPyObject_long(v)) == 0) { + PyObject *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; } @@ -1699,23 +1459,18 @@ SwigPyObject_repr(SwigPyObject *v) { const char *name = SWIG_TypePrettyName(v->ty); PyObject *repr = SWIG_Python_str_FromFormat("", (name ? name : "unknown"), (void *)v); - if (repr && v->next) { + if (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 @@ -1785,8 +1540,6 @@ 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) { @@ -1813,12 +1566,8 @@ 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); - if (tmp) { - res = SWIG_Python_CallFunctor(destroy, tmp); - } else { - res = 0; - } - Py_XDECREF(tmp); + res = SWIG_Python_CallFunctor(destroy, tmp); + Py_DECREF(tmp); } else { PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); PyObject *mself = PyCFunction_GET_SELF(destroy); @@ -1837,12 +1586,8 @@ 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); } @@ -1854,7 +1599,6 @@ 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(); @@ -1899,9 +1643,9 @@ SwigPyObject_own(PyObject *v, PyObject *args) PyObject *obj = PyBool_FromLong(sobj->own); if (val) { if (PyObject_IsTrue(val)) { - Py_DECREF(SwigPyObject_acquire(v,args)); + SwigPyObject_acquire(v,args); } else { - Py_DECREF(SwigPyObject_disown(v,args)); + SwigPyObject_disown(v,args); } } return obj; @@ -1981,11 +1725,7 @@ SwigPyObject_TypeOnce(void) { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyObject_dealloc, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /*tp_print*/ -#else - (Py_ssize_t)0, /*tp_vectorcall_offset*/ -#endif + 0, /* tp_print */ (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ #if PY_VERSION_HEX >= 0x03000000 @@ -2050,7 +1790,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; @@ -2065,15 +1805,6 @@ 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; } @@ -2161,11 +1892,7 @@ SwigPyPacked_TypeOnce(void) { sizeof(SwigPyPacked), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyPacked_dealloc, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /*tp_print*/ -#else - (Py_ssize_t)0, /*tp_vectorcall_offset*/ -#endif + 0, /* tp_print */ (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ #if PY_VERSION_HEX>=0x03000000 @@ -2230,7 +1957,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; @@ -2420,19 +2147,12 @@ SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int } } if (sobj) { - 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; + if (own) + *own = *own | sobj->own; + if (flags & SWIG_POINTER_DISOWN) { + sobj->own = 0; } + res = SWIG_OK; } else { if (implicit_conv) { SwigPyClientData *data = ty ? (SwigPyClientData *) ty->clientdata : 0; @@ -2545,17 +2265,12 @@ 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; - } - if (dict) { - PyDict_SetItem(dict, SWIG_This(), swig_this); - } else{ - Py_DECREF(inst); - inst = 0; - } + PyObject *dict = *dictptr; + if (dict == NULL) { + dict = PyDict_New(); + *dictptr = dict; + PyDict_SetItem(dict, SWIG_This(), swig_this); + } } #else if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) { @@ -2577,7 +2292,7 @@ SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) Py_DECREF(inst); inst = 0; } else { - PyType_Modified(Py_TYPE(inst)); + Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; } } } @@ -2606,11 +2321,7 @@ SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) dict = PyDict_New(); *dictptr = dict; } - if (dict) { - return PyDict_SetItem(dict, SWIG_This(), swig_this); - } else{ - return -1; - } + return PyDict_SetItem(dict, SWIG_This(), swig_this); } #endif return PyObject_SetAttr(inst, SWIG_This(), swig_this); @@ -2625,7 +2336,7 @@ SWIG_Python_InitShadowInstance(PyObject *args) { } else { SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]); if (sthis) { - Py_DECREF(SwigPyObject_append((PyObject*) sthis, obj[1])); + SwigPyObject_append((PyObject*) sthis, obj[1]); } else { if (SWIG_Python_SetSwigThis(obj[0], obj[1]) != 0) return NULL; @@ -2664,9 +2375,7 @@ SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int f } else { newobj = PyObject_New(SwigPyObject, clientdata->pytype); #ifdef SWIGPYTHON_BUILTIN - if (newobj) { - newobj->dict = 0; - } + newobj->dict = 0; #endif } if (newobj) { @@ -2705,61 +2414,39 @@ 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 - void *type_pointer = PyCapsule_Import(SWIGPY_CAPSULE_NAME, 0); - if (PyErr_Occurred()) { - PyErr_Clear(); - type_pointer = (void *)0; - } + 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 @@ -2773,17 +2460,19 @@ 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) { - if (PyModule_AddObject(module, SWIGPY_CAPSULE_ATTR_NAME, pointer) == 0) { - ++interpreter_counter; - Swig_Capsule_global = pointer; - } else { - Py_DECREF(pointer); - } + PyModule_AddObject(module, "type_pointer_capsule" SWIG_TYPE_TABLE_NAME, 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) { @@ -2798,10 +2487,8 @@ SWIG_Python_TypeQuery(const char *type) descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); if (descriptor) { obj = PyCapsule_New((void*) descriptor, NULL, NULL); - if (obj) { - PyDict_SetItem(cache, key, obj); - Py_DECREF(obj); - } + PyDict_SetItem(cache, key, obj); + Py_DECREF(obj); } } Py_DECREF(key); @@ -2834,6 +2521,7 @@ 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; @@ -2885,6 +2573,7 @@ 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); @@ -2906,6 +2595,12 @@ 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; } @@ -2936,7 +2631,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; } @@ -2951,7 +2646,7 @@ SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { } else { encoded_name = PyUnicode_AsUTF8String(name); if (!encoded_name) - goto done; + return -1; } PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name)); Py_DECREF(encoded_name); @@ -2978,11 +2673,7 @@ SWIGINTERN Py_hash_t SwigPyObject_hash(PyObject *obj) { SwigPyObject *sobj = (SwigPyObject *)obj; void *ptr = sobj->ptr; -#if PY_VERSION_HEX < 0x03020000 - return (Py_hash_t)(Py_ssize_t)ptr; -#else return (Py_hash_t)ptr; -#endif } SWIGINTERN Py_hash_t @@ -3187,11 +2878,7 @@ SwigPyStaticVar_Type(void) { sizeof(PyGetSetDescrObject), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyStaticVar_dealloc, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /* tp_print */ -#else - (Py_ssize_t)0, /* tp_vectorcall_offset */ -#endif + 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ 0, /* tp_compare */ @@ -3275,11 +2962,7 @@ SwigPyObjectType(void) { PyType_Type.tp_basicsize, /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /* tp_print */ -#else - (Py_ssize_t)0, /* tp_vectorcall_offset */ -#endif + 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ 0, /* tp_compare */ @@ -3398,10 +3081,10 @@ SwigPyBuiltin_ThisClosure (PyObject *self, void *SWIGUNUSEDPARM(closure)) { SWIGINTERN void SwigPyBuiltin_SetMetaType (PyTypeObject *type, PyTypeObject *metatype) { -#if PY_VERSION_HEX >= 0x030900a4 - Py_SET_TYPE(type, metatype); +#if PY_VERSION_HEX >= 0x03000000 + type->ob_base.ob_base.ob_type = metatype; #else - Py_TYPE(type) = metatype; + type->ob_type = metatype; #endif } @@ -3739,8 +3422,23 @@ SwigPyBuiltin_iternextfunc_closure(SwigPyWrapperFunction wrapper, PyObject *a) { #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) -#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, 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 + +/* 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) @@ -3773,91 +3471,90 @@ SwigPyBuiltin_iternextfunc_closure(SwigPyWrapperFunction wrapper, PyObject *a) { #define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t swig_types[22] #define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t swig_types[23] #define SWIGTYPE_p_btllib__NtHash swig_types[24] -#define SWIGTYPE_p_btllib__RandomSequenceGenerator swig_types[25] -#define SWIGTYPE_p_btllib__SeedBloomFilter swig_types[26] -#define SWIGTYPE_p_btllib__SeedNtHash swig_types[27] -#define SWIGTYPE_p_btllib__SeqReader swig_types[28] -#define SWIGTYPE_p_btllib__SeqReader__Flag swig_types[29] -#define SWIGTYPE_p_btllib__SeqReader__Record swig_types[30] -#define SWIGTYPE_p_btllib__SeqReader__RecordIterator swig_types[31] -#define SWIGTYPE_p_btllib__SeqWriter swig_types[32] -#define SWIGTYPE_p_char swig_types[33] -#define SWIGTYPE_p_char_type swig_types[34] -#define SWIGTYPE_p_cpptoml__table swig_types[35] -#define SWIGTYPE_p_difference_type swig_types[36] -#define SWIGTYPE_p_double swig_types[37] -#define SWIGTYPE_p_f_enum_std__ios_base__event_r_std__ios_base_int__void swig_types[38] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[39] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[40] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[41] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[42] -#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[43] -#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[44] -#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[45] -#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[46] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[47] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[48] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[49] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[50] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__ios_base swig_types[51] -#define SWIGTYPE_p_float swig_types[52] -#define SWIGTYPE_p_fmtflags swig_types[53] -#define SWIGTYPE_p_int swig_types[54] -#define SWIGTYPE_p_int_type swig_types[55] -#define SWIGTYPE_p_iostate swig_types[56] -#define SWIGTYPE_p_long swig_types[57] -#define SWIGTYPE_p_long_double swig_types[58] -#define SWIGTYPE_p_long_long swig_types[59] -#define SWIGTYPE_p_off_type swig_types[60] -#define SWIGTYPE_p_openmode swig_types[61] -#define SWIGTYPE_p_p_PyObject swig_types[62] -#define SWIGTYPE_p_p_unsigned_long_long swig_types[63] -#define SWIGTYPE_p_p_void swig_types[64] -#define SWIGTYPE_p_pos_type swig_types[65] -#define SWIGTYPE_p_seekdir swig_types[66] -#define SWIGTYPE_p_short swig_types[67] -#define SWIGTYPE_p_signed_char swig_types[68] -#define SWIGTYPE_p_size_t swig_types[69] -#define SWIGTYPE_p_size_type swig_types[70] -#define SWIGTYPE_p_state_type swig_types[71] -#define SWIGTYPE_p_std__allocatorT_btllib__Indexlr__Minimizer_t swig_types[72] -#define SWIGTYPE_p_std__allocatorT_double_t swig_types[73] -#define SWIGTYPE_p_std__allocatorT_int_t swig_types[74] -#define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[75] -#define SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t swig_types[76] -#define SWIGTYPE_p_std__allocatorT_unsigned_int_t swig_types[77] -#define SWIGTYPE_p_std__allocatorT_unsigned_long_long_t swig_types[78] -#define SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[79] -#define SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[80] -#define SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[81] -#define SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[82] -#define SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t swig_types[83] -#define SWIGTYPE_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[84] -#define SWIGTYPE_p_std__ios_base swig_types[85] -#define SWIGTYPE_p_std__locale swig_types[86] -#define SWIGTYPE_p_std__string swig_types[87] -#define SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t swig_types[88] -#define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t swig_types[89] -#define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t swig_types[90] -#define SWIGTYPE_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t swig_types[91] -#define SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t swig_types[92] -#define SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t swig_types[93] -#define SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t swig_types[94] -#define SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t swig_types[95] -#define SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t swig_types[96] -#define SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t swig_types[97] -#define SWIGTYPE_p_streamoff swig_types[98] -#define SWIGTYPE_p_streampos swig_types[99] -#define SWIGTYPE_p_swig__SwigPyIterator swig_types[100] -#define SWIGTYPE_p_traits_type swig_types[101] -#define SWIGTYPE_p_unsigned_char swig_types[102] -#define SWIGTYPE_p_unsigned_int swig_types[103] -#define SWIGTYPE_p_unsigned_long swig_types[104] -#define SWIGTYPE_p_unsigned_long_long swig_types[105] -#define SWIGTYPE_p_unsigned_short swig_types[106] -#define SWIGTYPE_p_value_type swig_types[107] -static swig_type_info *swig_types[109]; -static swig_module_info swig_module = {swig_types, 108, 0, 0, 0, 0}; +#define SWIGTYPE_p_btllib__SeedBloomFilter swig_types[25] +#define SWIGTYPE_p_btllib__SeedNtHash swig_types[26] +#define SWIGTYPE_p_btllib__SeqReader swig_types[27] +#define SWIGTYPE_p_btllib__SeqReader__Flag swig_types[28] +#define SWIGTYPE_p_btllib__SeqReader__Record swig_types[29] +#define SWIGTYPE_p_btllib__SeqReader__RecordIterator swig_types[30] +#define SWIGTYPE_p_btllib__SeqWriter swig_types[31] +#define SWIGTYPE_p_char swig_types[32] +#define SWIGTYPE_p_char_type swig_types[33] +#define SWIGTYPE_p_cpptoml__table swig_types[34] +#define SWIGTYPE_p_difference_type swig_types[35] +#define SWIGTYPE_p_double swig_types[36] +#define SWIGTYPE_p_f_enum_std__ios_base__event_r_std__ios_base_int__void swig_types[37] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[38] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[39] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[40] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[41] +#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[42] +#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[43] +#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[44] +#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[45] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[46] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[47] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[48] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[49] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__ios_base swig_types[50] +#define SWIGTYPE_p_float swig_types[51] +#define SWIGTYPE_p_fmtflags swig_types[52] +#define SWIGTYPE_p_int swig_types[53] +#define SWIGTYPE_p_int_type swig_types[54] +#define SWIGTYPE_p_iostate swig_types[55] +#define SWIGTYPE_p_long swig_types[56] +#define SWIGTYPE_p_long_double swig_types[57] +#define SWIGTYPE_p_long_long swig_types[58] +#define SWIGTYPE_p_off_type swig_types[59] +#define SWIGTYPE_p_openmode swig_types[60] +#define SWIGTYPE_p_p_PyObject swig_types[61] +#define SWIGTYPE_p_p_unsigned_long_long swig_types[62] +#define SWIGTYPE_p_p_void swig_types[63] +#define SWIGTYPE_p_pos_type swig_types[64] +#define SWIGTYPE_p_seekdir swig_types[65] +#define SWIGTYPE_p_short swig_types[66] +#define SWIGTYPE_p_signed_char swig_types[67] +#define SWIGTYPE_p_size_t swig_types[68] +#define SWIGTYPE_p_size_type swig_types[69] +#define SWIGTYPE_p_state_type swig_types[70] +#define SWIGTYPE_p_std__allocatorT_btllib__Indexlr__Minimizer_t swig_types[71] +#define SWIGTYPE_p_std__allocatorT_double_t swig_types[72] +#define SWIGTYPE_p_std__allocatorT_int_t swig_types[73] +#define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[74] +#define SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t swig_types[75] +#define SWIGTYPE_p_std__allocatorT_unsigned_int_t swig_types[76] +#define SWIGTYPE_p_std__allocatorT_unsigned_long_long_t swig_types[77] +#define SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[78] +#define SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[79] +#define SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[80] +#define SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[81] +#define SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t swig_types[82] +#define SWIGTYPE_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[83] +#define SWIGTYPE_p_std__ios_base swig_types[84] +#define SWIGTYPE_p_std__locale swig_types[85] +#define SWIGTYPE_p_std__string swig_types[86] +#define SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t swig_types[87] +#define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t swig_types[88] +#define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t swig_types[89] +#define SWIGTYPE_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t swig_types[90] +#define SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t swig_types[91] +#define SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t swig_types[92] +#define SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t swig_types[93] +#define SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t swig_types[94] +#define SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t swig_types[95] +#define SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t swig_types[96] +#define SWIGTYPE_p_streamoff swig_types[97] +#define SWIGTYPE_p_streampos swig_types[98] +#define SWIGTYPE_p_swig__SwigPyIterator swig_types[99] +#define SWIGTYPE_p_traits_type swig_types[100] +#define SWIGTYPE_p_unsigned_char swig_types[101] +#define SWIGTYPE_p_unsigned_int swig_types[102] +#define SWIGTYPE_p_unsigned_long swig_types[103] +#define SWIGTYPE_p_unsigned_long_long swig_types[104] +#define SWIGTYPE_p_unsigned_short swig_types[105] +#define SWIGTYPE_p_value_type swig_types[106] +static swig_type_info *swig_types[108]; +static swig_module_info swig_module = {swig_types, 107, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -3880,52 +3577,8 @@ static swig_module_info swig_module = {swig_types, 108, 0, 0, 0, 0}; #endif #define SWIG_name "_btllib" -#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 SWIGVERSION 0x040002 +#define SWIG_VERSION SWIGVERSION #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) @@ -4010,30 +3663,29 @@ namespace swig { #define SWIG_FILE_WITH_INIT +#include "btllib/indexlr.hpp" #include "btllib/graph.hpp" -#include "btllib/seq_writer.hpp" -#include "btllib/seq_reader_sam_module.hpp" -#include "btllib/nthash_lowlevel.hpp" -#include "btllib/counting_bloom_filter.hpp" -#include "btllib/mi_bloom_filter.hpp" -#include "btllib/data_stream.hpp" +#include "btllib/order_queue.hpp" #include "btllib/bloom_filter.hpp" -#include "btllib/seq_reader.hpp" -#include "btllib/cstring.hpp" #include "btllib/seq_reader_gfa2_module.hpp" -#include "btllib/indexlr.hpp" -#include "btllib/random_seq_generator.hpp" +#include "btllib/seq_reader_fasta_module.hpp" +#include "btllib/counting_bloom_filter.hpp" +#include "btllib/seq_reader.hpp" +#include "btllib/seq_reader_sam_module.hpp" +#include "btllib/seq_reader_multiline_fasta_module.hpp" #include "btllib/util.hpp" -#include "btllib/order_queue.hpp" +#include "btllib/seq_writer.hpp" #include "btllib/seq.hpp" -#include "btllib/seq_reader_fastq_module.hpp" -#include "btllib/nthash.hpp" -#include "btllib/status.hpp" #include "btllib/nthash_consts.hpp" +#include "btllib/nthash_lowlevel.hpp" +#include "btllib/data_stream.hpp" #include "btllib/process_pipeline.hpp" -#include "btllib/seq_reader_fasta_module.hpp" -#include "btllib/seq_reader_multiline_fasta_module.hpp" #include "btllib/seq_reader_multiline_fastq_module.hpp" +#include "btllib/status.hpp" +#include "btllib/seq_reader_fastq_module.hpp" +#include "btllib/mi_bloom_filter.hpp" +#include "btllib/cstring.hpp" +#include "btllib/nthash.hpp" #include // Use the C99 official header @@ -4705,6 +4357,10 @@ inline int SWIG_isfinite_func(T x) { # define SWIG_isfinite(X) (SWIG_isfinite_func(X)) # elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) # define SWIG_isfinite(X) (__builtin_isfinite(X)) +# elif defined(__clang__) && defined(__has_builtin) +# if __has_builtin(__builtin_isfinite) +# define SWIG_isfinite(X) (__builtin_isfinite(X)) +# endif # elif defined(_MSC_VER) # define SWIG_isfinite(X) (_finite(X)) # elif defined(__sun) && defined(__SVR4) @@ -4748,9 +4404,9 @@ SWIGINTERN std::basic_ostream< char,std::char_traits< char > > &std_basic_ostrea #include #if PY_VERSION_HEX >= 0x03020000 -# define SWIGPY_SLICEOBJECT PyObject +# define SWIGPY_SLICE_ARG(obj) ((PyObject*) (obj)) #else -# define SWIGPY_SLICEOBJECT PySliceObject +# define SWIGPY_SLICE_ARG(obj) ((PySliceObject*) (obj)) #endif @@ -6244,46 +5900,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,SWIGPY_SLICEOBJECT *slice){ +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){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(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,SWIGPY_SLICEOBJECT *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,PySliceObject *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(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(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,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_std_string_Sg____setitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(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,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_std_string_Sg____delitem____SWIG_1(std::vector< std::string > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(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); @@ -6403,46 +6059,46 @@ SWIGINTERN void std_vector_Sl_int_Sg____delslice__(std::vector< int > *self,std: SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice,std::vector< int,std::allocator< int > > const &v){ +SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,PySliceObject *slice,std::vector< int,std::allocator< int > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6534,46 +6190,46 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delslice__(std::vector< unsi SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(std::vector< unsigned int > *self,std::vector< unsigned int >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< unsigned int,std::allocator< unsigned int > > *std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< unsigned int,std::allocator< unsigned int > > *std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(std::vector< unsigned int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_0(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice,std::vector< unsigned int,std::allocator< unsigned int > > const &v){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_0(std::vector< unsigned int > *self,PySliceObject *slice,std::vector< unsigned int,std::allocator< unsigned int > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(std::vector< unsigned int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(std::vector< unsigned int > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6661,46 +6317,46 @@ SWIGINTERN void std_vector_Sl_double_Sg____delslice__(std::vector< double > *sel SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice,std::vector< double,std::allocator< double > > const &v){ +SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,PySliceObject *slice,std::vector< double,std::allocator< double > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6785,46 +6441,46 @@ SWIGINTERN void std_vector_Sl_uint64_t_Sg____delslice__(std::vector< uint64_t > SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_0(std::vector< uint64_t > *self,std::vector< uint64_t >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< uint64_t,std::allocator< uint64_t > > *std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< uint64_t,std::allocator< uint64_t > > *std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(std::vector< uint64_t > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_0(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice,std::vector< uint64_t,std::allocator< uint64_t > > const &v){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_0(std::vector< uint64_t > *self,PySliceObject *slice,std::vector< uint64_t,std::allocator< uint64_t > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(std::vector< uint64_t > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(std::vector< uint64_t > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6897,46 +6553,46 @@ SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delslice__(std::vec SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,SWIGPY_SLICEOBJECT *slice,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &v){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,PySliceObject *slice,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_1(std::vector< btllib::Indexlr::Minimizer > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_1(std::vector< btllib::Indexlr::Minimizer > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_1(std::vector< btllib::Indexlr::Minimizer > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_1(std::vector< btllib::Indexlr::Minimizer > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -7001,46 +6657,46 @@ SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delslice__(std::vector< bt SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return NULL; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &v){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &v){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ Py_ssize_t i, j, step; if( !PySlice_Check(slice) ) { SWIG_Error(SWIG_TypeError, "Slice object expected."); return; } - PySlice_GetIndices(slice, (Py_ssize_t)self->size(), &i, &j, &step); + PySlice_GetIndices(SWIGPY_SLICE_ARG(slice), (Py_ssize_t)self->size(), &i, &j, &step); std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -7082,29 +6738,13 @@ SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_1(std::vector< static_assert(sizeof(long unsigned int) >= sizeof(uint64_t), "Python wrappers are using wrong size integers."); -SWIGINTERN btllib::SeqWriter *btllib_SeqWriter___enter__(btllib::SeqWriter *self){ +SWIGINTERN btllib::Indexlr *btllib_Indexlr___enter__(btllib::Indexlr *self){ return self; } -SWIGINTERN void btllib_SeqWriter___exit__(btllib::SeqWriter *self,PyObject *,PyObject *,PyObject *){ +SWIGINTERN void btllib_Indexlr___exit__(btllib::Indexlr *self,PyObject *,PyObject *,PyObject *){ self->close(); } -SWIGINTERN int -SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val) -{ - unsigned long v; - int res = SWIG_AsVal_unsigned_SS_long (obj, &v); - if (SWIG_IsOK(res)) { - if ((v > UCHAR_MAX)) { - return SWIG_OverflowError; - } else { - if (val) *val = static_cast< unsigned char >(v); - } - } - return res; -} - - SWIGINTERNINLINE PyObject * SWIG_FromCharPtr(const char *cptr) { @@ -7117,10 +6757,10 @@ SWIGINTERN btllib::SeqReader *btllib_SeqReader___enter__(btllib::SeqReader *self SWIGINTERN void btllib_SeqReader___exit__(btllib::SeqReader *self,PyObject *,PyObject *,PyObject *){ self->close(); } -SWIGINTERN btllib::Indexlr *btllib_Indexlr___enter__(btllib::Indexlr *self){ +SWIGINTERN btllib::SeqWriter *btllib_SeqWriter___enter__(btllib::SeqWriter *self){ return self; } -SWIGINTERN void btllib_Indexlr___exit__(btllib::Indexlr *self,PyObject *,PyObject *,PyObject *){ +SWIGINTERN void btllib_SeqWriter___exit__(btllib::SeqWriter *self,PyObject *,PyObject *,PyObject *){ self->close(); } @@ -7133,6 +6773,29 @@ SWIG_strnlen(const char* s, size_t maxlen) return p - s; } + +SWIGINTERNINLINE PyObject * +SWIG_From_unsigned_SS_char (unsigned char value) +{ + return SWIG_From_unsigned_SS_long (value); +} + + +SWIGINTERN int +SWIG_AsVal_unsigned_SS_char (PyObject * obj, unsigned char *val) +{ + unsigned long v; + int res = SWIG_AsVal_unsigned_SS_long (obj, &v); + if (SWIG_IsOK(res)) { + if ((v > UCHAR_MAX)) { + return SWIG_OverflowError; + } else { + if (val) *val = static_cast< unsigned char >(v); + } + } + return res; +} + SWIGINTERN btllib::NtHash *new_btllib_NtHash__SWIG_0(std::string seq,unsigned int hash_num,unsigned int k,size_t pos=0){ std::unique_lock lock(nthash_mutex); nthash_strings[++nthash_last_id] = std::move(seq); @@ -7170,13 +6833,6 @@ SWIGINTERN void delete_btllib_SeedNtHash(btllib::SeedNtHash *self){ nthash_ids.erase((void*)self); } -SWIGINTERNINLINE PyObject * -SWIG_From_unsigned_SS_char (unsigned char value) -{ - return SWIG_From_unsigned_SS_long (value); -} - - SWIGINTERNINLINE PyObject * SWIG_From_unsigned_SS_short (unsigned short value) { @@ -7848,7 +7504,6 @@ SWIGINTERN PyObject *_wrap_ios_base_register_callback(PyObject *self, PyObject * int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_register_callback", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7881,7 +7536,6 @@ SWIGINTERN PyObject *_wrap_ios_base_flags__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::ios_base::fmtflags result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7906,7 +7560,6 @@ SWIGINTERN PyObject *_wrap_ios_base_flags__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::ios_base::fmtflags result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7932,7 +7585,6 @@ SWIGINTERN PyObject *_wrap_ios_base_flags(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_flags", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -7965,7 +7617,6 @@ SWIGINTERN PyObject *_wrap_ios_base_setf__SWIG_0(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; std::ios_base::fmtflags result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7998,7 +7649,6 @@ SWIGINTERN PyObject *_wrap_ios_base_setf__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::ios_base::fmtflags result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8029,7 +7679,6 @@ SWIGINTERN PyObject *_wrap_ios_base_setf(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_setf", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -8062,7 +7711,6 @@ SWIGINTERN PyObject *_wrap_ios_base_unsetf(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8090,7 +7738,6 @@ SWIGINTERN PyObject *_wrap_ios_base_precision__SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::streamsize result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8115,7 +7762,6 @@ SWIGINTERN PyObject *_wrap_ios_base_precision__SWIG_1(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::streamsize result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8141,7 +7787,6 @@ SWIGINTERN PyObject *_wrap_ios_base_precision(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_precision", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8171,7 +7816,6 @@ SWIGINTERN PyObject *_wrap_ios_base_width__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::streamsize result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8196,7 +7840,6 @@ SWIGINTERN PyObject *_wrap_ios_base_width__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::streamsize result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8222,7 +7865,6 @@ SWIGINTERN PyObject *_wrap_ios_base_width(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_width", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8252,7 +7894,6 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio__SWIG_0(PyObject *self, Py_s int ecode1 = 0 ; bool result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -8271,7 +7912,6 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio__SWIG_1(PyObject *self, Py_s PyObject *resultobj = 0; bool result; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (bool)std::ios_base::sync_with_stdio(); resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -8287,7 +7927,6 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_sync_with_stdio", 0, 1, argv))) SWIG_fail; --argc; if (argc == 0) { @@ -8321,7 +7960,6 @@ SWIGINTERN PyObject *_wrap_ios_base_imbue(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::locale result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8338,7 +7976,7 @@ SWIGINTERN PyObject *_wrap_ios_base_imbue(PyObject *self, PyObject *args) { } arg2 = reinterpret_cast< std::locale * >(argp2); result = (arg1)->imbue((std::locale const &)*arg2); - resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -8350,9 +7988,9 @@ SWIGINTERN PyObject *_wrap_ios_base_getloc(PyObject *self, PyObject *args) { std::ios_base *arg1 = (std::ios_base *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::locale result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_getloc", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8360,7 +7998,7 @@ SWIGINTERN PyObject *_wrap_ios_base_getloc(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::ios_base * >(argp1); result = ((std::ios_base const *)arg1)->getloc(); - resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -8371,7 +8009,6 @@ SWIGINTERN PyObject *_wrap_ios_base_xalloc(PyObject *self, PyObject *args) { PyObject *resultobj = 0; int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_xalloc", 0, 0, 0)) SWIG_fail; result = (int)std::ios_base::xalloc(); resultobj = SWIG_From_int(static_cast< int >(result)); @@ -8392,7 +8029,6 @@ SWIGINTERN PyObject *_wrap_ios_base_iword(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; long *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8424,7 +8060,6 @@ SWIGINTERN PyObject *_wrap_ios_base_pword(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; void **result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8450,8 +8085,8 @@ SWIGINTERN PyObject *_wrap_delete_ios_base(PyObject *self, PyObject *args) { std::ios_base *arg1 = (std::ios_base *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ios_base", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -8473,9 +8108,9 @@ SWIGINTERN PyObject *_wrap_ios_rdstate(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::ios_base::iostate result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_rdstate", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8499,7 +8134,6 @@ SWIGINTERN PyObject *_wrap_ios_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, P int val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8525,7 +8159,6 @@ SWIGINTERN PyObject *_wrap_ios_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, P void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8546,7 +8179,6 @@ SWIGINTERN PyObject *_wrap_ios_clear(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_clear", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8579,7 +8211,6 @@ SWIGINTERN PyObject *_wrap_ios_setstate(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8605,9 +8236,9 @@ SWIGINTERN PyObject *_wrap_ios_good(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_good", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8627,9 +8258,9 @@ SWIGINTERN PyObject *_wrap_ios_eof(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_eof", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8649,9 +8280,9 @@ SWIGINTERN PyObject *_wrap_ios_fail(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_fail", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8671,9 +8302,9 @@ SWIGINTERN PyObject *_wrap_ios_bad(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_bad", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8695,7 +8326,6 @@ SWIGINTERN PyObject *_wrap_ios_exceptions__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::ios_base::iostate result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8719,7 +8349,6 @@ SWIGINTERN PyObject *_wrap_ios_exceptions__SWIG_1(PyObject *self, Py_ssize_t nob int val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8745,7 +8374,6 @@ SWIGINTERN PyObject *_wrap_ios_exceptions(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_exceptions", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8776,7 +8404,6 @@ SWIGINTERN int _wrap_new_ios(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *swig_obj[1] ; std::basic_ios< char > *result = 0 ; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_ios")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_ios", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8797,8 +8424,8 @@ SWIGINTERN PyObject *_wrap_delete_ios(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ios", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -8820,7 +8447,6 @@ SWIGINTERN PyObject *_wrap_ios_tie__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8845,7 +8471,6 @@ SWIGINTERN PyObject *_wrap_ios_tie__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8871,7 +8496,6 @@ SWIGINTERN PyObject *_wrap_ios_tie(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_tie", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8901,7 +8525,6 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf__SWIG_0(PyObject *self, Py_ssize_t nobjs, P int res1 = 0 ; std::basic_streambuf< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8926,7 +8549,6 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf__SWIG_1(PyObject *self, Py_ssize_t nobjs, P int res2 = 0 ; std::basic_streambuf< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8952,7 +8574,6 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_rdbuf", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8986,7 +8607,6 @@ SWIGINTERN PyObject *_wrap_ios_copyfmt(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ios< char > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9017,7 +8637,6 @@ SWIGINTERN PyObject *_wrap_ios_fill__SWIG_0(PyObject *self, Py_ssize_t nobjs, Py int res1 = 0 ; std::basic_ios< char >::char_type result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9042,7 +8661,6 @@ SWIGINTERN PyObject *_wrap_ios_fill__SWIG_1(PyObject *self, Py_ssize_t nobjs, Py int ecode2 = 0 ; std::basic_ios< char >::char_type result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9068,7 +8686,6 @@ SWIGINTERN PyObject *_wrap_ios_fill(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_fill", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -9102,7 +8719,6 @@ SWIGINTERN PyObject *_wrap_ios_imbue(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::locale result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9119,7 +8735,7 @@ SWIGINTERN PyObject *_wrap_ios_imbue(PyObject *self, PyObject *args) { } arg2 = reinterpret_cast< std::locale * >(argp2); result = (arg1)->imbue((std::locale const &)*arg2); - resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -9140,7 +8756,6 @@ SWIGINTERN PyObject *_wrap_ios_narrow(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; char result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_narrow", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9176,7 +8791,6 @@ SWIGINTERN PyObject *_wrap_ios_widen(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ios< char >::char_type result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9271,7 +8885,6 @@ SWIGINTERN int _wrap_new_ostream(PyObject *self, PyObject *args, PyObject *kwarg PyObject *swig_obj[1] ; std::basic_ostream< char > *result = 0 ; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_ostream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_ostream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9292,8 +8905,8 @@ SWIGINTERN PyObject *_wrap_delete_ostream(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ostream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -9316,7 +8929,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9347,7 +8959,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9378,7 +8989,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_2(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9411,7 +9021,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_3(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9443,7 +9052,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_4(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9475,7 +9083,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_5(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9507,7 +9114,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_6(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9539,7 +9145,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_7(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9571,7 +9176,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_8(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9603,7 +9207,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_9(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9635,7 +9238,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_10(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9667,7 +9269,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_11(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9699,7 +9300,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_12(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9731,7 +9331,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_13(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9763,7 +9362,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_14(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9802,7 +9400,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_15(PyObject *self, Py_ssize_ int res2 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9833,7 +9430,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_16(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9865,7 +9461,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_17(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9896,7 +9491,6 @@ SWIGINTERN PyObject *_wrap_ostream___lshift__(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ostream___lshift__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -10134,7 +9728,6 @@ SWIGINTERN PyObject *_wrap_ostream_put(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -10170,7 +9763,6 @@ SWIGINTERN PyObject *_wrap_ostream_write(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_write", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10202,9 +9794,9 @@ SWIGINTERN PyObject *_wrap_ostream_flush(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_flush", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10224,9 +9816,9 @@ SWIGINTERN PyObject *_wrap_ostream_tellp(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::basic_ostream< char >::pos_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_tellp", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10234,7 +9826,7 @@ SWIGINTERN PyObject *_wrap_ostream_tellp(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::basic_ostream< char > * >(argp1); result = (arg1)->tellp(); - resultobj = SWIG_NewPointerObj((new std::basic_ostream< char >::pos_type(result)), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::basic_ostream< char >::pos_type(static_cast< const std::basic_ostream< char >::pos_type& >(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -10251,7 +9843,6 @@ SWIGINTERN PyObject *_wrap_ostream_seekp__SWIG_0(PyObject *self, Py_ssize_t nobj int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10292,7 +9883,6 @@ SWIGINTERN PyObject *_wrap_ostream_seekp__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10331,7 +9921,6 @@ SWIGINTERN PyObject *_wrap_ostream_seekp(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ostream_seekp", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -10366,7 +9955,6 @@ SWIGINTERN int _wrap_new_istream(PyObject *self, PyObject *args, PyObject *kwarg PyObject *swig_obj[1] ; std::basic_istream< char > *result = 0 ; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_istream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_istream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -10387,8 +9975,8 @@ SWIGINTERN PyObject *_wrap_delete_istream(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_istream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -10411,7 +9999,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10442,7 +10029,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10473,7 +10059,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_2(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10506,7 +10091,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_3(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10541,7 +10125,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_4(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10576,7 +10159,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_5(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10611,7 +10193,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_6(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10646,7 +10227,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_7(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10681,7 +10261,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_8(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10716,7 +10295,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_9(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10751,7 +10329,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_10(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10786,7 +10363,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_11(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10821,7 +10397,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_12(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10856,7 +10431,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_13(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10891,7 +10465,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_14(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10926,7 +10499,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_15(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10961,7 +10533,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_16(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10989,7 +10560,6 @@ SWIGINTERN PyObject *_wrap_istream___rshift__(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream___rshift__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -11201,9 +10771,9 @@ SWIGINTERN PyObject *_wrap_istream_gcount(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::streamsize result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_gcount", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11225,7 +10795,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_0(PyObject *self, Py_ssize_t nobjs, int res1 = 0 ; std::basic_istream< char >::int_type result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11250,7 +10819,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11290,7 +10858,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode4 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11336,7 +10903,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11376,7 +10942,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_4(PyObject *self, Py_ssize_t nobjs, int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11414,7 +10979,6 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_5(PyObject *self, Py_ssize_t nobjs, int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11443,7 +11007,6 @@ SWIGINTERN PyObject *_wrap_istream_get(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_get", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -11528,7 +11091,6 @@ SWIGINTERN PyObject *_wrap_istream_getline__SWIG_0(PyObject *self, Py_ssize_t no int ecode4 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11574,7 +11136,6 @@ SWIGINTERN PyObject *_wrap_istream_getline__SWIG_1(PyObject *self, Py_ssize_t no int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11607,7 +11168,6 @@ SWIGINTERN PyObject *_wrap_istream_getline(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_getline", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -11643,7 +11203,6 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_0(PyObject *self, Py_ssize_t nob int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11678,7 +11237,6 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11705,7 +11263,6 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_2(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11726,7 +11283,6 @@ SWIGINTERN PyObject *_wrap_istream_ignore(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_ignore", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -11760,9 +11316,9 @@ SWIGINTERN PyObject *_wrap_istream_peek(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::basic_istream< char >::int_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_peek", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11792,7 +11348,6 @@ SWIGINTERN PyObject *_wrap_istream_read(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_read", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11834,7 +11389,6 @@ SWIGINTERN PyObject *_wrap_istream_readsome(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::streamsize result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_readsome", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11872,7 +11426,6 @@ SWIGINTERN PyObject *_wrap_istream_putback(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -11898,9 +11451,9 @@ SWIGINTERN PyObject *_wrap_istream_unget(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_unget", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11920,9 +11473,9 @@ SWIGINTERN PyObject *_wrap_istream_sync(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_sync", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11942,9 +11495,9 @@ SWIGINTERN PyObject *_wrap_istream_tellg(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::basic_istream< char >::pos_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_tellg", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11952,7 +11505,7 @@ SWIGINTERN PyObject *_wrap_istream_tellg(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::basic_istream< char > * >(argp1); result = (arg1)->tellg(); - resultobj = SWIG_NewPointerObj((new std::basic_istream< char >::pos_type(result)), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::basic_istream< char >::pos_type(static_cast< const std::basic_istream< char >::pos_type& >(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -11969,7 +11522,6 @@ SWIGINTERN PyObject *_wrap_istream_seekg__SWIG_0(PyObject *self, Py_ssize_t nobj int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12010,7 +11562,6 @@ SWIGINTERN PyObject *_wrap_istream_seekg__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12049,7 +11600,6 @@ SWIGINTERN PyObject *_wrap_istream_seekg(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_seekg", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -12084,7 +11634,6 @@ SWIGINTERN int _wrap_new_iostream(PyObject *self, PyObject *args, PyObject *kwar PyObject *swig_obj[1] ; std::basic_iostream< char > *result = 0 ; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_iostream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_iostream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -12105,8 +11654,8 @@ SWIGINTERN PyObject *_wrap_delete_iostream(PyObject *self, PyObject *args) { std::basic_iostream< char > *arg1 = (std::basic_iostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_iostream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -12131,7 +11680,6 @@ SWIGINTERN PyObject *_wrap_endl(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -12158,7 +11706,6 @@ SWIGINTERN PyObject *_wrap_ends(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -12185,7 +11732,6 @@ SWIGINTERN PyObject *_wrap_flush(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -12209,8 +11755,8 @@ SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *self, PyObject *args) swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SwigPyIterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -12230,9 +11776,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *self, PyObject *args) swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; PyObject *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_value", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12265,7 +11811,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *self, Py_ssize_ int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12300,7 +11845,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_1(PyObject *self, Py_ssize_ int res1 = 0 ; swig::SwigPyIterator *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12329,7 +11873,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator_incr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -12362,7 +11905,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *self, Py_ssize_ int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12397,7 +11939,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_1(PyObject *self, Py_ssize_ int res1 = 0 ; swig::SwigPyIterator *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12426,7 +11967,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator_decr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -12460,7 +12000,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; ptrdiff_t result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12499,7 +12038,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_equal(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12532,9 +12070,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_copy(PyObject *self, PyObject *args) { swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_copy", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12554,9 +12092,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_next(PyObject *self, PyObject *args) { swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; PyObject *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_next", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12584,9 +12122,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___next__(PyObject *self, PyObject *arg swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; PyObject *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator___next__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12614,9 +12152,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_previous(PyObject *self, PyObject *arg swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; PyObject *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_previous", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12650,7 +12188,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_advance(PyObject *self, PyObject *args PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12690,7 +12227,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___eq__(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12727,7 +12263,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___ne__(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12764,7 +12299,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___iadd__(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); @@ -12804,7 +12338,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___isub__(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); @@ -12844,7 +12377,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___add__(PyObject *self, PyObject *args PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12885,7 +12417,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *self, Py_ssi int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12925,7 +12456,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *self, Py_ssi int res2 = 0 ; ptrdiff_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12956,7 +12486,6 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator___sub__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -12994,10 +12523,10 @@ SWIGINTERN PyObject *_wrap_VectorString_iterator(PyObject *self, PyObject *args) PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13017,9 +12546,9 @@ SWIGINTERN PyObject *_wrap_VectorString___nonzero__(PyObject *self, PyObject *ar std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13039,9 +12568,9 @@ SWIGINTERN PyObject *_wrap_VectorString___bool__(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13061,9 +12590,9 @@ SWIGINTERN PyObject *_wrap_VectorString___len__(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13092,7 +12621,6 @@ SWIGINTERN PyObject *_wrap_VectorString___getslice__(PyObject *self, PyObject *a PyObject *swig_obj[3] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13110,7 +12638,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getslice__(PyObject *self, PyObject *a } 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,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13135,7 +12663,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_0(PyObject *self, Py_ ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13153,7 +12680,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_0(PyObject *self, Py_ } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); try { - std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_std_string_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13180,7 +12707,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_1(PyObject *self, Py_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13209,7 +12735,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_1(PyObject *self, Py_ arg4 = ptr; } try { - 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); + std_vector_Sl_std_string_Sg____setslice____SWIG_1(arg1,arg2,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) { @@ -13230,7 +12756,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice__(PyObject *self, PyObject *a 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -13266,7 +12791,6 @@ SWIGINTERN PyObject *_wrap_VectorString___delslice__(PyObject *self, PyObject *a int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13284,7 +12808,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< std::string >::difference_type >(val3); try { - std_vector_Sl_std_string_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_std_string_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13306,7 +12830,6 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13319,7 +12842,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s } arg2 = static_cast< std::vector< std::string >::difference_type >(val2); try { - std_vector_Sl_std_string_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_std_string_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13335,12 +12858,11 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___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 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13349,9 +12871,9 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< std::string,std::allocator< std::string > > *)std_vector_Sl_std_string_Sg____getitem____SWIG_0(arg1,arg2); @@ -13370,13 +12892,12 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___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 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13385,9 +12906,9 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -13419,11 +12940,10 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___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 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13432,9 +12952,9 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_std_string_Sg____setitem____SWIG_1(arg1,arg2); @@ -13453,11 +12973,10 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_1(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___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 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13466,9 +12985,9 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_std_string_Sg____delitem____SWIG_1(arg1,arg2); @@ -13490,7 +13009,6 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13515,7 +13033,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem__(PyObject *self, PyObject *ar SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___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__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< std::string >::__delitem__(PySliceObject *)\n"); return 0; } @@ -13530,7 +13048,6 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_1(PyObject *self, Py_s int ecode2 = 0 ; std::vector< std::string >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13543,7 +13060,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_1(PyObject *self, Py_s } 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,SWIG_STD_MOVE(arg2)); + result = (std::vector< std::string >::value_type *) &std_vector_Sl_std_string_Sg____getitem____SWIG_1((std::vector< std::string > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -13561,7 +13078,6 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13585,7 +13101,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< std::string >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< std::string >::__getitem__(PySliceObject *)\n" " std::vector< std::string >::__getitem__(std::vector< std::string >::difference_type) const\n"); return 0; } @@ -13602,7 +13118,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_2(PyObject *self, Py_s int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13626,7 +13141,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_2(PyObject *self, Py_s arg3 = ptr; } try { - std_vector_Sl_std_string_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3); + std_vector_Sl_std_string_Sg____setitem____SWIG_2(arg1,arg2,(std::string const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -13648,7 +13163,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_3(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13661,7 +13175,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_3(PyObject *self, Py_s } arg2 = static_cast< std::vector< std::string >::difference_type >(val2); try { - std_vector_Sl_std_string_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_std_string_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13680,7 +13194,6 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13726,8 +13239,8 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___setitem__'.\n" " Possible C/C++ prototypes are:\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__(PySliceObject *,std::vector< std::string,std::allocator< std::string > > const &)\n" + " std::vector< std::string >::__setitem__(PySliceObject *)\n" " std::vector< std::string >::__setitem__(std::vector< std::string >::difference_type,std::vector< std::string >::value_type const &)\n" " std::vector< std::string >::__setitem__(std::vector< std::string >::difference_type)\n"); return 0; @@ -13739,9 +13252,9 @@ SWIGINTERN PyObject *_wrap_VectorString_pop(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13769,7 +13282,6 @@ SWIGINTERN PyObject *_wrap_VectorString_append(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -13802,7 +13314,6 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< std::string > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< std::string > *)new std::vector< std::string >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -13818,7 +13329,6 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< std::string > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -13846,9 +13356,9 @@ SWIGINTERN PyObject *_wrap_VectorString_empty(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13868,9 +13378,9 @@ SWIGINTERN PyObject *_wrap_VectorString_size(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13895,7 +13405,6 @@ SWIGINTERN PyObject *_wrap_VectorString_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -13924,9 +13433,9 @@ SWIGINTERN PyObject *_wrap_VectorString_begin(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13947,9 +13456,9 @@ SWIGINTERN PyObject *_wrap_VectorString_end(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13970,9 +13479,9 @@ SWIGINTERN PyObject *_wrap_VectorString_rbegin(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13993,9 +13502,9 @@ SWIGINTERN PyObject *_wrap_VectorString_rend(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14016,8 +13525,8 @@ SWIGINTERN PyObject *_wrap_VectorString_clear(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14037,9 +13546,9 @@ SWIGINTERN PyObject *_wrap_VectorString_get_allocator(PyObject *self, PyObject * std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< std::string > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14047,7 +13556,7 @@ SWIGINTERN PyObject *_wrap_VectorString_get_allocator(PyObject *self, PyObject * } 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(result)), SWIGTYPE_p_std__allocatorT_std__string_t, SWIG_POINTER_OWN | 0 ); + 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 ); return resultobj; fail: return NULL; @@ -14061,7 +13570,6 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< std::string > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -14081,8 +13589,8 @@ SWIGINTERN PyObject *_wrap_VectorString_pop_back(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14106,7 +13614,6 @@ SWIGINTERN PyObject *_wrap_VectorString_resize__SWIG_0(PyObject *self, Py_ssize_ size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14136,7 +13643,6 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_0(PyObject *self, Py_ssize_t int res2 ; std::vector< std::string >::iterator result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14154,7 +13660,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "2"" of type '" "std::vector< std::string >::iterator""'"); } } - result = std_vector_Sl_std_string_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_std_string_Sg__erase__SWIG_0(arg1,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; @@ -14176,7 +13682,6 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_1(PyObject *self, Py_ssize_t int res3 ; std::vector< std::string >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14205,7 +13710,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_erase" "', argument " "3"" of type '" "std::vector< std::string >::iterator""'"); } } - result = std_vector_Sl_std_string_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_std_string_Sg__erase__SWIG_1(arg1,arg2,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; @@ -14220,7 +13725,6 @@ SWIGINTERN PyObject *_wrap_VectorString_erase(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -14252,7 +13756,6 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_3(PyObject *self, Py_ssize_t nobjs, int res2 = SWIG_OLDOBJ ; std::vector< std::string > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -14286,7 +13789,6 @@ SWIGINTERN int _wrap_new_VectorString(PyObject *self, PyObject *args, PyObject * 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorString")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorString", 0, 2, argv))) SWIG_fail; --argc; @@ -14339,7 +13841,6 @@ SWIGINTERN PyObject *_wrap_VectorString_push_back(PyObject *self, PyObject *args int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -14373,9 +13874,9 @@ SWIGINTERN PyObject *_wrap_VectorString_front(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14396,9 +13897,9 @@ SWIGINTERN PyObject *_wrap_VectorString_back(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14426,7 +13927,6 @@ SWIGINTERN PyObject *_wrap_VectorString_assign(PyObject *self, PyObject *args) { int res3 = SWIG_OLDOBJ ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14470,7 +13970,6 @@ SWIGINTERN PyObject *_wrap_VectorString_resize__SWIG_1(PyObject *self, Py_ssize_ int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14509,7 +14008,6 @@ SWIGINTERN PyObject *_wrap_VectorString_resize(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -14544,7 +14042,6 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_0(PyObject *self, Py_ssize_ int res3 = SWIG_OLDOBJ ; std::vector< std::string >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14573,7 +14070,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_0(PyObject *self, Py_ssize_ } arg3 = ptr; } - result = std_vector_Sl_std_string_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::string const &)*arg3); + result = std_vector_Sl_std_string_Sg__insert__SWIG_0(arg1,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; @@ -14598,7 +14095,6 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_1(PyObject *self, Py_ssize_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14632,7 +14128,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_1(PyObject *self, Py_ssize_ } arg4 = ptr; } - std_vector_Sl_std_string_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::string const &)*arg4); + std_vector_Sl_std_string_Sg__insert__SWIG_1(arg1,arg2,arg3,(std::string const &)*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; @@ -14648,7 +14144,6 @@ SWIGINTERN PyObject *_wrap_VectorString_insert(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -14681,7 +14176,6 @@ SWIGINTERN PyObject *_wrap_VectorString_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -14707,9 +14201,9 @@ SWIGINTERN PyObject *_wrap_VectorString_capacity(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14729,8 +14223,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorString(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorString", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -14763,10 +14257,10 @@ SWIGINTERN PyObject *_wrap_VectorInt_iterator(PyObject *self, PyObject *args) { PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14786,9 +14280,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___nonzero__(PyObject *self, PyObject *args) std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14808,9 +14302,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___bool__(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14830,9 +14324,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___len__(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14861,7 +14355,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___getslice__(PyObject *self, PyObject *args PyObject *swig_obj[3] ; std::vector< int,std::allocator< int > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14879,7 +14372,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getslice__(PyObject *self, PyObject *args } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -14904,7 +14397,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_0(PyObject *self, Py_ssi ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14922,7 +14414,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_0(PyObject *self, Py_ssi } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -14949,7 +14441,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_1(PyObject *self, Py_ssi int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14978,7 +14469,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_1(PyObject *self, Py_ssi arg4 = ptr; } try { - std_vector_Sl_int_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< int,std::allocator< int > > const &)*arg4); + std_vector_Sl_int_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< int,std::allocator< int > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -14999,7 +14490,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice__(PyObject *self, PyObject *args 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -15035,7 +14525,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___delslice__(PyObject *self, PyObject *args int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15053,7 +14542,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delslice__(PyObject *self, PyObject *args } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - std_vector_Sl_int_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_int_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -15075,7 +14564,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15088,7 +14576,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - std_vector_Sl_int_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_int_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -15104,12 +14592,11 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< int,std::allocator< int > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15118,9 +14605,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getitem____SWIG_0(arg1,arg2); @@ -15139,13 +14626,12 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< int,std::allocator< int > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15154,9 +14640,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; @@ -15188,11 +14674,10 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15201,9 +14686,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_int_Sg____setitem____SWIG_1(arg1,arg2); @@ -15222,11 +14707,10 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15235,9 +14719,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_1(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_int_Sg____delitem____SWIG_1(arg1,arg2); @@ -15259,7 +14743,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem__(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -15284,7 +14767,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem__(PyObject *self, PyObject *args) SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< int >::__delitem__(std::vector< int >::difference_type)\n" - " std::vector< int >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< int >::__delitem__(PySliceObject *)\n"); return 0; } @@ -15299,7 +14782,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_1(PyObject *self, Py_ssiz int ecode2 = 0 ; std::vector< int >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15312,7 +14794,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_1(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg____getitem____SWIG_1((std::vector< int > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg____getitem____SWIG_1((std::vector< int > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -15330,7 +14812,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem__(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -15354,7 +14835,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem__(PyObject *self, PyObject *args) fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< int >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< int >::__getitem__(PySliceObject *)\n" " std::vector< int >::__getitem__(std::vector< int >::difference_type) const\n"); return 0; } @@ -15373,7 +14854,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_2(PyObject *self, Py_ssiz int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15392,7 +14872,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_2(PyObject *self, Py_ssiz temp3 = static_cast< std::vector< int >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_int_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3); + std_vector_Sl_int_Sg____setitem____SWIG_2(arg1,arg2,(int const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -15412,7 +14892,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_3(PyObject *self, Py_ssiz ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15425,7 +14904,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_3(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - std_vector_Sl_int_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_int_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -15444,7 +14923,6 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem__(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -15490,8 +14968,8 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem__(PyObject *self, PyObject *args) fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< int,std::allocator< int > > const &)\n" - " std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< int >::__setitem__(PySliceObject *,std::vector< int,std::allocator< int > > const &)\n" + " std::vector< int >::__setitem__(PySliceObject *)\n" " std::vector< int >::__setitem__(std::vector< int >::difference_type,std::vector< int >::value_type const &)\n" " std::vector< int >::__setitem__(std::vector< int >::difference_type)\n"); return 0; @@ -15503,9 +14981,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_pop(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15535,7 +15013,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_append(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -15561,7 +15038,6 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO PyObject *resultobj = 0; std::vector< int > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< int > *)new std::vector< int >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -15577,7 +15053,6 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int res1 = SWIG_OLDOBJ ; std::vector< int > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; @@ -15605,9 +15080,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_empty(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15627,9 +15102,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_size(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15654,7 +15129,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -15683,9 +15157,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_begin(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15706,9 +15180,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_end(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15729,9 +15203,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_rbegin(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15752,9 +15226,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_rend(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15775,8 +15249,8 @@ SWIGINTERN PyObject *_wrap_VectorInt_clear(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15796,9 +15270,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_get_allocator(PyObject *self, PyObject *arg std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< int > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15806,7 +15280,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_get_allocator(PyObject *self, PyObject *arg } arg1 = reinterpret_cast< std::vector< int > * >(argp1); result = ((std::vector< int > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(static_cast< const std::vector< int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -15820,7 +15294,6 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyO int ecode1 = 0 ; std::vector< int > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -15840,8 +15313,8 @@ SWIGINTERN PyObject *_wrap_VectorInt_pop_back(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15865,7 +15338,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize__SWIG_0(PyObject *self, Py_ssize_t n size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15895,7 +15367,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_0(PyObject *self, Py_ssize_t no int res2 ; std::vector< int >::iterator result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15913,7 +15384,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_0(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'"); } } - result = std_vector_Sl_int_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_int_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -15935,7 +15406,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_1(PyObject *self, Py_ssize_t no int res3 ; std::vector< int >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15964,7 +15434,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_1(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt_erase" "', argument " "3"" of type '" "std::vector< int >::iterator""'"); } } - result = std_vector_Sl_int_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_int_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -15979,7 +15449,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -16013,7 +15482,6 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyO int ecode2 = 0 ; std::vector< int > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -16040,7 +15508,6 @@ SWIGINTERN int _wrap_new_VectorInt(PyObject *self, PyObject *args, PyObject *kwa 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorInt")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorInt", 0, 2, argv))) SWIG_fail; --argc; @@ -16095,7 +15562,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_push_back(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -16122,9 +15588,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_front(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16145,9 +15611,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_back(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16177,7 +15643,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_assign(PyObject *self, PyObject *args) { int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16216,7 +15681,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize__SWIG_1(PyObject *self, Py_ssize_t n int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16248,7 +15712,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -16285,7 +15748,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_0(PyObject *self, Py_ssize_t n int ecode3 = 0 ; std::vector< int >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16309,7 +15771,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_0(PyObject *self, Py_ssize_t n } temp3 = static_cast< std::vector< int >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_int_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3); + result = std_vector_Sl_int_Sg__insert__SWIG_0(arg1,arg2,(int const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -16334,7 +15796,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_1(PyObject *self, Py_ssize_t n int val4 ; int ecode4 = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16363,7 +15824,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_1(PyObject *self, Py_ssize_t n } temp4 = static_cast< std::vector< int >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_int_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(int const &)*arg4); + std_vector_Sl_int_Sg__insert__SWIG_1(arg1,arg2,arg3,(int const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -16377,7 +15838,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -16410,7 +15870,6 @@ SWIGINTERN PyObject *_wrap_VectorInt_reserve(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -16436,9 +15895,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_capacity(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16458,8 +15917,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorInt(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorInt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -16492,10 +15951,10 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_iterator(PyObject *self, PyObject *arg PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16515,9 +15974,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___nonzero__(PyObject *self, PyObject * std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16537,9 +15996,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___bool__(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16559,9 +16018,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___len__(PyObject *self, PyObject *args std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16590,7 +16049,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getslice__(PyObject *self, PyObject PyObject *swig_obj[3] ; std::vector< unsigned int,std::allocator< unsigned int > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16608,7 +16066,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16633,7 +16091,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_0(PyObject *self, P ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16651,7 +16108,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_0(PyObject *self, P } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16678,7 +16135,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_1(PyObject *self, P int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16707,7 +16163,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_1(PyObject *self, P arg4 = ptr; } try { - std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); + std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16728,7 +16184,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -16764,7 +16219,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delslice__(PyObject *self, PyObject int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16782,7 +16236,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_int_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_unsigned_SS_int_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16804,7 +16258,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16817,7 +16270,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16833,12 +16286,11 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< unsigned int,std::allocator< unsigned int > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16847,9 +16299,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(arg1,arg2); @@ -16868,13 +16320,12 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< unsigned int,std::allocator< unsigned int > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16883,9 +16334,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; @@ -16917,11 +16368,10 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16930,9 +16380,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(arg1,arg2); @@ -16951,11 +16401,10 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16964,9 +16413,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_1(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(arg1,arg2); @@ -16988,7 +16437,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem__(PyObject *self, PyObject * 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17013,7 +16461,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem__(PyObject *self, PyObject * SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< unsigned int >::__delitem__(std::vector< unsigned int >::difference_type)\n" - " std::vector< unsigned int >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< unsigned int >::__delitem__(PySliceObject *)\n"); return 0; } @@ -17028,7 +16476,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_1(PyObject *self, Py int ecode2 = 0 ; std::vector< unsigned int >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17041,7 +16488,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_1(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - result = (std::vector< unsigned int >::value_type *) &std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_1((std::vector< unsigned int > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< unsigned int >::value_type *) &std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_1((std::vector< unsigned int > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -17059,7 +16506,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem__(PyObject *self, PyObject * 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17083,7 +16529,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem__(PyObject *self, PyObject * fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned int >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< unsigned int >::__getitem__(PySliceObject *)\n" " std::vector< unsigned int >::__getitem__(std::vector< unsigned int >::difference_type) const\n"); return 0; } @@ -17102,7 +16548,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_2(PyObject *self, Py unsigned int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17121,7 +16566,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_2(PyObject *self, Py temp3 = static_cast< std::vector< unsigned int >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(unsigned int const &)*arg3); + std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_2(arg1,arg2,(unsigned int const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -17141,7 +16586,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_3(PyObject *self, Py ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17154,7 +16598,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_3(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -17173,7 +16617,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem__(PyObject *self, PyObject * 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17219,8 +16662,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem__(PyObject *self, PyObject * fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned int >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< unsigned int,std::allocator< unsigned int > > const &)\n" - " std::vector< unsigned int >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< unsigned int >::__setitem__(PySliceObject *,std::vector< unsigned int,std::allocator< unsigned int > > const &)\n" + " std::vector< unsigned int >::__setitem__(PySliceObject *)\n" " std::vector< unsigned int >::__setitem__(std::vector< unsigned int >::difference_type,std::vector< unsigned int >::value_type const &)\n" " std::vector< unsigned int >::__setitem__(std::vector< unsigned int >::difference_type)\n"); return 0; @@ -17232,9 +16675,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_pop(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17264,7 +16707,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_append(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -17290,7 +16732,6 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_0(PyObject *self, Py_ssize_t nobjs PyObject *resultobj = 0; std::vector< unsigned int > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< unsigned int > *)new std::vector< unsigned int >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -17306,7 +16747,6 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_1(PyObject *self, Py_ssize_t nobjs int res1 = SWIG_OLDOBJ ; std::vector< unsigned int > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; @@ -17334,9 +16774,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_empty(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17356,9 +16796,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_size(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17383,7 +16823,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -17412,9 +16851,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_begin(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17435,9 +16874,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_end(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17458,9 +16897,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_rbegin(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17481,9 +16920,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_rend(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17504,8 +16943,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_clear(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17525,9 +16964,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_get_allocator(PyObject *self, PyObject std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< unsigned int > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17535,7 +16974,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_get_allocator(PyObject *self, PyObject } arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); result = ((std::vector< unsigned int > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< unsigned int >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_int_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< unsigned int >::allocator_type(static_cast< const std::vector< unsigned int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_int_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -17549,7 +16988,6 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_2(PyObject *self, Py_ssize_t nobjs int ecode1 = 0 ; std::vector< unsigned int > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -17569,8 +17007,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_pop_back(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17594,7 +17032,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize__SWIG_0(PyObject *self, Py_ssiz size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17624,7 +17061,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_0(PyObject *self, Py_ssize int res2 ; std::vector< unsigned int >::iterator result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17642,7 +17078,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_0(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned_erase" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -17664,7 +17100,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_1(PyObject *self, Py_ssize int res3 ; std::vector< unsigned int >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17693,7 +17128,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_1(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned_erase" "', argument " "3"" of type '" "std::vector< unsigned int >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -17708,7 +17143,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17742,7 +17176,6 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_3(PyObject *self, Py_ssize_t nobjs int ecode2 = 0 ; std::vector< unsigned int > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -17769,7 +17202,6 @@ SWIGINTERN int _wrap_new_VectorUnsigned(PyObject *self, PyObject *args, PyObject 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorUnsigned")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUnsigned", 0, 2, argv))) SWIG_fail; --argc; @@ -17824,7 +17256,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_push_back(PyObject *self, PyObject *ar int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -17851,9 +17282,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_front(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17874,9 +17305,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_back(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17906,7 +17337,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_assign(PyObject *self, PyObject *args) int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17945,7 +17375,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize__SWIG_1(PyObject *self, Py_ssiz unsigned int val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17977,7 +17406,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18014,7 +17442,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_0(PyObject *self, Py_ssiz int ecode3 = 0 ; std::vector< unsigned int >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18038,7 +17465,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_0(PyObject *self, Py_ssiz } temp3 = static_cast< std::vector< unsigned int >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(unsigned int const &)*arg3); + result = std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_0(arg1,arg2,(unsigned int const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -18063,7 +17490,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_1(PyObject *self, Py_ssiz unsigned int val4 ; int ecode4 = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18092,7 +17518,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_1(PyObject *self, Py_ssiz } temp4 = static_cast< std::vector< unsigned int >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(unsigned int const &)*arg4); + std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_1(arg1,arg2,arg3,(unsigned int const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -18106,7 +17532,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -18139,7 +17564,6 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_reserve(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -18165,9 +17589,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_capacity(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18187,8 +17611,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorUnsigned(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorUnsigned", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -18221,10 +17645,10 @@ SWIGINTERN PyObject *_wrap_VectorDouble_iterator(PyObject *self, PyObject *args) PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18244,9 +17668,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___nonzero__(PyObject *self, PyObject *ar std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18266,9 +17690,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___bool__(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18288,9 +17712,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___len__(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18319,7 +17743,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getslice__(PyObject *self, PyObject *a PyObject *swig_obj[3] ; std::vector< double,std::allocator< double > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18337,7 +17760,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18362,7 +17785,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_0(PyObject *self, Py_ ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18380,7 +17802,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_0(PyObject *self, Py_ } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18407,7 +17829,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_1(PyObject *self, Py_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18436,7 +17857,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_1(PyObject *self, Py_ arg4 = ptr; } try { - std_vector_Sl_double_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< double,std::allocator< double > > const &)*arg4); + std_vector_Sl_double_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< double,std::allocator< double > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18457,7 +17878,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice__(PyObject *self, PyObject *a 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -18493,7 +17913,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delslice__(PyObject *self, PyObject *a int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18511,7 +17930,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - std_vector_Sl_double_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_double_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18533,7 +17952,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18546,7 +17964,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - std_vector_Sl_double_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_double_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18562,12 +17980,11 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< double,std::allocator< double > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18576,9 +17993,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getitem____SWIG_0(arg1,arg2); @@ -18597,13 +18014,12 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< double,std::allocator< double > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18612,9 +18028,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; @@ -18646,11 +18062,10 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18659,9 +18074,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_double_Sg____setitem____SWIG_1(arg1,arg2); @@ -18680,11 +18095,10 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18693,9 +18107,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_double_Sg____delitem____SWIG_1(arg1,arg2); @@ -18717,7 +18131,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18742,7 +18155,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem__(PyObject *self, PyObject *ar SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< double >::__delitem__(std::vector< double >::difference_type)\n" - " std::vector< double >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< double >::__delitem__(PySliceObject *)\n"); return 0; } @@ -18757,7 +18170,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_1(PyObject *self, Py_s int ecode2 = 0 ; std::vector< double >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18770,7 +18182,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_1(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg____getitem____SWIG_1((std::vector< double > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg____getitem____SWIG_1((std::vector< double > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -18788,7 +18200,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18812,7 +18223,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< double >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< double >::__getitem__(PySliceObject *)\n" " std::vector< double >::__getitem__(std::vector< double >::difference_type) const\n"); return 0; } @@ -18831,7 +18242,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_2(PyObject *self, Py_s double val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18850,7 +18260,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_2(PyObject *self, Py_s temp3 = static_cast< std::vector< double >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_double_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(double const &)*arg3); + std_vector_Sl_double_Sg____setitem____SWIG_2(arg1,arg2,(double const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -18870,7 +18280,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_3(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18883,7 +18292,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_3(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - std_vector_Sl_double_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_double_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18902,7 +18311,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem__(PyObject *self, PyObject *ar 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18948,8 +18356,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< double >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< double,std::allocator< double > > const &)\n" - " std::vector< double >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< double >::__setitem__(PySliceObject *,std::vector< double,std::allocator< double > > const &)\n" + " std::vector< double >::__setitem__(PySliceObject *)\n" " std::vector< double >::__setitem__(std::vector< double >::difference_type,std::vector< double >::value_type const &)\n" " std::vector< double >::__setitem__(std::vector< double >::difference_type)\n"); return 0; @@ -18961,9 +18369,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_pop(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18993,7 +18401,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_append(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -19019,7 +18426,6 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< double > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< double > *)new std::vector< double >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -19035,7 +18441,6 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< double > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; @@ -19063,9 +18468,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_empty(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19085,9 +18490,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_size(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19112,7 +18517,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -19141,9 +18545,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_begin(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19164,9 +18568,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_end(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19187,9 +18591,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_rbegin(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19210,9 +18614,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_rend(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19233,8 +18637,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble_clear(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19254,9 +18658,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_get_allocator(PyObject *self, PyObject * std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< double > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19264,7 +18668,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_get_allocator(PyObject *self, PyObject * } arg1 = reinterpret_cast< std::vector< double > * >(argp1); result = ((std::vector< double > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(static_cast< const std::vector< double >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -19278,7 +18682,6 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< double > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -19298,8 +18701,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble_pop_back(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19323,7 +18726,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize__SWIG_0(PyObject *self, Py_ssize_ size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19353,7 +18755,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_0(PyObject *self, Py_ssize_t int res2 ; std::vector< double >::iterator result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19371,7 +18772,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'"); } } - result = std_vector_Sl_double_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_double_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -19393,7 +18794,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_1(PyObject *self, Py_ssize_t int res3 ; std::vector< double >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19422,7 +18822,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "3"" of type '" "std::vector< double >::iterator""'"); } } - result = std_vector_Sl_double_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_double_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -19437,7 +18837,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -19471,7 +18870,6 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; std::vector< double > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -19498,7 +18896,6 @@ SWIGINTERN int _wrap_new_VectorDouble(PyObject *self, PyObject *args, PyObject * 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorDouble")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorDouble", 0, 2, argv))) SWIG_fail; --argc; @@ -19553,7 +18950,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_push_back(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -19580,9 +18976,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_front(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19603,9 +18999,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_back(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19635,7 +19031,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_assign(PyObject *self, PyObject *args) { int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19674,7 +19069,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize__SWIG_1(PyObject *self, Py_ssize_ double val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19706,7 +19100,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -19743,7 +19136,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_0(PyObject *self, Py_ssize_ int ecode3 = 0 ; std::vector< double >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19767,7 +19159,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_0(PyObject *self, Py_ssize_ } temp3 = static_cast< std::vector< double >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_double_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(double const &)*arg3); + result = std_vector_Sl_double_Sg__insert__SWIG_0(arg1,arg2,(double const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -19792,7 +19184,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_1(PyObject *self, Py_ssize_ double val4 ; int ecode4 = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19821,7 +19212,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_1(PyObject *self, Py_ssize_ } temp4 = static_cast< std::vector< double >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_double_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(double const &)*arg4); + std_vector_Sl_double_Sg__insert__SWIG_1(arg1,arg2,arg3,(double const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -19835,7 +19226,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -19868,7 +19258,6 @@ SWIGINTERN PyObject *_wrap_VectorDouble_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -19894,9 +19283,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_capacity(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< double >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19916,8 +19305,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorDouble(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorDouble", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -19950,10 +19339,10 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_iterator(PyObject *self, PyObject *args PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19973,9 +19362,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___nonzero__(PyObject *self, PyObject *a std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19995,9 +19384,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___bool__(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20017,9 +19406,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___len__(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20048,7 +19437,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getslice__(PyObject *self, PyObject * PyObject *swig_obj[3] ; std::vector< uint64_t,std::allocator< uint64_t > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20066,7 +19454,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getslice__(PyObject *self, PyObject * } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20091,7 +19479,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_0(PyObject *self, Py ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20109,7 +19496,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_0(PyObject *self, Py } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - std_vector_Sl_uint64_t_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_uint64_t_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20136,7 +19523,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_1(PyObject *self, Py int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20165,7 +19551,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_1(PyObject *self, Py arg4 = ptr; } try { - std_vector_Sl_uint64_t_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg4); + std_vector_Sl_uint64_t_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20186,7 +19572,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice__(PyObject *self, PyObject * 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -20222,7 +19607,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delslice__(PyObject *self, PyObject * int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20240,7 +19624,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delslice__(PyObject *self, PyObject * } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - std_vector_Sl_uint64_t_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_uint64_t_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20262,7 +19646,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20275,7 +19658,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - std_vector_Sl_uint64_t_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_uint64_t_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20291,12 +19674,11 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20305,9 +19687,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(arg1,arg2); @@ -20326,13 +19708,12 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20341,9 +19722,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; @@ -20375,11 +19756,10 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20388,9 +19768,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(arg1,arg2); @@ -20409,11 +19789,10 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20422,9 +19801,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_1(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(arg1,arg2); @@ -20446,7 +19825,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem__(PyObject *self, PyObject *a 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20471,7 +19849,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem__(PyObject *self, PyObject *a SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< uint64_t >::__delitem__(std::vector< uint64_t >::difference_type)\n" - " std::vector< uint64_t >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< uint64_t >::__delitem__(PySliceObject *)\n"); return 0; } @@ -20486,7 +19864,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_1(PyObject *self, Py_ int ecode2 = 0 ; std::vector< uint64_t >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20499,7 +19876,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_1(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - result = (std::vector< uint64_t >::value_type *) &std_vector_Sl_uint64_t_Sg____getitem____SWIG_1((std::vector< uint64_t > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< uint64_t >::value_type *) &std_vector_Sl_uint64_t_Sg____getitem____SWIG_1((std::vector< uint64_t > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -20517,7 +19894,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem__(PyObject *self, PyObject *a 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20541,7 +19917,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem__(PyObject *self, PyObject *a fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< uint64_t >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< uint64_t >::__getitem__(PySliceObject *)\n" " std::vector< uint64_t >::__getitem__(std::vector< uint64_t >::difference_type) const\n"); return 0; } @@ -20560,7 +19936,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_2(PyObject *self, Py_ uint64_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20579,7 +19954,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_2(PyObject *self, Py_ temp3 = static_cast< std::vector< uint64_t >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_uint64_t_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(uint64_t const &)*arg3); + std_vector_Sl_uint64_t_Sg____setitem____SWIG_2(arg1,arg2,(uint64_t const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -20599,7 +19974,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_3(PyObject *self, Py_ ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20612,7 +19986,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_3(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - std_vector_Sl_uint64_t_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_uint64_t_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20631,7 +20005,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem__(PyObject *self, PyObject *a 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20677,8 +20050,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem__(PyObject *self, PyObject *a fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< uint64_t >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< uint64_t,std::allocator< uint64_t > > const &)\n" - " std::vector< uint64_t >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< uint64_t >::__setitem__(PySliceObject *,std::vector< uint64_t,std::allocator< uint64_t > > const &)\n" + " std::vector< uint64_t >::__setitem__(PySliceObject *)\n" " std::vector< uint64_t >::__setitem__(std::vector< uint64_t >::difference_type,std::vector< uint64_t >::value_type const &)\n" " std::vector< uint64_t >::__setitem__(std::vector< uint64_t >::difference_type)\n"); return 0; @@ -20690,9 +20063,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_pop(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20722,7 +20095,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_append(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -20748,7 +20120,6 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< uint64_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< uint64_t > *)new std::vector< uint64_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -20764,7 +20135,6 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< uint64_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; @@ -20792,9 +20162,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_empty(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20814,9 +20184,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_size(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20841,7 +20211,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -20870,9 +20239,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_begin(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20893,9 +20262,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_end(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20916,9 +20285,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_rbegin(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::reverse_iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20939,9 +20308,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_rend(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::reverse_iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20962,8 +20331,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_clear(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20983,9 +20352,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_get_allocator(PyObject *self, PyObject std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< uint64_t > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20993,7 +20362,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_get_allocator(PyObject *self, PyObject } arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); result = ((std::vector< uint64_t > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< uint64_t >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_long_long_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< uint64_t >::allocator_type(static_cast< const std::vector< uint64_t >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_long_long_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -21007,7 +20376,6 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< uint64_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -21027,8 +20395,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_pop_back(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21052,7 +20420,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize__SWIG_0(PyObject *self, Py_ssize size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21082,7 +20449,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_0(PyObject *self, Py_ssize_ int res2 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21100,7 +20466,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_0(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t_erase" "', argument " "2"" of type '" "std::vector< uint64_t >::iterator""'"); } } - result = std_vector_Sl_uint64_t_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_uint64_t_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -21122,7 +20488,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_1(PyObject *self, Py_ssize_ int res3 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21151,7 +20516,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_1(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t_erase" "', argument " "3"" of type '" "std::vector< uint64_t >::iterator""'"); } } - result = std_vector_Sl_uint64_t_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_uint64_t_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -21166,7 +20531,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase(PyObject *self, PyObject *args) { 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -21200,7 +20564,6 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; std::vector< uint64_t > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -21227,7 +20590,6 @@ SWIGINTERN int _wrap_new_VectorUint64t(PyObject *self, PyObject *args, PyObject 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorUint64t")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUint64t", 0, 2, argv))) SWIG_fail; --argc; @@ -21282,7 +20644,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_push_back(PyObject *self, PyObject *arg int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -21309,9 +20670,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_front(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21332,9 +20693,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_back(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21364,7 +20725,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_assign(PyObject *self, PyObject *args) int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21403,7 +20763,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize__SWIG_1(PyObject *self, Py_ssize uint64_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21435,7 +20794,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -21472,7 +20830,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_0(PyObject *self, Py_ssize int ecode3 = 0 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21496,7 +20853,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_0(PyObject *self, Py_ssize } temp3 = static_cast< std::vector< uint64_t >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_uint64_t_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(uint64_t const &)*arg3); + result = std_vector_Sl_uint64_t_Sg__insert__SWIG_0(arg1,arg2,(uint64_t const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -21521,7 +20878,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_1(PyObject *self, Py_ssize uint64_t val4 ; int ecode4 = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21550,7 +20906,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_1(PyObject *self, Py_ssize } temp4 = static_cast< std::vector< uint64_t >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_uint64_t_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(uint64_t const &)*arg4); + std_vector_Sl_uint64_t_Sg__insert__SWIG_1(arg1,arg2,arg3,(uint64_t const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -21564,7 +20920,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -21597,7 +20952,6 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -21623,9 +20977,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_capacity(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21645,8 +20999,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorUint64t(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorUint64t", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -21679,10 +21033,10 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_iterator(PyObject *self, PyObject *ar PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21702,9 +21056,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___nonzero__(PyObject *self, PyObject std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21724,9 +21078,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___bool__(PyObject *self, PyObject *ar std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21746,9 +21100,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___len__(PyObject *self, PyObject *arg std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21777,7 +21131,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject PyObject *swig_obj[3] ; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21795,7 +21148,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val3); try { - result = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21820,7 +21173,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21838,7 +21190,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, } arg3 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val3); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21865,7 +21217,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_1(PyObject *self, int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21894,7 +21245,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_1(PyObject *self, arg4 = ptr; } try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)*arg4); + std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21915,7 +21266,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -21951,7 +21301,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21969,7 +21318,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val3); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21991,7 +21340,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, P ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22004,7 +21352,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, P } arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -22020,12 +21368,11 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22034,9 +21381,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_0(arg1,arg2); @@ -22055,13 +21402,12 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22070,9 +21416,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *ptr = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)0; @@ -22104,11 +21450,10 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22117,9 +21462,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_1(arg1,arg2); @@ -22138,11 +21483,10 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22151,9 +21495,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_1(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_1(arg1,arg2); @@ -22175,7 +21519,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -22200,7 +21543,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem__(PyObject *self, PyObject SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< btllib::Indexlr::Minimizer >::__delitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type)\n" - " std::vector< btllib::Indexlr::Minimizer >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< btllib::Indexlr::Minimizer >::__delitem__(PySliceObject *)\n"); return 0; } @@ -22215,7 +21558,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_1(PyObject *self, P int ecode2 = 0 ; std::vector< btllib::Indexlr::Minimizer >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22228,7 +21570,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_1(PyObject *self, P } arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); try { - result = (std::vector< btllib::Indexlr::Minimizer >::value_type *) &std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_1((std::vector< btllib::Indexlr::Minimizer > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< btllib::Indexlr::Minimizer >::value_type *) &std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_1((std::vector< btllib::Indexlr::Minimizer > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -22246,7 +21588,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -22270,7 +21611,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< btllib::Indexlr::Minimizer >::__getitem__(PySliceObject *)\n" " std::vector< btllib::Indexlr::Minimizer >::__getitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type) const\n"); return 0; } @@ -22288,7 +21629,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, P void *argp3 = 0 ; int res3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22309,7 +21649,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, P } arg3 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp3); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(btllib::Indexlr::Minimizer const &)*arg3); + std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_2(arg1,arg2,(btllib::Indexlr::Minimizer const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -22329,7 +21669,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_3(PyObject *self, P ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22342,7 +21681,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_3(PyObject *self, P } arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -22361,7 +21700,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -22407,8 +21745,8 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)\n" - " std::vector< btllib::Indexlr::Minimizer >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< btllib::Indexlr::Minimizer >::__setitem__(PySliceObject *,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)\n" + " std::vector< btllib::Indexlr::Minimizer >::__setitem__(PySliceObject *)\n" " std::vector< btllib::Indexlr::Minimizer >::__setitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type,std::vector< btllib::Indexlr::Minimizer >::value_type const &)\n" " std::vector< btllib::Indexlr::Minimizer >::__setitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type)\n"); return 0; @@ -22420,9 +21758,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop(PyObject *self, PyObject *args) { std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22434,7 +21772,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop(PyObject *self, PyObject *args) { } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr::Minimizer >::value_type(result)), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr::Minimizer >::value_type(static_cast< const std::vector< btllib::Indexlr::Minimizer >::value_type& >(result))), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -22451,7 +21789,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_append(PyObject *self, PyObject *args int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); @@ -22479,7 +21816,6 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_0(PyObject *self, Py_ssize_t nobj PyObject *resultobj = 0; std::vector< btllib::Indexlr::Minimizer > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< btllib::Indexlr::Minimizer > *)new std::vector< btllib::Indexlr::Minimizer >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -22495,7 +21831,6 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_1(PyObject *self, Py_ssize_t nobj int res1 = SWIG_OLDOBJ ; std::vector< btllib::Indexlr::Minimizer > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *ptr = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)0; @@ -22523,9 +21858,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_empty(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22545,9 +21880,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_size(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22572,7 +21907,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_swap(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); @@ -22601,9 +21935,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_begin(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22624,9 +21958,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_end(PyObject *self, PyObject *args) { std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22647,9 +21981,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_rbegin(PyObject *self, PyObject *args std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22670,9 +22004,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_rend(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::reverse_iterator result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22693,8 +22027,8 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_clear(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22714,9 +22048,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_get_allocator(PyObject *self, PyObjec std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< btllib::Indexlr::Minimizer > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22724,7 +22058,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_get_allocator(PyObject *self, PyObjec } arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); result = ((std::vector< btllib::Indexlr::Minimizer > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr::Minimizer >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_btllib__Indexlr__Minimizer_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr::Minimizer >::allocator_type(static_cast< const std::vector< btllib::Indexlr::Minimizer >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_btllib__Indexlr__Minimizer_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -22738,7 +22072,6 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_2(PyObject *self, Py_ssize_t nobj int ecode1 = 0 ; std::vector< btllib::Indexlr::Minimizer > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -22758,8 +22091,8 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop_back(PyObject *self, PyObject *ar std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22783,7 +22116,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_0(PyObject *self, Py_ssi size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22813,7 +22145,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_0(PyObject *self, Py_ssiz int res2 ; std::vector< btllib::Indexlr::Minimizer >::iterator result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22831,7 +22162,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_0(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); } } - result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -22853,7 +22184,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_1(PyObject *self, Py_ssiz int res3 ; std::vector< btllib::Indexlr::Minimizer >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22882,7 +22212,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_1(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); } } - result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -22897,7 +22227,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase(PyObject *self, PyObject *args) 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -22930,7 +22259,6 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_3(PyObject *self, Py_ssize_t nobj int res2 = 0 ; std::vector< btllib::Indexlr::Minimizer > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -22959,7 +22287,6 @@ SWIGINTERN int _wrap_new_VectorMinimizer(PyObject *self, PyObject *args, PyObjec 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorMinimizer")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorMinimizer", 0, 2, argv))) SWIG_fail; --argc; @@ -23013,7 +22340,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_push_back(PyObject *self, PyObject *a int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); @@ -23042,9 +22368,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_front(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23065,9 +22391,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_back(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23096,7 +22422,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_assign(PyObject *self, PyObject *args int res3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23136,7 +22461,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_1(PyObject *self, Py_ssi void *argp3 = 0 ; int res3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23170,7 +22494,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize(PyObject *self, PyObject *args 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -23206,7 +22529,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_0(PyObject *self, Py_ssi int res3 = 0 ; std::vector< btllib::Indexlr::Minimizer >::iterator result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23232,7 +22554,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_0(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); } arg3 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp3); - result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(btllib::Indexlr::Minimizer const &)*arg3); + result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_0(arg1,arg2,(btllib::Indexlr::Minimizer const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -23256,7 +22578,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_1(PyObject *self, Py_ssi void *argp4 = 0 ; int res4 = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23287,7 +22608,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "4"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); } arg4 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp4); - std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(btllib::Indexlr::Minimizer const &)*arg4); + std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_1(arg1,arg2,arg3,(btllib::Indexlr::Minimizer const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -23301,7 +22622,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert(PyObject *self, PyObject *args 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -23334,7 +22654,6 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_reserve(PyObject *self, PyObject *arg int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); @@ -23360,9 +22679,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_capacity(PyObject *self, PyObject *ar std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23382,8 +22701,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorMinimizer(PyObject *self, PyObject *args std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorMinimizer", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -23416,10 +22735,10 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_iterator(PyObject *self, PyObject *a PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23439,9 +22758,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___nonzero__(PyObject *self, PyObject std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23461,9 +22780,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___bool__(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23483,9 +22802,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___len__(PyObject *self, PyObject *ar std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23514,7 +22833,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getslice__(PyObject *self, PyObjec PyObject *swig_obj[3] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23532,7 +22850,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getslice__(PyObject *self, PyObjec } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_Sg____getslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_Sg____getslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23557,7 +22875,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_0(PyObject *self, ptrdiff_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23575,7 +22892,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_0(PyObject *self, } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_0(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_0(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23602,7 +22919,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_1(PyObject *self, int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23631,7 +22947,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_1(PyObject *self, arg4 = ptr; } try { - std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4); + std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23652,7 +22968,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice__(PyObject *self, PyObjec 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -23688,7 +23003,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delslice__(PyObject *self, PyObjec int ecode3 = 0 ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23706,7 +23020,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delslice__(PyObject *self, PyObjec } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - std_vector_Sl_btllib_SpacedSeed_Sg____delslice__(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + std_vector_Sl_btllib_SpacedSeed_Sg____delslice__(arg1,arg2,arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23728,7 +23042,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23741,7 +23054,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_0(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23757,12 +23070,11 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23771,9 +23083,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(arg1,arg2); @@ -23792,13 +23104,12 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23807,9 +23118,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } { std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; @@ -23841,11 +23152,10 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23854,9 +23164,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(arg1,arg2); @@ -23875,11 +23185,10 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; + PySliceObject *arg2 = (PySliceObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23888,9 +23197,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_1(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); } - arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; + arg2 = (PySliceObject *) swig_obj[1]; } try { std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(arg1,arg2); @@ -23912,7 +23221,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -23937,7 +23245,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem__(PyObject *self, PyObject SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< btllib::SpacedSeed >::__delitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type)\n" - " std::vector< btllib::SpacedSeed >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); + " std::vector< btllib::SpacedSeed >::__delitem__(PySliceObject *)\n"); return 0; } @@ -23952,7 +23260,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_1(PyObject *self, int ecode2 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23965,7 +23272,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_1(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *) &std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_1((std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > const *)arg1,SWIG_STD_MOVE(arg2)); + result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *) &std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_1((std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > const *)arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -23983,7 +23290,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -24007,7 +23313,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::SpacedSeed >::__getitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< btllib::SpacedSeed >::__getitem__(PySliceObject *)\n" " std::vector< btllib::SpacedSeed >::__getitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type) const\n"); return 0; } @@ -24024,7 +23330,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_2(PyObject *self, int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24048,7 +23353,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_2(PyObject *self, arg3 = ptr; } try { - std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); + std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_2(arg1,arg2,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -24070,7 +23375,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_3(PyObject *self, ptrdiff_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24083,7 +23387,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_3(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); + std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_3(arg1,arg2); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -24102,7 +23406,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem__(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -24148,8 +23451,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::SpacedSeed >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)\n" - " std::vector< btllib::SpacedSeed >::__setitem__(SWIGPY_SLICEOBJECT *)\n" + " std::vector< btllib::SpacedSeed >::__setitem__(PySliceObject *,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)\n" + " std::vector< btllib::SpacedSeed >::__setitem__(PySliceObject *)\n" " std::vector< btllib::SpacedSeed >::__setitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type,std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type const &)\n" " std::vector< btllib::SpacedSeed >::__setitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type)\n"); return 0; @@ -24161,9 +23464,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_pop(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24191,7 +23494,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_append(PyObject *self, PyObject *arg int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -24224,7 +23526,6 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_0(PyObject *self, Py_ssize_t nob PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< btllib::SpacedSeed > *)new std::vector< btllib::SpacedSeed >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -24240,7 +23541,6 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_1(PyObject *self, Py_ssize_t nob int res1 = SWIG_OLDOBJ ; std::vector< btllib::SpacedSeed > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; @@ -24268,9 +23568,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_empty(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24290,9 +23590,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_size(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24317,7 +23617,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_swap(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -24346,9 +23645,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_begin(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24369,9 +23668,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_end(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24392,9 +23691,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_rbegin(PyObject *self, PyObject *arg std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::reverse_iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24415,9 +23714,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_rend(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::reverse_iterator > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24438,8 +23737,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_clear(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24459,9 +23758,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_get_allocator(PyObject *self, PyObje std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24469,7 +23768,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_get_allocator(PyObject *self, PyObje } arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); result = ((std::vector< btllib::SpacedSeed > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -24483,7 +23782,6 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_2(PyObject *self, Py_ssize_t nob int ecode1 = 0 ; std::vector< btllib::SpacedSeed > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -24503,8 +23801,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_pop_back(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24528,7 +23826,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize__SWIG_0(PyObject *self, Py_ss size_t val2 ; int ecode2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24558,7 +23855,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_0(PyObject *self, Py_ssi int res2 ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24576,7 +23872,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_0(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed_erase" "', argument " "2"" of type '" "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator""'"); } } - result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); + result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_0(arg1,arg2); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -24598,7 +23894,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_1(PyObject *self, Py_ssi int res3 ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24627,7 +23922,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed_erase" "', argument " "3"" of type '" "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator""'"); } } - result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); + result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_1(arg1,arg2,arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -24642,7 +23937,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase(PyObject *self, PyObject *args 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -24674,7 +23968,6 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_3(PyObject *self, Py_ssize_t nob int res2 = SWIG_OLDOBJ ; std::vector< btllib::SpacedSeed > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -24708,7 +24001,6 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed(PyObject *self, PyObject *args, PyObje 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorSpacedSeed")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorSpacedSeed", 0, 2, argv))) SWIG_fail; --argc; @@ -24761,7 +24053,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_push_back(PyObject *self, PyObject * int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -24795,9 +24086,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_front(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24818,9 +24109,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_back(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24848,7 +24139,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_assign(PyObject *self, PyObject *arg int res3 = SWIG_OLDOBJ ; PyObject *swig_obj[3] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24892,7 +24182,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize__SWIG_1(PyObject *self, Py_ss int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24931,7 +24220,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize(PyObject *self, PyObject *arg 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -24966,7 +24254,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_0(PyObject *self, Py_ss int res3 = SWIG_OLDOBJ ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24995,7 +24282,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_0(PyObject *self, Py_ss } arg3 = ptr; } - result = std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); + result = std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_0(arg1,arg2,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); if (SWIG_IsNewObj(res3)) delete arg3; @@ -25020,7 +24307,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_1(PyObject *self, Py_ss int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25054,7 +24340,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_1(PyObject *self, Py_ss } arg4 = ptr; } - std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); + std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_1(arg1,arg2,arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; @@ -25070,7 +24356,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert(PyObject *self, PyObject *arg 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -25103,7 +24388,6 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_reserve(PyObject *self, PyObject *ar int ecode2 = 0 ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -25129,9 +24413,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_capacity(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25151,8 +24435,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorSpacedSeed(PyObject *self, PyObject *arg std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorSpacedSeed", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -25179,1040 +24463,894 @@ SWIGPY_OBJOBJARGPROC_CLOSURE(_wrap_VectorSpacedSeed___setitem__) /* defines _wra SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_VectorSpacedSeed) /* defines _wrap_delete_VectorSpacedSeed_destructor_closure */ -SWIGINTERN int _wrap_new_SeqWriter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr_output_id(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - btllib::SeqWriter::Format arg2 ; - bool arg3 ; - int res1 = SWIG_OLDOBJ ; - int val2 ; - int ecode2 = 0 ; - bool val3 ; - int ecode3 = 0 ; - btllib::SeqWriter *result = 0 ; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_id", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_id" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); } - ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); - } - arg2 = static_cast< btllib::SeqWriter::Format >(val2); - ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqWriter" "', argument " "3"" of type '" "bool""'"); - } - arg3 = static_cast< bool >(val3); - result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + result = (bool)((btllib::Indexlr const *)arg1)->output_id(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeqWriter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr_output_bx(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - btllib::SeqWriter::Format arg2 ; - int res1 = SWIG_OLDOBJ ; - int val2 ; - int ecode2 = 0 ; - btllib::SeqWriter *result = 0 ; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_bx", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_bx" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); } - ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); - } - arg2 = static_cast< btllib::SeqWriter::Format >(val2); - result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + result = (bool)((btllib::Indexlr const *)arg1)->output_bx(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeqWriter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr_output_seq(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - btllib::SeqWriter *result = 0 ; - - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; -} - - -SWIGINTERN int _wrap_new_SeqWriter(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqWriter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqWriter", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int retval = _wrap_new_SeqWriter__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 2) { - int retval = _wrap_new_SeqWriter__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 3) { - int retval = _wrap_new_SeqWriter__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_seq", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_seq" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); } - + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + result = (bool)((btllib::Indexlr const *)arg1)->output_seq(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqWriter'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format,bool)\n" - " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format)\n" - " btllib::SeqWriter::SeqWriter(std::string const &)\n"); - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter_close(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_filter_in(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqWriter_close", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_in", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_close" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_in" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - (arg1)->close(); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + result = (bool)((btllib::Indexlr const *)arg1)->filter_in(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr_filter_out(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; - std::string *arg2 = 0 ; - std::string *arg3 = 0 ; - std::string *arg4 = 0 ; - std::string *arg5 = 0 ; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - int res3 = SWIG_OLDOBJ ; - int res4 = SWIG_OLDOBJ ; - int res5 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_out", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); - } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - { - std::string *ptr = (std::string *)0; - res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - arg3 = ptr; - } - { - std::string *ptr = (std::string *)0; - res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - arg4 = ptr; - } - { - std::string *ptr = (std::string *)0; - res5 = SWIG_AsPtr_std_string(swig_obj[4], &ptr); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); - } - arg5 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_out" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); } - (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; - if (SWIG_IsNewObj(res5)) delete arg5; + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + result = (bool)((btllib::Indexlr const *)arg1)->filter_out(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; - if (SWIG_IsNewObj(res5)) delete arg5; return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr_short_mode(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; - std::string *arg2 = 0 ; - std::string *arg3 = 0 ; - std::string *arg4 = 0 ; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - int res3 = SWIG_OLDOBJ ; - int res4 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_short_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); - } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - { - std::string *ptr = (std::string *)0; - res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); - } - arg3 = ptr; - } - { - std::string *ptr = (std::string *)0; - res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); - } - arg4 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_short_mode" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); } - (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + result = (bool)((btllib::Indexlr const *)arg1)->short_mode(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; - if (SWIG_IsNewObj(res3)) delete arg3; - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter_write(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[6] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeqWriter_write", 0, 5, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 4) { - PyObject *retobj = _wrap_SeqWriter_write__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 5) { - PyObject *retobj = _wrap_SeqWriter_write__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeqWriter_write'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &,std::string const &)\n" - " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_SeqWriter___enter__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_long_mode(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::SeqWriter *result = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqWriter___enter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_long_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___enter__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_long_mode" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - result = (btllib::SeqWriter *)btllib_SeqWriter___enter__(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + result = (bool)((btllib::Indexlr const *)arg1)->long_mode(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqWriter___exit__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Indexlr_read(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[4] ; + PyObject *swig_obj[1] ; + btllib::Indexlr::Record result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqWriter___exit__", 3, 3, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Indexlr_read", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___exit__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_read" "', argument " "1"" of type '" "btllib::Indexlr *""'"); } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - arg2 = swig_obj[0]; - arg3 = swig_obj[1]; - arg4 = swig_obj[2]; - btllib_SeqWriter___exit__(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + result = (arg1)->read(); + resultobj = SWIG_NewPointerObj((new btllib::Indexlr::Record(static_cast< const btllib::Indexlr::Record& >(result))), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_delete_SeqWriter(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + bool arg6 ; + btllib::BloomFilter *arg7 = 0 ; + btllib::BloomFilter *arg8 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + bool val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + btllib::Indexlr *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqWriter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqWriter" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); + if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqWriter) /* defines _wrap_delete_SeqWriter_destructor_closure */ - -SWIGINTERN PyObject *_wrap_srol__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - uint64_t arg1 ; - uint64_t val1 ; - int ecode1 = 0 ; - uint64_t result; - - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "srol" "', argument " "1"" of type '" "uint64_t""'"); + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); } - arg1 = static_cast< uint64_t >(val1); - result = (uint64_t)btllib::srol(arg1); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); + } + arg6 = static_cast< bool >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp7) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); + } + arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7,(btllib::BloomFilter const &)*arg8); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_srol__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + bool arg6 ; + btllib::BloomFilter *arg7 = 0 ; + size_t val2 ; int ecode2 = 0 ; - uint64_t result; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + bool val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + btllib::Indexlr *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "srol" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "srol" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (uint64_t)btllib::srol(arg1,arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_srol(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "srol", 0, 2, argv))) SWIG_fail; - --argc; - if (argc == 1) { - PyObject *retobj = _wrap_srol__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); + } + arg6 = static_cast< bool >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); } - if (argc == 2) { - PyObject *retobj = _wrap_srol__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!argp7) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); } - + arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'srol'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::srol(uint64_t const)\n" - " btllib::srol(uint64_t const,unsigned int const)\n"); - return 0; + return -1; } -SWIGINTERN PyObject *_wrap_sror(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - uint64_t arg1 ; - uint64_t val1 ; - int ecode1 = 0 ; - PyObject *swig_obj[1] ; - uint64_t result; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + bool arg6 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + bool val6 ; + int ecode6 = 0 ; + btllib::Indexlr *result = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "sror" "', argument " "1"" of type '" "uint64_t""'"); + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); } - arg1 = static_cast< uint64_t >(val1); - result = (uint64_t)btllib::sror(arg1); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); + } + arg6 = static_cast< bool >(val6); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_ntf64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + unsigned int arg5 ; + size_t val2 ; int ecode2 = 0 ; - uint64_t result; + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + btllib::Indexlr *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntf64" "', argument " "1"" of type '" "char const *""'"); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (uint64_t)btllib::ntf64((char const *)arg1,arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_ntr64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + unsigned int arg4 ; + size_t val2 ; int ecode2 = 0 ; - uint64_t result; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntr64" "', argument " "1"" of type '" "char const *""'"); + size_t val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::Indexlr *result = 0 ; + + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (uint64_t)btllib::ntr64((char const *)arg1,arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_ntf64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_Indexlr__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t val2 ; int ecode2 = 0 ; - unsigned char val3 ; + size_t val3 ; int ecode3 = 0 ; - unsigned char val4 ; - int ecode4 = 0 ; - uint64_t result; + btllib::Indexlr *result = 0 ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntf64" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntf64" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntf64" "', argument " "4"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); } - arg4 = static_cast< unsigned char >(val4); - result = (uint64_t)btllib::ntf64(arg1,arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; + arg3 = static_cast< size_t >(val3); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_ntf64(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Indexlr(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[5] = { + PyObject *argv[9] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntf64", 0, 4, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Indexlr")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_Indexlr", 0, 8, argv))) SWIG_fail; --argc; - if (argc == 2) { - PyObject *retobj = _wrap_ntf64__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (argc == 3) { + int retval = _wrap_new_Indexlr__SWIG_5(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 4) { - PyObject *retobj = _wrap_ntf64__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + int retval = _wrap_new_Indexlr__SWIG_4(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 5) { + int retval = _wrap_new_Indexlr__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 6) { + int retval = _wrap_new_Indexlr__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 7) { + int retval = _wrap_new_Indexlr__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 8) { + int retval = _wrap_new_Indexlr__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntf64'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Indexlr'.\n" " Possible C/C++ prototypes are:\n" - " btllib::ntf64(char const *,unsigned int)\n" - " btllib::ntf64(uint64_t,unsigned int,unsigned char,unsigned char)\n"); - return 0; + " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" + " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" + " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool)\n" + " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int)\n" + " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int)\n" + " btllib::Indexlr::Indexlr(std::string,size_t,size_t)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_ntr64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_Indexlr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char val4 ; - int ecode4 = 0 ; - uint64_t result; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntr64" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntr64" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntr64" "', argument " "4"" of type '" "unsigned char""'"); - } - arg4 = static_cast< unsigned char >(val4); - result = (uint64_t)btllib::ntr64(arg1,arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (!SWIG_Python_UnpackTuple(args, "delete_Indexlr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Indexlr" "', argument " "1"" of type '" "btllib::Indexlr *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_ntr64(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[5] = { - 0 - }; +SWIGINTERN PyObject *_wrap_Indexlr_close(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntr64", 0, 4, argv))) SWIG_fail; - --argc; - if (argc == 2) { - PyObject *retobj = _wrap_ntr64__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 4) { - PyObject *retobj = _wrap_ntr64__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "Indexlr_close", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_close" "', argument " "1"" of type '" "btllib::Indexlr *""'"); } - + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + (arg1)->close(); + resultobj = SWIG_Py_Void(); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntr64'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::ntr64(char const *,unsigned int)\n" - " btllib::ntr64(uint64_t,unsigned int,unsigned char,unsigned char)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_ntc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr___iter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - uint64_t result; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + SwigValueWrapper< btllib::Indexlr::RecordIterator > result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "Indexlr___iter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___iter__" "', argument " "1"" of type '" "btllib::Indexlr *""'"); } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (uint64_t)btllib::ntc64((char const *)arg1,arg2); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + result = (arg1)->begin(); + resultobj = SWIG_NewPointerObj((new btllib::Indexlr::RecordIterator(static_cast< const btllib::Indexlr::RecordIterator& >(result))), SWIGTYPE_p_btllib__Indexlr__RecordIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr___enter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - uint64_t *arg3 = 0 ; - uint64_t *arg4 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - uint64_t result; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::Indexlr *result = 0 ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "Indexlr___enter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - arg3 = reinterpret_cast< uint64_t * >(argp3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___enter__" "', argument " "1"" of type '" "btllib::Indexlr *""'"); } - arg4 = reinterpret_cast< uint64_t * >(argp4); - result = (uint64_t)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + result = (btllib::Indexlr *)btllib_Indexlr___enter__(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Indexlr___exit__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - unsigned char val1 ; - int ecode1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - uint64_t result; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + PyObject *arg4 = (PyObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[4] ; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntc64" "', argument " "1"" of type '" "unsigned char""'"); - } - arg1 = static_cast< unsigned char >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + if (!SWIG_Python_UnpackTuple(args, "Indexlr___exit__", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___exit__" "', argument " "1"" of type '" "btllib::Indexlr *""'"); } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + arg2 = swig_obj[0]; + arg3 = swig_obj[1]; + arg4 = swig_obj[2]; + btllib_Indexlr___exit__(arg1,arg2,arg3,arg4); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Indexlr) /* defines _wrap_delete_Indexlr_destructor_closure */ + +SWIGPY_GETITERFUNC_CLOSURE(_wrap_Indexlr___iter__) /* defines _wrap_Indexlr___iter___getiterfunc_closure */ + +SWIGINTERN int _wrap_new_IndexlrFlag(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + btllib::Indexlr::Flag *result = 0 ; + + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrFlag")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_IndexlrFlag", 0, 0, 0)) SWIG_fail; + result = (btllib::Indexlr::Flag *)new btllib::Indexlr::Flag(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Flag, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN PyObject *_wrap_delete_IndexlrFlag(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr::Flag *arg1 = (btllib::Indexlr::Flag *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrFlag", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Flag, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrFlag" "', argument " "1"" of type '" "btllib::Indexlr::Flag *""'"); } - arg5 = reinterpret_cast< uint64_t * >(argp5); - result = (uint64_t)btllib::ntc64(arg1,arg2,arg3,*arg4,*arg5); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::Indexlr::Flag * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_ntf64l(PyObject *self, PyObject *args) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrFlag) /* defines _wrap_delete_IndexlrFlag_destructor_closure */ + +SWIGINTERN int _wrap_new_Minimizer__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::Indexlr::Minimizer *result = 0 ; + + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::Indexlr::Minimizer *)new btllib::Indexlr::Minimizer(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Minimizer__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; uint64_t arg1 ; - unsigned int arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; + uint64_t arg2 ; + size_t arg3 ; + bool arg4 ; + std::string arg5 ; uint64_t val1 ; int ecode1 = 0 ; - unsigned int val2 ; + uint64_t val2 ; int ecode2 = 0 ; - unsigned char val3 ; + size_t val3 ; int ecode3 = 0 ; - unsigned char val4 ; + bool val4 ; int ecode4 = 0 ; - PyObject *swig_obj[4] ; - uint64_t result; + btllib::Indexlr::Minimizer *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "ntf64l", 4, 4, swig_obj)) SWIG_fail; + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntf64l" "', argument " "1"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); } arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64l" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + arg2 = static_cast< uint64_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntf64l" "', argument " "3"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); } - arg3 = static_cast< unsigned char >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntf64l" "', argument " "4"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); } - arg4 = static_cast< unsigned char >(val4); - result = (uint64_t)btllib::ntf64l(arg1,arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; + arg4 = static_cast< bool >(val4); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); + } + arg5 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (btllib::Indexlr::Minimizer *)new btllib::Indexlr::Minimizer(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_ntr64l(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Minimizer(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[6] = { + 0 + }; + + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Minimizer")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_Minimizer", 0, 5, argv))) SWIG_fail; + --argc; + if (argc == 0) { + int retval = _wrap_new_Minimizer__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 5) { + int retval = _wrap_new_Minimizer__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Minimizer'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::Indexlr::Minimizer::Minimizer()\n" + " btllib::Indexlr::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string)\n"); + return -1; +} + + +SWIGINTERN PyObject *_wrap_Minimizer_min_hash_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - unsigned char arg3 ; - unsigned char arg4 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + uint64_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + uint64_t val2 ; int ecode2 = 0 ; - unsigned char val3 ; - int ecode3 = 0 ; - unsigned char val4 ; - int ecode4 = 0 ; - PyObject *swig_obj[4] ; - uint64_t result; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "ntr64l", 4, 4, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntr64l" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64l" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntr64l" "', argument " "3"" of type '" "unsigned char""'"); - } - arg3 = static_cast< unsigned char >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntr64l" "', argument " "4"" of type '" "unsigned char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_min_hash_set" "', argument " "2"" of type '" "uint64_t""'"); } - arg4 = static_cast< unsigned char >(val4); - result = (uint64_t)btllib::ntr64l(arg1,arg2,arg3,arg4); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg2 = static_cast< uint64_t >(val2); + if (arg1) (arg1)->min_hash = arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_ntc64l(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Minimizer_min_hash_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - unsigned char val1 ; - int ecode1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - PyObject *swig_obj[5] ; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "ntc64l", 5, 5, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntc64l" "', argument " "1"" of type '" "unsigned char""'"); - } - arg1 = static_cast< unsigned char >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64l" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntc64l" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64l" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64l" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64l" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64l" "', argument " "5"" of type '" "uint64_t &""'"); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_min_hash_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); } - arg5 = reinterpret_cast< uint64_t * >(argp5); - result = (uint64_t)btllib::ntc64l(arg1,arg2,arg3,*arg4,*arg5); + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + result = (uint64_t) ((arg1)->min_hash); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -26220,45 +25358,29 @@ SWIGINTERN PyObject *_wrap_ntc64l(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_nte64(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Minimizer_out_hash_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - unsigned int arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = (uint64_t *) 0 ; - uint64_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + uint64_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + uint64_t val2 ; int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject *swig_obj[4] ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "nte64", 4, 4, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "nte64" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "nte64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "nte64" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_out_hash_set" "', argument " "2"" of type '" "uint64_t""'"); } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "nte64" "', argument " "4"" of type '" "uint64_t *""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - btllib::nte64(arg1,arg2,arg3,arg4); + arg2 = static_cast< uint64_t >(val2); + if (arg1) (arg1)->out_hash = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -26266,268 +25388,103 @@ SWIGINTERN PyObject *_wrap_nte64(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_out_hash_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_out_hash_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); } - arg4 = reinterpret_cast< uint64_t * >(argp4); - btllib::ntmc64((char const *)arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + result = (uint64_t) ((arg1)->out_hash); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_pos_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - uint64_t *arg6 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_pos_set" "', argument " "2"" of type '" "size_t""'"); } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t *""'"); - } - arg6 = reinterpret_cast< uint64_t * >(argp6); - btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,arg6); + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->pos = arg2; resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_pos_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned int arg3 ; - unsigned int arg4 ; - uint64_t *arg5 = 0 ; - uint64_t *arg6 = 0 ; - uint64_t *arg7 = (uint64_t *) 0 ; - unsigned char val1 ; - int ecode1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64" "', argument " "1"" of type '" "unsigned char""'"); - } - arg1 = static_cast< unsigned char >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); - } - arg6 = reinterpret_cast< uint64_t * >(argp6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_pos_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); } - arg7 = reinterpret_cast< uint64_t * >(argp7); - btllib::ntmc64(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + result = ((arg1)->pos); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64l(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Minimizer_forward_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned int arg3 ; - unsigned int arg4 ; - uint64_t *arg5 = 0 ; - uint64_t *arg6 = 0 ; - uint64_t *arg7 = (uint64_t *) 0 ; - unsigned char val1 ; - int ecode1 = 0 ; - unsigned char val2 ; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - PyObject *swig_obj[7] ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "ntmc64l", 7, 7, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64l" "', argument " "1"" of type '" "unsigned char""'"); - } - arg1 = static_cast< unsigned char >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64l" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64l" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64l" "', argument " "4"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_forward_set" "', argument " "2"" of type '" "bool""'"); } - arg4 = static_cast< unsigned int >(val4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64l" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64l" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64l" "', argument " "6"" of type '" "uint64_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64l" "', argument " "6"" of type '" "uint64_t &""'"); - } - arg6 = reinterpret_cast< uint64_t * >(argp6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64l" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - btllib::ntmc64l(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7); + arg2 = static_cast< bool >(val2); + if (arg1) (arg1)->forward = arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -26535,1699 +25492,876 @@ SWIGINTERN PyObject *_wrap_ntmc64l(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_ntc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_forward_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - uint64_t *arg3 = 0 ; - unsigned int *arg4 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "Minimizer_forward_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - arg3 = reinterpret_cast< uint64_t * >(argp3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "unsigned int &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "unsigned int &""'"); - } - arg4 = reinterpret_cast< unsigned int * >(argp4); - result = (bool)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4); + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + result = (bool) ((arg1)->forward); resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Minimizer_seq_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - unsigned int *arg4 = 0 ; - uint64_t *arg5 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - bool result; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int &""'"); + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; } - arg4 = reinterpret_cast< unsigned int * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t *""'"); + if (arg1) (arg1)->seq = *arg2; + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Minimizer_seq_get(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "Minimizer_seq_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); } - arg5 = reinterpret_cast< uint64_t * >(argp5); - result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,arg5); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + result = (std::string *) & ((arg1)->seq); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_Minimizer(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - uint64_t *arg3 = 0 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - unsigned int *arg6 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - bool result; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "delete_Minimizer", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Minimizer" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Minimizer) /* defines _wrap_delete_Minimizer_destructor_closure */ + +SWIGINTERN int _wrap_new_IndexlrRecord__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::Indexlr::Record *result = 0 ; + + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::Indexlr::Record *)new btllib::Indexlr::Record(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_IndexlrRecord__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + size_t arg1 ; + std::string arg2 ; + std::string arg3 ; + size_t arg4 ; + std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > arg5 ; + size_t val1 ; + int ecode1 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + btllib::Indexlr::Record *result = 0 ; + + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_IndexlrRecord" "', argument " "1"" of type '" "size_t""'"); } - arg2 = static_cast< unsigned int >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); - } - arg3 = reinterpret_cast< uint64_t * >(argp3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + arg1 = static_cast< size_t >(val1); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "2"" of type '" "std::string""'"); + } + arg2 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntc64" "', argument " "6"" of type '" "unsigned int &""'"); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "3"" of type '" "std::string""'"); + } + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "6"" of type '" "unsigned int &""'"); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_IndexlrRecord" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + { + std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *ptr = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)0; + int res = swig::asptr(swig_obj[4], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "5"" of type '" "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >""'"); + } + arg5 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg6 = reinterpret_cast< unsigned int * >(argp6); - result = (bool)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4,*arg5,*arg6); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return resultobj; + result = (btllib::Indexlr::Record *)new btllib::Indexlr::Record(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_ntc64(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_IndexlrRecord(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[7] = { + PyObject *argv[6] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntc64", 0, 6, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrRecord")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_IndexlrRecord", 0, 5, argv))) SWIG_fail; --argc; - if (argc == 2) { - PyObject *retobj = _wrap_ntc64__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 4) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_ntc64__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 4) { - PyObject *retobj = _wrap_ntc64__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + if (argc == 0) { + int retval = _wrap_new_IndexlrRecord__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 5) { - PyObject *retobj = _wrap_ntc64__SWIG_2(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 6) { - PyObject *retobj = _wrap_ntc64__SWIG_4(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + int retval = _wrap_new_IndexlrRecord__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntc64'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_IndexlrRecord'.\n" " Possible C/C++ prototypes are:\n" - " btllib::ntc64(char const *,unsigned int)\n" - " btllib::ntc64(char const *,unsigned int,uint64_t &,uint64_t &)\n" - " btllib::ntc64(unsigned char,unsigned char,unsigned int,uint64_t &,uint64_t &)\n" - " btllib::ntc64(char const *,unsigned int,uint64_t &,unsigned int &)\n" - " btllib::ntc64(char const *,unsigned int,uint64_t &,uint64_t &,uint64_t &,unsigned int &)\n"); - return 0; + " btllib::Indexlr::Record::Record()\n" + " btllib::Indexlr::Record::Record(size_t,std::string,std::string,size_t,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_num_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - unsigned int *arg6 = 0 ; - uint64_t *arg7 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - bool result; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_num_set" "', argument " "2"" of type '" "size_t""'"); } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); - } - arg6 = reinterpret_cast< unsigned int * >(argp6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,*arg6,arg7); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->num = arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_num_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - uint64_t *arg4 = 0 ; - uint64_t *arg5 = 0 ; - unsigned int *arg6 = 0 ; - uint64_t *arg7 = (uint64_t *) 0 ; - bool *arg8 = 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - bool result; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_num_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); - } - arg4 = reinterpret_cast< uint64_t * >(argp4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); - } - arg6 = reinterpret_cast< unsigned int * >(argp6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_bool, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); } - arg8 = reinterpret_cast< bool * >(argp8); - result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,*arg6,arg7,*arg8); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + result = ((arg1)->num); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_id_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - unsigned char arg1 ; - unsigned char arg2 ; - unsigned int arg3 ; - unsigned int arg4 ; - uint64_t *arg5 = 0 ; - uint64_t *arg6 = 0 ; - uint64_t *arg7 = (uint64_t *) 0 ; - bool *arg8 = 0 ; - unsigned char val1 ; - int ecode1 = 0 ; - unsigned char val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - void *argp5 = 0 ; - int res5 = 0 ; - void *argp6 = 0 ; - int res6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64" "', argument " "1"" of type '" "unsigned char""'"); - } - arg1 = static_cast< unsigned char >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned char""'"); - } - arg2 = static_cast< unsigned char >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); - } - arg5 = reinterpret_cast< uint64_t * >(argp5); - res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res6)) { - SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); - } - if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); - } - arg6 = reinterpret_cast< uint64_t * >(argp6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_bool, 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; } - arg8 = reinterpret_cast< bool * >(argp8); - btllib::ntmc64(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7,*arg8); + if (arg1) (arg1)->id = *arg2; resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_ntmc64(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[9] = { - 0 - }; +SWIGINTERN PyObject *_wrap_IndexlrRecord_id_get(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntmc64", 0, 8, argv))) SWIG_fail; - --argc; - if (argc == 4) { - PyObject *retobj = _wrap_ntmc64__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 5) { - PyObject *retobj = _wrap_ntmc64__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 6) { - PyObject *retobj = _wrap_ntmc64__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 7) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_char(argv[0], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_4; - { - { - int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_4; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_4; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_4; - PyObject *retobj = _wrap_ntmc64__SWIG_2(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_id_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); } -check_4: + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + result = (std::string *) & ((arg1)->id); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - if (argc == 7) { - PyObject *retobj = _wrap_ntmc64__SWIG_4(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); } - if (argc == 8) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_char(argv[0], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_6; - { - { - int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_6; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); } - if (!_v) goto check_6; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); } - if (!_v) goto check_6; - PyObject *retobj = _wrap_ntmc64__SWIG_6(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } -check_6: - - if (argc == 8) { - PyObject *retobj = _wrap_ntmc64__SWIG_5(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + arg2 = ptr; } - + if (arg1) (arg1)->barcode = *arg2; + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmc64'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t *)\n" - " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *)\n" - " btllib::ntmc64(unsigned char,unsigned char,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *)\n" - " btllib::ntmc64(char const *,unsigned int,unsigned int,unsigned int &,uint64_t *)\n" - " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,unsigned int &,uint64_t *)\n" - " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,unsigned int &,uint64_t *,bool &)\n" - " btllib::ntmc64(unsigned char,unsigned char,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *,bool &)\n"); - return 0; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *_wrap_mask_hash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t *arg1 = 0 ; - uint64_t *arg2 = 0 ; - char *arg3 = (char *) 0 ; - char *arg4 = (char *) 0 ; - unsigned int arg5 ; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - int res4 ; - char *buf4 = 0 ; - int alloc4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - PyObject *swig_obj[5] ; - uint64_t result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "mask_hash", 5, 5, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_barcode_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mask_hash" "', argument " "1"" of type '" "uint64_t &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mask_hash" "', argument " "1"" of type '" "uint64_t &""'"); - } - arg1 = reinterpret_cast< uint64_t * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_unsigned_long_long, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mask_hash" "', argument " "2"" of type '" "uint64_t &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mask_hash" "', argument " "2"" of type '" "uint64_t &""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mask_hash" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "mask_hash" "', argument " "4"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); } - arg4 = reinterpret_cast< char * >(buf4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mask_hash" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - result = (uint64_t)btllib::mask_hash(*arg1,*arg2,(char const *)arg3,(char const *)arg4,arg5); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + result = (std::string *) & ((arg1)->barcode); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } -SWIGINTERN PyObject *_wrap_sub_hash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - uint64_t arg1 ; - uint64_t arg2 ; - char *arg3 = (char *) 0 ; - std::vector< unsigned int,std::allocator< unsigned int > > *arg4 = 0 ; - std::vector< unsigned char,std::allocator< unsigned char > > *arg5 = 0 ; - unsigned int arg6 ; - unsigned int arg7 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t val1 ; - int ecode1 = 0 ; - uint64_t val2 ; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; int ecode2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - int res4 = SWIG_OLDOBJ ; - void *argp5 = 0 ; - int res5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - unsigned int val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - PyObject *swig_obj[8] ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "sub_hash", 8, 8, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "sub_hash" "', argument " "1"" of type '" "uint64_t""'"); - } - arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sub_hash" "', argument " "2"" of type '" "uint64_t""'"); - } - arg2 = static_cast< uint64_t >(val2); - res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sub_hash" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - { - std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; - res4 = swig::asptr(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "sub_hash" "', argument " "4"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sub_hash" "', argument " "4"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); - } - arg4 = ptr; - } - res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0); - if (!SWIG_IsOK(res5)) { - SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "sub_hash" "', argument " "5"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); - } - if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sub_hash" "', argument " "5"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); } - arg5 = reinterpret_cast< std::vector< unsigned char,std::allocator< unsigned char > > * >(argp5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "sub_hash" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "sub_hash" "', argument " "7"" of type '" "unsigned int""'"); + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_readlen_set" "', argument " "2"" of type '" "size_t""'"); } - arg7 = static_cast< unsigned int >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "sub_hash" "', argument " "8"" of type '" "uint64_t *""'"); - } - arg8 = reinterpret_cast< uint64_t * >(argp8); - btllib::sub_hash(arg1,arg2,(char const *)arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg5,arg6,arg7,arg8); + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->readlen = arg2; resultobj = SWIG_Py_Void(); - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } -SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; - unsigned int arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - uint64_t *arg7 = (uint64_t *) 0 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t *arg9 = (uint64_t *) 0 ; - uint64_t *arg10 = (uint64_t *) 0 ; - unsigned int *arg11 = 0 ; - uint64_t *arg12 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; + + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_readlen_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + result = ((arg1)->readlen); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *arg2 = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - int res3 = SWIG_OLDOBJ ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - void *argp12 = 0 ; - int res12 = 0 ; - bool result; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_minimizers_set" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *""'"); } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + arg2 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > * >(argp2); + if (arg1) (arg1)->minimizers = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_get(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_minimizers_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); } - arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res3 = swig::asptr(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); - } - arg3 = ptr; - } - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); - } - arg8 = reinterpret_cast< uint64_t * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); - } - arg9 = reinterpret_cast< uint64_t * >(argp9); - res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); - } - arg10 = reinterpret_cast< uint64_t * >(argp10); - res11 = SWIG_ConvertPtr(swig_obj[10], &argp11, SWIGTYPE_p_unsigned_int, 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "unsigned int &""'"); - } - if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "11"" of type '" "unsigned int &""'"); - } - arg11 = reinterpret_cast< unsigned int * >(argp11); - res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res12)) { - SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64" "', argument " "12"" of type '" "uint64_t *""'"); + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + result = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)& ((arg1)->minimizers); + + resultobj = PyList_New(result->size()); + for (unsigned i = 0; i < result->size(); ++i) { + PyObject *item = SWIG_NewPointerObj(new btllib::Indexlr::Minimizer((*(result))[i]), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_OWN); + PyList_SetItem(resultobj, i, item); } - arg12 = reinterpret_cast< uint64_t * >(argp12); - result = (bool)btllib::ntmsm64((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,*arg11,arg12); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; + return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; return NULL; } -SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_IndexlrRecord___nonzero__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; - unsigned int arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - uint64_t *arg7 = (uint64_t *) 0 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t *arg9 = (uint64_t *) 0 ; - uint64_t *arg10 = (uint64_t *) 0 ; - uint64_t *arg11 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 = SWIG_OLDOBJ ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord___nonzero__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res3 = swig::asptr(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); - } - arg3 = ptr; - } - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); - } - arg8 = reinterpret_cast< uint64_t * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); - } - arg9 = reinterpret_cast< uint64_t * >(argp9); - res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); - } - arg10 = reinterpret_cast< uint64_t * >(argp10); - res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "uint64_t *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord___nonzero__" "', argument " "1"" of type '" "btllib::Indexlr::Record const *""'"); } - arg11 = reinterpret_cast< uint64_t * >(argp11); - btllib::ntmsm64((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + result = (bool)((btllib::Indexlr::Record const *)arg1)->operator bool(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; - return NULL; + PyErr_Clear(); + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; } -SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_IndexlrRecord(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; - unsigned int arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - uint64_t *arg7 = (uint64_t *) 0 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t *arg9 = (uint64_t *) 0 ; - uint64_t *arg10 = (uint64_t *) 0 ; - uint64_t *arg11 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 = SWIG_OLDOBJ ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; + btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecord", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64l" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64l" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res3 = swig::asptr(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); - } - arg3 = ptr; - } - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64l" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64l" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64l" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64l" "', argument " "7"" of type '" "uint64_t *""'"); - } - arg7 = reinterpret_cast< uint64_t * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64l" "', argument " "8"" of type '" "uint64_t *""'"); - } - arg8 = reinterpret_cast< uint64_t * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64l" "', argument " "9"" of type '" "uint64_t *""'"); - } - arg9 = reinterpret_cast< uint64_t * >(argp9); - res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64l" "', argument " "10"" of type '" "uint64_t *""'"); - } - arg10 = reinterpret_cast< uint64_t * >(argp10); - res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64l" "', argument " "11"" of type '" "uint64_t *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrRecord" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); } - arg11 = reinterpret_cast< uint64_t * >(argp11); - btllib::ntmsm64l((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); + arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); + delete arg1; resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res3)) delete arg3; return NULL; } -SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGPY_INQUIRY_CLOSURE(_wrap_IndexlrRecord___nonzero__) /* defines _wrap_IndexlrRecord___nonzero___inquiry_closure */ + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrRecord) /* defines _wrap_delete_IndexlrRecord_destructor_closure */ + +SWIGINTERN PyObject *_wrap_IndexlrRecordIterator___next__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - char arg2 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg3 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg4 = 0 ; - unsigned int arg5 ; - unsigned int arg6 ; - unsigned int arg7 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t *arg9 = (uint64_t *) 0 ; - uint64_t *arg10 = (uint64_t *) 0 ; - uint64_t *arg11 = (uint64_t *) 0 ; - uint64_t *arg12 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - char val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int res4 = SWIG_OLDOBJ ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - unsigned int val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - void *argp12 = 0 ; - int res12 = 0 ; + btllib::Indexlr::RecordIterator *arg1 = (btllib::Indexlr::RecordIterator *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::Indexlr::Record result; - (void)self; - if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_Python_UnpackTuple(args, "IndexlrRecordIterator___next__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__RecordIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmsm64" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecordIterator___next__" "', argument " "1"" of type '" "btllib::Indexlr::RecordIterator *""'"); } - arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp3); + arg1 = reinterpret_cast< btllib::Indexlr::RecordIterator * >(argp1); { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res4 = swig::asptr(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmsm64" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + result = (arg1)->next(); + if (!bool(result)) { + PyErr_SetNone(PyExc_StopIteration); + SWIG_fail; } - arg4 = ptr; - } - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ntmsm64" "', argument " "7"" of type '" "unsigned int""'"); - } - arg7 = static_cast< unsigned int >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); - } - arg8 = reinterpret_cast< uint64_t * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); } - arg9 = reinterpret_cast< uint64_t * >(argp9); - res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); - } - arg10 = reinterpret_cast< uint64_t * >(argp10); - res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "uint64_t *""'"); - } - arg11 = reinterpret_cast< uint64_t * >(argp11); - res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res12)) { - SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64" "', argument " "12"" of type '" "uint64_t *""'"); - } - arg12 = reinterpret_cast< uint64_t * >(argp12); - btllib::ntmsm64((char const *)arg1,arg2,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res4)) delete arg4; + resultobj = SWIG_NewPointerObj((new btllib::Indexlr::Record(static_cast< const btllib::Indexlr::Record& >(result))), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } -SWIGINTERN PyObject *_wrap_ntmsm64(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[13] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64", 0, 12, argv))) SWIG_fail; - --argc; - if (argc == 11) { - PyObject *retobj = _wrap_ntmsm64__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 12) { - int _v = 0; - { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, SWIG_POINTER_NO_NULL | 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - { - int res = swig::asptr(argv[2], (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_2; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[10], &vptr, SWIGTYPE_p_unsigned_int, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - PyObject *retobj = _wrap_ntmsm64__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } -check_2: +SWIGINTERN PyObject *_wrap_delete_IndexlrRecordIterator(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr::RecordIterator *arg1 = (btllib::Indexlr::RecordIterator *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - if (argc == 12) { - PyObject *retobj = _wrap_ntmsm64__SWIG_2(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecordIterator", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__RecordIterator, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrRecordIterator" "', argument " "1"" of type '" "btllib::Indexlr::RecordIterator *""'"); } - + arg1 = reinterpret_cast< btllib::Indexlr::RecordIterator * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmsm64'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::ntmsm64(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,unsigned int &,uint64_t *)\n" - " btllib::ntmsm64(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n" - " btllib::ntmsm64(char const *,char,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - char *arg1 = (char *) 0 ; - char arg2 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg3 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg4 = 0 ; - unsigned int arg5 ; - unsigned int arg6 ; - unsigned int arg7 ; - uint64_t *arg8 = (uint64_t *) 0 ; - uint64_t *arg9 = (uint64_t *) 0 ; - uint64_t *arg10 = (uint64_t *) 0 ; - uint64_t *arg11 = (uint64_t *) 0 ; - uint64_t *arg12 = (uint64_t *) 0 ; - int res1 ; - char *buf1 = 0 ; - int alloc1 = 0 ; - char val2 ; - int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - int res4 = SWIG_OLDOBJ ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - unsigned int val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - void *argp10 = 0 ; - int res10 = 0 ; - void *argp11 = 0 ; - int res11 = 0 ; - void *argp12 = 0 ; - int res12 = 0 ; +SWIGPY_ITERNEXTFUNC_CLOSURE(_wrap_IndexlrRecordIterator___next__) /* defines _wrap_IndexlrRecordIterator___next___iternextfunc_closure */ + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrRecordIterator) /* defines _wrap_delete_IndexlrRecordIterator_destructor_closure */ + +SWIGINTERN int Swig_var_BIT_MASKS_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable BIT_MASKS is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_BIT_MASKS_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; - res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64l" "', argument " "1"" of type '" "char const *""'"); - } - arg1 = reinterpret_cast< char * >(buf1); - ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmsm64l" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); - } - arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp3); - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res4 = swig::asptr(swig_obj[3], &ptr); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmsm64l" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); - } - arg4 = ptr; - } - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64l" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64l" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ntmsm64l" "', argument " "7"" of type '" "unsigned int""'"); - } - arg7 = static_cast< unsigned int >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64l" "', argument " "8"" of type '" "uint64_t *""'"); - } - arg8 = reinterpret_cast< uint64_t * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64l" "', argument " "9"" of type '" "uint64_t *""'"); - } - arg9 = reinterpret_cast< uint64_t * >(argp9); - res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res10)) { - SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64l" "', argument " "10"" of type '" "uint64_t *""'"); - } - arg10 = reinterpret_cast< uint64_t * >(argp10); - res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res11)) { - SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64l" "', argument " "11"" of type '" "uint64_t *""'"); - } - arg11 = reinterpret_cast< uint64_t * >(argp11); - res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res12)) { - SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64l" "', argument " "12"" of type '" "uint64_t *""'"); - } - arg12 = reinterpret_cast< uint64_t * >(argp12); - btllib::ntmsm64l((char const *)arg1,arg2,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); - resultobj = SWIG_Py_Void(); - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res4)) delete arg4; - return resultobj; -fail: - if (alloc1 == SWIG_NEWOBJ) delete[] buf1; - if (SWIG_IsNewObj(res4)) delete arg4; - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::BIT_MASKS), SWIGTYPE_p_unsigned_char, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_ntmsm64l(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[13] = { - 0 - }; +SWIGINTERN int Swig_var_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64l", 0, 12, argv))) SWIG_fail; - --argc; - if (argc == 11) { - PyObject *retobj = _wrap_ntmsm64l__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 12) { - PyObject *retobj = _wrap_ntmsm64l__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } + pyobj = SWIG_FromCharPtr(btllib::BLOOM_FILTER_SIGNATURE); + return pyobj; +} + + +SWIGINTERN int Swig_var_KMER_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable KMER_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_KMER_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmsm64l'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::ntmsm64l(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n" - " btllib::ntmsm64l(char const *,char,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n"); - return 0; + (void)self; + pyobj = SWIG_FromCharPtr(btllib::KMER_BLOOM_FILTER_SIGNATURE); + return pyobj; } -SWIGINTERN int Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); +SWIGINTERN int Swig_var_SEED_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_BLOOM_FILTER_SIGNATURE is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { +SWIGINTERN PyObject *Swig_var_SEED_BLOOM_FILTER_SIGNATURE_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_FromCharPtr(btllib::COUNTING_BLOOM_FILTER_SIGNATURE); + pyobj = SWIG_FromCharPtr(btllib::SEED_BLOOM_FILTER_SIGNATURE); return pyobj; } -SWIGINTERN int Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable KMER_COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); +SWIGINTERN int Swig_var_HASH_FN_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable HASH_FN is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { +SWIGINTERN PyObject *Swig_var_HASH_FN_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_FromCharPtr(btllib::KMER_COUNTING_BLOOM_FILTER_SIGNATURE); + pyobj = SWIG_FromCharPtr(btllib::HASH_FN); return pyobj; } -SWIGINTERN PyObject *_wrap_Datatype_prefixes_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; +SWIGINTERN int Swig_var_MAX_HASH_VALUES_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MAX_HASH_VALUES is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MAX_HASH_VALUES_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_prefixes_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); - } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_prefixes_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); - } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->prefixes = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::MAX_HASH_VALUES)); + return pyobj; } -SWIGINTERN PyObject *_wrap_Datatype_prefixes_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; +SWIGINTERN int Swig_var_PLACEHOLDER_NEWLINES_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PLACEHOLDER_NEWLINES is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PLACEHOLDER_NEWLINES_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_prefixes_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_prefixes_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); - } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->prefixes); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - return resultobj; + pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::PLACEHOLDER_NEWLINES)); + return pyobj; +} + + +SWIGINTERN int _wrap_new_BloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::BloomFilter *result = 0 ; + + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + result = (btllib::BloomFilter *)new btllib::BloomFilter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_Datatype_suffixes_set(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_BloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; + size_t arg1 ; + unsigned int arg2 ; + std::string arg3 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::BloomFilter *result = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_suffixes_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); - } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_suffixes_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BloomFilter" "', argument " "3"" of type '" "std::string""'"); + } + arg3 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->suffixes = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; + result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_Datatype_suffixes_get(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_BloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; + size_t arg1 ; + unsigned int arg2 ; + size_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::BloomFilter *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_suffixes_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_suffixes_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); - } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->suffixes); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - return resultobj; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); + } + arg1 = static_cast< size_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_set(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_BloomFilter__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::BloomFilter *result = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_cmds_check_existence_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); - } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_cmds_check_existence_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->cmds_check_existence = *arg2; - resultobj = SWIG_Py_Void(); - return resultobj; + result = (btllib::BloomFilter *)new btllib::BloomFilter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; +SWIGINTERN int _wrap_new_BloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_cmds_check_existence_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_cmds_check_existence_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BloomFilter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_BloomFilter", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 0) { + int retval = _wrap_new_BloomFilter__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->cmds_check_existence); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); - return resultobj; + if (argc == 1) { + int retval = _wrap_new_BloomFilter__SWIG_3(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 2) { + int retval = _wrap_new_BloomFilter__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 3) { + int retval = _wrap_new_BloomFilter__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_BloomFilter'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::BloomFilter::BloomFilter()\n" + " btllib::BloomFilter::BloomFilter(size_t,unsigned int,std::string)\n" + " btllib::BloomFilter::BloomFilter(size_t,unsigned int)\n" + " btllib::BloomFilter::BloomFilter(std::string const &)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_Datatype_read_cmds_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - PyObject *swig_obj[2] ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_read_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_read_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->read_cmds = *arg2; + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->insert((uint64_t const *)arg2); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -28235,578 +26369,695 @@ SWIGINTERN PyObject *_wrap_Datatype_read_cmds_set(PyObject *self, PyObject *args } -SWIGINTERN PyObject *_wrap_Datatype_read_cmds_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; + int res2 = SWIG_OLDOBJ ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_read_cmds_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_read_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->read_cmds); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_write_cmds_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; +SWIGINTERN PyObject *_wrap_BloomFilter_insert(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_insert", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_BloomFilter_insert__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_BloomFilter_insert__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_insert'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::BloomFilter::insert(uint64_t const *)\n" + " btllib::BloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - PyObject *swig_obj[2] ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_write_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_write_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->write_cmds = *arg2; - resultobj = SWIG_Py_Void(); + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)((btllib::BloomFilter const *)arg1)->contains((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_write_cmds_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; + int res2 = SWIG_OLDOBJ ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_write_cmds_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_write_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->write_cmds); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + result = (bool)((btllib::BloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_append_cmds_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_BloomFilter_contains__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_BloomFilter_contains__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::BloomFilter::contains(uint64_t const *) const\n" + " btllib::BloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; - std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - PyObject *swig_obj[2] ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_append_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_append_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } - arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); - if (arg1) (arg1)->append_cmds = *arg2; - resultobj = SWIG_Py_Void(); + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Datatype_append_cmds_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; + int res2 = SWIG_OLDOBJ ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Datatype_append_cmds_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_append_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->append_cmds); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + result = (bool)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN int _wrap_new_Datatype(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - btllib::Datatype *result = 0 ; +SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains_insert", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_BloomFilter_contains_insert__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_BloomFilter_contains_insert__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Datatype")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_Datatype", 0, 0, 0)) SWIG_fail; - result = (btllib::Datatype *)new btllib::Datatype(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Datatype, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; fail: - return -1; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains_insert'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::BloomFilter::contains_insert(uint64_t const *)\n" + " btllib::BloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_delete_Datatype(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_Datatype", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Datatype" "', argument " "1"" of type '" "btllib::Datatype *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::Datatype * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = ((btllib::BloomFilter const *)arg1)->get_bytes(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Datatype) /* defines _wrap_delete_Datatype_destructor_closure */ - -SWIGINTERN int Swig_var_DATATYPES_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable DATATYPES is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_BloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; + + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (uint64_t)((btllib::BloomFilter const *)arg1)->get_pop_cnt(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_DATATYPES_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_BloomFilter_get_occupancy(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + double result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::DATATYPES), SWIGTYPE_p_btllib__Datatype, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (double)((btllib::BloomFilter const *)arg1)->get_occupancy(); + resultobj = SWIG_From_double(static_cast< double >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN int _wrap_new_DataSource(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; PyObject *swig_obj[1] ; - btllib::DataSource *result = 0 ; + unsigned int result; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSource")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_DataSource", 1, 1, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSource" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSource" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - result = (btllib::DataSource *)new btllib::DataSource((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSource, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (unsigned int)((btllib::BloomFilter const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_delete_DataSource(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_get_fpr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::DataSource *arg1 = (btllib::DataSource *) 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_DataSource", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSource, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataSource" "', argument " "1"" of type '" "btllib::DataSource *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::DataSource * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (double)((btllib::BloomFilter const *)arg1)->get_fpr(); + resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_DataSource) /* defines _wrap_delete_DataSource_destructor_closure */ +SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_fn(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::string *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + result = (std::string *) &((btllib::BloomFilter const *)arg1)->get_hash_fn(); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; +fail: + return NULL; +} -SWIGINTERN int _wrap_new_DataSink__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + +SWIGINTERN PyObject *_wrap_BloomFilter_save__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - bool arg2 ; - int res1 = SWIG_OLDOBJ ; - bool val2 ; - int ecode2 = 0 ; - btllib::DataSink *result = 0 ; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_save" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); { std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } - arg1 = ptr; + arg2 = ptr; } - ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataSink" "', argument " "2"" of type '" "bool""'"); - } - arg2 = static_cast< bool >(val2); - result = (btllib::DataSink *)new btllib::DataSink((std::string const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSink, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + (arg1)->save((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN int _wrap_new_DataSink__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BloomFilter_save__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; + cpptoml::table *arg2 = 0 ; + char *arg3 = (char *) 0 ; + size_t arg4 ; int res1 = SWIG_OLDOBJ ; - btllib::DataSink *result = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_save" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_save" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (btllib::DataSink *)new btllib::DataSink((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSink, SWIG_BUILTIN_INIT | 0 ); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_cpptoml__table, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_save" "', argument " "2"" of type '" "cpptoml::table const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_save" "', argument " "2"" of type '" "cpptoml::table const &""'"); + } + arg2 = reinterpret_cast< cpptoml::table * >(argp2); + res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BloomFilter_save" "', argument " "3"" of type '" "char const *""'"); + } + arg3 = reinterpret_cast< char * >(buf3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BloomFilter_save" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + btllib::BloomFilter::save((std::string const &)*arg1,(cpptoml::table const &)*arg2,(char const *)arg3,arg4); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + return resultobj; fail: if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + return NULL; } -SWIGINTERN int _wrap_new_DataSink(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_BloomFilter_save(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[5] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSink")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_DataSink", 0, 2, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_save", 0, 4, argv))) SWIG_fail; --argc; - if (argc == 1) { - int retval = _wrap_new_DataSink__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (argc == 2) { + PyObject *retobj = _wrap_BloomFilter_save__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } - if (argc == 2) { - int retval = _wrap_new_DataSink__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (argc == 4) { + PyObject *retobj = _wrap_BloomFilter_save__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DataSink'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_save'.\n" " Possible C/C++ prototypes are:\n" - " btllib::DataSink::DataSink(std::string const &,bool)\n" - " btllib::DataSink::DataSink(std::string const &)\n"); - return -1; + " btllib::BloomFilter::save(std::string const &)\n" + " btllib::BloomFilter::save(std::string const &,cpptoml::table const &,char const *,size_t)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_delete_DataSink(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BloomFilter_is_bloom_file(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::DataSink *arg1 = (btllib::DataSink *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_DataSink", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSink, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataSink" "', argument " "1"" of type '" "btllib::DataSink *""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::DataSink * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + result = (bool)btllib::BloomFilter::is_bloom_file((std::string const &)*arg1); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_DataSink) /* defines _wrap_delete_DataSink_destructor_closure */ - -SWIGINTERN int Swig_var_BIT_MASKS_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable BIT_MASKS is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_BIT_MASKS_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::BIT_MASKS), SWIGTYPE_p_unsigned_char, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_KMER_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable KMER_BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_KMER_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::KMER_BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_BLOOM_FILTER_SIGNATURE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_BLOOM_FILTER_SIGNATURE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_BLOOM_FILTER_SIGNATURE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::SEED_BLOOM_FILTER_SIGNATURE); - return pyobj; -} - - -SWIGINTERN int Swig_var_HASH_FN_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable HASH_FN is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_HASH_FN_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_BloomFilter_check_file_signature(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + std::string *arg2 = 0 ; + int res1 = SWIG_OLDOBJ ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + bool result; - (void)self; - pyobj = SWIG_FromCharPtr(btllib::HASH_FN); - return pyobj; -} - - -SWIGINTERN int Swig_var_MAX_HASH_VALUES_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MAX_HASH_VALUES is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "BloomFilter_check_file_signature", 2, 2, swig_obj)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + result = (bool)btllib::BloomFilter::check_file_signature((std::string const &)*arg1,(std::string const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; } -SWIGINTERN PyObject *Swig_var_MAX_HASH_VALUES_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_delete_BloomFilter(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::MAX_HASH_VALUES)); - return pyobj; -} - - -SWIGINTERN int Swig_var_PLACEHOLDER_NEWLINES_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PLACEHOLDER_NEWLINES is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "delete_BloomFilter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BloomFilter" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_PLACEHOLDER_NEWLINES_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::PLACEHOLDER_NEWLINES)); - return pyobj; -} - +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_BloomFilter) /* defines _wrap_delete_BloomFilter_destructor_closure */ -SWIGINTERN int _wrap_new_BloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::BloomFilter *result = 0 ; + btllib::KmerBloomFilter *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::BloomFilter *)new btllib::BloomFilter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_BloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; size_t arg1 ; unsigned int arg2 ; - std::string arg3 ; + unsigned int arg3 ; size_t val1 ; int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; - btllib::BloomFilter *result = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + btllib::KmerBloomFilter *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "size_t""'"); } arg1 = static_cast< size_t >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BloomFilter" "', argument " "3"" of type '" "std::string""'"); - } - arg3 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_BloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - size_t arg1 ; - unsigned int arg2 ; - size_t val1 ; - int ecode1 = 0 ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::BloomFilter *result = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerBloomFilter" "', argument " "3"" of type '" "unsigned int""'"); } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::BloomFilter *)new btllib::BloomFilter(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + arg3 = static_cast< unsigned int >(val3); + result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_BloomFilter__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - btllib::BloomFilter *result = 0 ; + btllib::KmerBloomFilter *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_BloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (btllib::BloomFilter *)new btllib::BloomFilter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -28815,104 +27066,106 @@ SWIGINTERN int _wrap_new_BloomFilter__SWIG_3(PyObject *self, Py_ssize_t nobjs, P } -SWIGINTERN int _wrap_new_BloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_KmerBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BloomFilter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_BloomFilter", 0, 3, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerBloomFilter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerBloomFilter", 0, 3, argv))) SWIG_fail; --argc; if (argc == 0) { - int retval = _wrap_new_BloomFilter__SWIG_0(self, argc, argv); + int retval = _wrap_new_KmerBloomFilter__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 1) { - int retval = _wrap_new_BloomFilter__SWIG_3(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 2) { - int retval = _wrap_new_BloomFilter__SWIG_2(self, argc, argv); + int retval = _wrap_new_KmerBloomFilter__SWIG_2(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 3) { - int retval = _wrap_new_BloomFilter__SWIG_1(self, argc, argv); + int retval = _wrap_new_KmerBloomFilter__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_BloomFilter'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerBloomFilter'.\n" " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::BloomFilter()\n" - " btllib::BloomFilter::BloomFilter(size_t,unsigned int,std::string)\n" - " btllib::BloomFilter::BloomFilter(size_t,unsigned int)\n" - " btllib::BloomFilter::BloomFilter(std::string const &)\n"); + " btllib::KmerBloomFilter::KmerBloomFilter()\n" + " btllib::KmerBloomFilter::KmerBloomFilter(size_t,unsigned int,unsigned int)\n" + " btllib::KmerBloomFilter::KmerBloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert((uint64_t const *)arg2); + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->insert((char const *)arg2,arg3); resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + (arg1)->insert((std::string const &)*arg2); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -28922,101 +27175,61 @@ SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t } -SWIGINTERN PyObject *_wrap_BloomFilter_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_insert", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_BloomFilter_insert__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_BloomFilter_insert__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_insert'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::insert(uint64_t const *)\n" - " btllib::BloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)((btllib::BloomFilter const *)arg1)->contains((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + (arg1)->insert((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (bool)((btllib::BloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -29025,14 +27238,13 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_1(PyObject *self, Py_ssize } -SWIGINTERN PyObject *_wrap_BloomFilter_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -29042,79 +27254,365 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains(PyObject *self, PyObject *args) _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_BloomFilter_contains__SWIG_0(self, argc, argv); + return _wrap_KmerBloomFilter_insert__SWIG_2(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_BloomFilter_contains__SWIG_1(self, argc, argv); + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerBloomFilter_insert__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::contains(uint64_t const *) const\n" - " btllib::BloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + " btllib::KmerBloomFilter::insert(char const *,size_t)\n" + " btllib::KmerBloomFilter::insert(std::string const &)\n" + " btllib::KmerBloomFilter::insert(uint64_t const *)\n" + " btllib::KmerBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - bool result; + unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + bool result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + bool result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_KmerBloomFilter_contains__SWIG_2(self, argc, argv); + } +check_1: + + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerBloomFilter_contains__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::KmerBloomFilter::contains(char const *,size_t) const\n" + " btllib::KmerBloomFilter::contains(std::string const &) const\n" + " btllib::KmerBloomFilter::contains(uint64_t const *) const\n" + " btllib::KmerBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + unsigned int result; + + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + result = (unsigned int)(arg1)->contains_insert((char const *)arg2,arg3); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + unsigned int result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + result = (unsigned int)(arg1)->contains_insert((std::string const &)*arg2); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + bool result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + bool result; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -29128,14 +27626,13 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_1(PyObject *self, P } -SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[3] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains_insert", 0, 2, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -29145,40 +27642,58 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert(PyObject *self, PyObject _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_BloomFilter_contains_insert__SWIG_0(self, argc, argv); + return _wrap_KmerBloomFilter_contains_insert__SWIG_2(self, argc, argv); } check_1: if (argc == 2) { - PyObject *retobj = _wrap_BloomFilter_contains_insert__SWIG_1(self, argc, argv); + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerBloomFilter_contains_insert__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_contains_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::contains_insert(uint64_t const *)\n" - " btllib::BloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::KmerBloomFilter::contains_insert(char const *,size_t)\n" + " btllib::KmerBloomFilter::contains_insert(std::string const &)\n" + " btllib::KmerBloomFilter::contains_insert(uint64_t const *)\n" + " btllib::KmerBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_BloomFilter_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = ((btllib::BloomFilter const *)arg1)->get_bytes(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = ((btllib::KmerBloomFilter const *)arg1)->get_bytes(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -29186,21 +27701,21 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_bytes(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_BloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (uint64_t)((btllib::BloomFilter const *)arg1)->get_pop_cnt(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (uint64_t)((btllib::KmerBloomFilter const *)arg1)->get_pop_cnt(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -29208,21 +27723,21 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_pop_cnt(PyObject *self, PyObject *arg } -SWIGINTERN PyObject *_wrap_BloomFilter_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_occupancy(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (double)((btllib::BloomFilter const *)arg1)->get_occupancy(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (double)((btllib::KmerBloomFilter const *)arg1)->get_occupancy(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -29230,21 +27745,21 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_occupancy(PyObject *self, PyObject *a } -SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (unsigned int)((btllib::BloomFilter const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -29252,21 +27767,21 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_num(PyObject *self, PyObject *ar } -SWIGINTERN PyObject *_wrap_BloomFilter_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_fpr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (double)((btllib::BloomFilter const *)arg1)->get_fpr(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (double)((btllib::KmerBloomFilter const *)arg1)->get_fpr(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -29274,21 +27789,43 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_fpr(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_k" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::BloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); - result = (std::string *) &((btllib::BloomFilter const *)arg1)->get_hash_fn(); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (std::string *) &((btllib::KmerBloomFilter const *)arg1)->get_hash_fn(); resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: @@ -29296,29 +27833,52 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_fn(PyObject *self, PyObject *arg } -SWIGINTERN PyObject *_wrap_BloomFilter_save__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bloom_filter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::BloomFilter *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bloom_filter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bloom_filter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + } + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + result = (btllib::BloomFilter *) &(arg1)->get_bloom_filter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_save" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_save" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -29332,182 +27892,49 @@ SWIGINTERN PyObject *_wrap_BloomFilter_save__SWIG_0(PyObject *self, Py_ssize_t n } -SWIGINTERN PyObject *_wrap_BloomFilter_save__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_KmerBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string *arg1 = 0 ; - cpptoml::table *arg2 = 0 ; - char *arg3 = (char *) 0 ; - size_t arg4 ; int res1 = SWIG_OLDOBJ ; - void *argp2 = 0 ; - int res2 = 0 ; - int res3 ; - char *buf3 = 0 ; - int alloc3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_save" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_save" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_cpptoml__table, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_save" "', argument " "2"" of type '" "cpptoml::table const &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_save" "', argument " "2"" of type '" "cpptoml::table const &""'"); - } - arg2 = reinterpret_cast< cpptoml::table * >(argp2); - res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BloomFilter_save" "', argument " "3"" of type '" "char const *""'"); - } - arg3 = reinterpret_cast< char * >(buf3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BloomFilter_save" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - btllib::BloomFilter::save((std::string const &)*arg1,(cpptoml::table const &)*arg2,(char const *)arg3,SWIG_STD_MOVE(arg4)); - resultobj = SWIG_Py_Void(); + result = (bool)btllib::KmerBloomFilter::is_bloom_file((std::string const &)*arg1); + resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res1)) delete arg1; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return resultobj; fail: if (SWIG_IsNewObj(res1)) delete arg1; - if (alloc3 == SWIG_NEWOBJ) delete[] buf3; return NULL; } -SWIGINTERN PyObject *_wrap_BloomFilter_save(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[5] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_save", 0, 4, argv))) SWIG_fail; - --argc; - if (argc == 2) { - PyObject *retobj = _wrap_BloomFilter_save__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 4) { - PyObject *retobj = _wrap_BloomFilter_save__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BloomFilter_save'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::BloomFilter::save(std::string const &)\n" - " btllib::BloomFilter::save(std::string const &,cpptoml::table const &,char const *,size_t)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_BloomFilter_is_bloom_file(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - bool result; - - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - result = (bool)btllib::BloomFilter::is_bloom_file((std::string const &)*arg1); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_BloomFilter_check_file_signature(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - std::string *arg2 = 0 ; - int res1 = SWIG_OLDOBJ ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; - bool result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BloomFilter_check_file_signature", 2, 2, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; - } - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BloomFilter_check_file_signature" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - result = (bool)btllib::BloomFilter::check_file_signature((std::string const &)*arg1,(std::string const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_BloomFilter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_KmerBloomFilter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; + btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_BloomFilter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_KmerBloomFilter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BloomFilter" "', argument " "1"" of type '" "btllib::BloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerBloomFilter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::BloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -29516,81 +27943,93 @@ SWIGINTERN PyObject *_wrap_delete_BloomFilter(PyObject *self, PyObject *args) { } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_BloomFilter) /* defines _wrap_delete_BloomFilter_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerBloomFilter) /* defines _wrap_delete_KmerBloomFilter_destructor_closure */ -SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *result = 0 ; + btllib::SeedBloomFilter *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; size_t arg1 ; unsigned int arg2 ; - unsigned int arg3 ; + std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ; + unsigned int arg4 ; size_t val1 ; int ecode1 = 0 ; unsigned int val2 ; int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - btllib::KmerBloomFilter *result = 0 ; + int res3 = SWIG_OLDOBJ ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::SeedBloomFilter *result = 0 ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "size_t""'"); } arg1 = static_cast< size_t >(val1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_KmerBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeedBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_KmerBloomFilter" "', argument " "3"" of type '" "unsigned int""'"); + { + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res3 = swig::asptr(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg3 = ptr; + } + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedBloomFilter" "', argument " "4"" of type '" "unsigned int""'"); } - arg3 = static_cast< unsigned int >(val3); - result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); + arg4 = static_cast< unsigned int >(val4); + result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(arg1,arg2,(std::vector< std::string,std::allocator< std::string > > const &)*arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res3)) delete arg3; return resultobj == Py_None ? -1 : 0; fail: + if (SWIG_IsNewObj(res3)) delete arg3; return -1; } -SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - btllib::KmerBloomFilter *result = 0 ; + btllib::SeedBloomFilter *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_KmerBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -29599,45 +28038,44 @@ SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobj } -SWIGINTERN int _wrap_new_KmerBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_SeedBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[4] = { + PyObject *argv[5] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerBloomFilter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerBloomFilter", 0, 3, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedBloomFilter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedBloomFilter", 0, 4, argv))) SWIG_fail; --argc; if (argc == 0) { - int retval = _wrap_new_KmerBloomFilter__SWIG_0(self, argc, argv); + int retval = _wrap_new_SeedBloomFilter__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 1) { - int retval = _wrap_new_KmerBloomFilter__SWIG_2(self, argc, argv); + int retval = _wrap_new_SeedBloomFilter__SWIG_2(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 3) { - int retval = _wrap_new_KmerBloomFilter__SWIG_1(self, argc, argv); + if (argc == 4) { + int retval = _wrap_new_SeedBloomFilter__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_KmerBloomFilter'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedBloomFilter'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::KmerBloomFilter()\n" - " btllib::KmerBloomFilter::KmerBloomFilter(size_t,unsigned int,unsigned int)\n" - " btllib::KmerBloomFilter::KmerBloomFilter(std::string const &)\n"); + " btllib::SeedBloomFilter::SeedBloomFilter()\n" + " btllib::SeedBloomFilter::SeedBloomFilter(size_t,unsigned int,std::vector< std::string,std::allocator< std::string > > const &,unsigned int)\n" + " btllib::SeedBloomFilter::SeedBloomFilter(std::string const &)\n"); return -1; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -29648,21 +28086,20 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_0(PyObject *self, Py_ssi size_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); (arg1)->insert((char const *)arg2,arg3); @@ -29675,29 +28112,28 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_0(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -29711,25 +28147,24 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_1(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); (arg1)->insert((uint64_t const *)arg2); @@ -29740,29 +28175,28 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_2(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -29776,14 +28210,13 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_3(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -29793,7 +28226,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert(PyObject *self, PyObject *args _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerBloomFilter_insert__SWIG_2(self, argc, argv); + return _wrap_SeedBloomFilter_insert__SWIG_2(self, argc, argv); } check_1: @@ -29804,35 +28237,35 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert(PyObject *self, PyObject *args _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerBloomFilter_insert__SWIG_1(self, argc, argv); + return _wrap_SeedBloomFilter_insert__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerBloomFilter_insert__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::insert(char const *,size_t)\n" - " btllib::KmerBloomFilter::insert(std::string const &)\n" - " btllib::KmerBloomFilter::insert(uint64_t const *)\n" - " btllib::KmerBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::SeedBloomFilter::insert(char const *,size_t)\n" + " btllib::SeedBloomFilter::insert(std::string const &)\n" + " btllib::SeedBloomFilter::insert(uint64_t const *)\n" + " btllib::SeedBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -29842,27 +28275,26 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_0(PyObject *self, Py_s int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - unsigned int result; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + result = ((btllib::SeedBloomFilter const *)arg1)->contains((char const *)arg2,arg3); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -29871,35 +28303,34 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_0(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int result; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->contains((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + result = ((btllib::SeedBloomFilter const *)arg1)->contains((std::string const &)*arg2); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -29908,9 +28339,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_1(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -29918,19 +28349,18 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_s int res2 = 0 ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((uint64_t const *)arg2); + result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((uint64_t const *)arg2); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -29938,34 +28368,33 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } - result = (bool)((btllib::KmerBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -29975,14 +28404,13 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_3(PyObject *self, Py_s } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -29992,7 +28420,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerBloomFilter_contains__SWIG_2(self, argc, argv); + return _wrap_SeedBloomFilter_contains__SWIG_2(self, argc, argv); } check_1: @@ -30003,35 +28431,35 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains(PyObject *self, PyObject *ar _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerBloomFilter_contains__SWIG_1(self, argc, argv); + return _wrap_SeedBloomFilter_contains__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerBloomFilter_contains__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::contains(char const *,size_t) const\n" - " btllib::KmerBloomFilter::contains(std::string const &) const\n" - " btllib::KmerBloomFilter::contains(uint64_t const *) const\n" - " btllib::KmerBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); + " btllib::SeedBloomFilter::contains(char const *,size_t) const\n" + " btllib::SeedBloomFilter::contains(std::string const &) const\n" + " btllib::SeedBloomFilter::contains(uint64_t const *) const\n" + " btllib::SeedBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; char *arg2 = (char *) 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -30041,27 +28469,26 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_0(PyObject *sel int alloc2 = 0 ; size_t val3 ; int ecode3 = 0 ; - unsigned int result; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); } arg2 = reinterpret_cast< char * >(buf2); ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); - result = (unsigned int)(arg1)->contains_insert((char const *)arg2,arg3); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + result = (arg1)->contains_insert((char const *)arg2,arg3); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: @@ -30070,35 +28497,34 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_0(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - unsigned int result; + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (unsigned int)(arg1)->contains_insert((std::string const &)*arg2); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + result = (arg1)->contains_insert((std::string const &)*arg2); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -30107,9 +28533,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_1(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; uint64_t *arg2 = (uint64_t *) 0 ; void *argp1 = 0 ; int res1 = 0 ; @@ -30117,16 +28543,15 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_2(PyObject *sel int res2 = 0 ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); } arg2 = reinterpret_cast< uint64_t * >(argp2); result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); @@ -30137,30 +28562,29 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_2(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; bool result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; res2 = swig::asptr(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); } arg2 = ptr; } @@ -30174,14 +28598,13 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_3(PyObject *sel } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { int _v = 0; @@ -30191,7 +28614,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert(PyObject *self, PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_1; - return _wrap_KmerBloomFilter_contains_insert__SWIG_2(self, argc, argv); + return _wrap_SeedBloomFilter_contains_insert__SWIG_2(self, argc, argv); } check_1: @@ -30202,47 +28625,47 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert(PyObject *self, PyObj _v = SWIG_CheckState(res); } if (!_v) goto check_2; - return _wrap_KmerBloomFilter_contains_insert__SWIG_1(self, argc, argv); + return _wrap_SeedBloomFilter_contains_insert__SWIG_1(self, argc, argv); } check_2: if (argc == 2) { - PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_3(self, argc, argv); + PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_3(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_KmerBloomFilter_contains_insert__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerBloomFilter_contains_insert'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains_insert'.\n" " Possible C/C++ prototypes are:\n" - " btllib::KmerBloomFilter::contains_insert(char const *,size_t)\n" - " btllib::KmerBloomFilter::contains_insert(std::string const &)\n" - " btllib::KmerBloomFilter::contains_insert(uint64_t const *)\n" - " btllib::KmerBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + " btllib::SeedBloomFilter::contains_insert(char const *,size_t)\n" + " btllib::SeedBloomFilter::contains_insert(std::string const &)\n" + " btllib::SeedBloomFilter::contains_insert(uint64_t const *)\n" + " btllib::SeedBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); return 0; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_bytes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = ((btllib::KmerBloomFilter const *)arg1)->get_bytes(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = ((btllib::SeedBloomFilter const *)arg1)->get_bytes(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -30250,21 +28673,21 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bytes(PyObject *self, PyObject *a } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (uint64_t)((btllib::KmerBloomFilter const *)arg1)->get_pop_cnt(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (uint64_t)((btllib::SeedBloomFilter const *)arg1)->get_pop_cnt(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -30272,21 +28695,21 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_pop_cnt(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_occupancy(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (double)((btllib::KmerBloomFilter const *)arg1)->get_occupancy(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (double)((btllib::SeedBloomFilter const *)arg1)->get_occupancy(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -30294,21 +28717,21 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_occupancy(PyObject *self, PyObjec } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_total_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_total_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_total_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_total_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -30316,21 +28739,21 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_num(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_fpr(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; double result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (double)((btllib::KmerBloomFilter const *)arg1)->get_fpr(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (double)((btllib::SeedBloomFilter const *)arg1)->get_fpr(); resultobj = SWIG_From_double(static_cast< double >(result)); return resultobj; fail: @@ -30338,21 +28761,21 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_fpr(PyObject *self, PyObject *arg } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_k" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_k" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (unsigned int)((btllib::KmerBloomFilter const *)arg1)->get_k(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_k(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -30360,21 +28783,109 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_k(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_seeds(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_seeds", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *) &((btllib::SeedBloomFilter const *)arg1)->get_seeds(); + resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_parsed_seeds(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_parsed_seeds", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_parsed_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *) &((btllib::SeedBloomFilter const *)arg1)->get_parsed_seeds(); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(*result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num_per_seed(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num_per_seed(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::KmerBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (std::string *) &((btllib::KmerBloomFilter const *)arg1)->get_hash_fn(); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (std::string *) &((btllib::SeedBloomFilter const *)arg1)->get_hash_fn(); resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: @@ -30382,53 +28893,52 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_fn(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bloom_filter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_kmer_bloom_filter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::BloomFilter *result = 0 ; + PyObject *swig_obj[1] ; + btllib::KmerBloomFilter *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bloom_filter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_kmer_bloom_filter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_get_bloom_filter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_kmer_bloom_filter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); - result = (btllib::BloomFilter *) &(arg1)->get_bloom_filter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + result = (btllib::KmerBloomFilter *) &(arg1)->get_kmer_bloom_filter(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_save(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_save" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_save" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -30442,28 +28952,27 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_KmerBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (bool)btllib::KmerBloomFilter::is_bloom_file((std::string const &)*arg1); + result = (bool)btllib::SeedBloomFilter::is_bloom_file((std::string const &)*arg1); resultobj = SWIG_From_bool(static_cast< bool >(result)); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; @@ -30473,19 +28982,19 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_is_bloom_file(PyObject *self, PyObjec } -SWIGINTERN PyObject *_wrap_delete_KmerBloomFilter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_SeedBloomFilter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; + btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_KmerBloomFilter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeedBloomFilter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_KmerBloomFilter" "', argument " "1"" of type '" "btllib::KmerBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedBloomFilter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); } - arg1 = reinterpret_cast< btllib::KmerBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); delete arg1; resultobj = SWIG_Py_Void(); return resultobj; @@ -30494,96 +29003,112 @@ SWIGINTERN PyObject *_wrap_delete_KmerBloomFilter(PyObject *self, PyObject *args } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerBloomFilter) /* defines _wrap_delete_KmerBloomFilter_destructor_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedBloomFilter) /* defines _wrap_delete_SeedBloomFilter_destructor_closure */ -SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *result = 0 ; +SWIGINTERN int Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_FromCharPtr(btllib::COUNTING_BLOOM_FILTER_SIGNATURE); + return pyobj; } -SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable KMER_COUNTING_BLOOM_FILTER_SIGNATURE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::KMER_COUNTING_BLOOM_FILTER_SIGNATURE); + return pyobj; +} + + +SWIGINTERN int _wrap_new_SeqReader__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - size_t arg1 ; + std::string *arg1 = 0 ; unsigned int arg2 ; - std::vector< std::string,std::allocator< std::string > > *arg3 = 0 ; - unsigned int arg4 ; - size_t val1 ; - int ecode1 = 0 ; + unsigned int arg3 ; + int res1 = SWIG_OLDOBJ ; unsigned int val2 ; int ecode2 = 0 ; - int res3 = SWIG_OLDOBJ ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::SeedBloomFilter *result = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + btllib::SeqReader *result = 0 ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "size_t""'"); - } - arg1 = static_cast< size_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeedBloomFilter" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res3 = swig::asptr(swig_obj[2], &ptr); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "3"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); } - arg3 = ptr; + arg1 = ptr; } - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedBloomFilter" "', argument " "4"" of type '" "unsigned int""'"); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(arg1,arg2,(std::vector< std::string,std::allocator< std::string > > const &)*arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res3)) delete arg3; + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqReader" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res1)) delete arg1; return -1; } -SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_SeqReader__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string *arg1 = 0 ; + unsigned int arg2 ; int res1 = SWIG_OLDOBJ ; - btllib::SeedBloomFilter *result = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + btllib::SeqReader *result = 0 ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; { std::string *ptr = (std::string *)0; res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedBloomFilter" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter((std::string const &)*arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: @@ -30592,506 +29117,446 @@ SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobj } -SWIGINTERN int _wrap_new_SeedBloomFilter(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_SeqReader(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[5] = { + PyObject *argv[4] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedBloomFilter")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedBloomFilter", 0, 4, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReader")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqReader", 0, 3, argv))) SWIG_fail; --argc; - if (argc == 0) { - int retval = _wrap_new_SeedBloomFilter__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 1) { - int retval = _wrap_new_SeedBloomFilter__SWIG_2(self, argc, argv); + if (argc == 2) { + int retval = _wrap_new_SeqReader__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 4) { - int retval = _wrap_new_SeedBloomFilter__SWIG_1(self, argc, argv); + if (argc == 3) { + int retval = _wrap_new_SeqReader__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedBloomFilter'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqReader'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::SeedBloomFilter()\n" - " btllib::SeedBloomFilter::SeedBloomFilter(size_t,unsigned int,std::vector< std::string,std::allocator< std::string > > const &,unsigned int)\n" - " btllib::SeedBloomFilter::SeedBloomFilter(std::string const &)\n"); + " btllib::SeqReader::SeqReader(std::string const &,unsigned int,unsigned int)\n" + " btllib::SeqReader::SeqReader(std::string const &,unsigned int)\n"); return -1; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_SeqReader(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReader", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReader" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_insert" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->insert((char const *)arg2,arg3); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + delete arg1; resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_close(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - std::string *arg2 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_close", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_close" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - (arg1)->insert((std::string const &)*arg2); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + (arg1)->close(); resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_fold_case(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_fold_case", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_fold_case" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->insert((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->fold_case(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_trim_masked(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_trim_masked", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_trim_masked" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - (arg1)->insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->trim_masked(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_SeedBloomFilter_insert__SWIG_2(self, argc, argv); - } -check_1: +SWIGINTERN PyObject *_wrap_SeqReader_short_mode(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_SeedBloomFilter_insert__SWIG_1(self, argc, argv); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_short_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_short_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } -check_2: + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->short_mode(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeqReader_long_mode(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - if (argc == 2) { - PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_SeedBloomFilter_insert__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "SeqReader_long_mode", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_long_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (bool)((btllib::SeqReader const *)arg1)->long_mode(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_insert'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::insert(char const *,size_t)\n" - " btllib::SeedBloomFilter::insert(std::string const &)\n" - " btllib::SeedBloomFilter::insert(uint64_t const *)\n" - " btllib::SeedBloomFilter::insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_get_format(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + PyObject *swig_obj[1] ; + btllib::SeqReader::Format result; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_format", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "char const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_format" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = ((btllib::SeedBloomFilter const *)arg1)->contains((char const *)arg2,arg3); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (btllib::SeqReader::Format)((btllib::SeqReader const *)arg1)->get_format(); + resultobj = SWIG_From_int(static_cast< int >(result)); return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_read(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - std::string *arg2 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + PyObject *swig_obj[1] ; + btllib::SeqReader::Record result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_read", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_read" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - result = ((btllib::SeedBloomFilter const *)arg1)->contains((std::string const &)*arg2); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (arg1)->read(); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader___iter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; + PyObject *swig_obj[1] ; + SwigValueWrapper< btllib::SeqReader::RecordIterator > result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader___iter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___iter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (arg1)->begin(); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::RecordIterator(static_cast< const btllib::SeqReader::RecordIterator& >(result))), SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReader_get_buffer_size(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - bool result; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_buffer_size", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_buffer_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } - result = (bool)((btllib::SeedBloomFilter const *)arg1)->contains((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = ((btllib::SeqReader const *)arg1)->get_buffer_size(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; +SWIGINTERN PyObject *_wrap_SeqReader_get_block_size(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_SeedBloomFilter_contains__SWIG_2(self, argc, argv); + if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_block_size", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_block_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); } -check_1: + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = ((btllib::SeqReader const *)arg1)->get_block_size(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeqReader___enter__(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + btllib::SeqReader *result = 0 ; - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_SeedBloomFilter_contains__SWIG_1(self, argc, argv); + if (!SWIG_Python_UnpackTuple(args, "SeqReader___enter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___enter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } -check_2: + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + result = (btllib::SeqReader *)btllib_SeqReader___enter__(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeqReader___exit__(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + PyObject *arg4 = (PyObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[4] ; - if (argc == 2) { - PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_SeedBloomFilter_contains__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "SeqReader___exit__", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___exit__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); } + arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); + arg2 = swig_obj[0]; + arg3 = swig_obj[1]; + arg4 = swig_obj[2]; + btllib_SeqReader___exit__(arg1,arg2,arg3,arg4); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReader) /* defines _wrap_delete_SeqReader_destructor_closure */ + +SWIGPY_GETITERFUNC_CLOSURE(_wrap_SeqReader___iter__) /* defines _wrap_SeqReader___iter___getiterfunc_closure */ + +SWIGINTERN int _wrap_new_SeqReaderFlag(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + btllib::SeqReader::Flag *result = 0 ; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderFlag")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderFlag", 0, 0, 0)) SWIG_fail; + result = (btllib::SeqReader::Flag *)new btllib::SeqReader::Flag(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::contains(char const *,size_t) const\n" - " btllib::SeedBloomFilter::contains(std::string const &) const\n" - " btllib::SeedBloomFilter::contains(uint64_t const *) const\n" - " btllib::SeedBloomFilter::contains(std::vector< uint64_t,std::allocator< uint64_t > > const &) const\n"); - return 0; + return -1; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_SeqReaderFlag(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; + btllib::SeqReader::Flag *arg1 = (btllib::SeqReader::Flag *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderFlag", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderFlag" "', argument " "1"" of type '" "btllib::SeqReader::Flag *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "char const *""'"); + arg1 = reinterpret_cast< btllib::SeqReader::Flag * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderFlag) /* defines _wrap_delete_SeqReaderFlag_destructor_closure */ + +SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedBloomFilter_contains_insert" "', argument " "3"" of type '" "size_t""'"); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeqReaderRecord_num_set" "', argument " "2"" of type '" "size_t""'"); } - arg3 = static_cast< size_t >(val3); - result = (arg1)->contains_insert((char const *)arg2,arg3); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + arg2 = static_cast< size_t >(val2); + if (arg1) (arg1)->num = arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; + + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_num_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + } + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = ((arg1)->num); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (arg1)->contains_insert((std::string const &)*arg2); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + if (arg1) (arg1)->id = *arg2; + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -31100,65 +29565,57 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_1(PyObject *sel } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - bool result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_id_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "uint64_t const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg2 = reinterpret_cast< uint64_t * >(argp2); - result = (bool)(arg1)->contains_insert((uint64_t const *)arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->id); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - bool result; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_contains_insert" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_contains_insert" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - result = (bool)(arg1)->contains_insert((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (arg1) (arg1)->comment = *arg2; + resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: @@ -31167,407 +29624,366 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_3(PyObject *sel } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_SeedBloomFilter_contains_insert__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_SeedBloomFilter_contains_insert__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_SeedBloomFilter_contains_insert__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedBloomFilter_contains_insert'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedBloomFilter::contains_insert(char const *,size_t)\n" - " btllib::SeedBloomFilter::contains_insert(std::string const &)\n" - " btllib::SeedBloomFilter::contains_insert(uint64_t const *)\n" - " btllib::SeedBloomFilter::contains_insert(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_bytes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - size_t result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_comment_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_bytes" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = ((btllib::SeedBloomFilter const *)arg1)->get_bytes(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->comment); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_pop_cnt(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t result; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_pop_cnt" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (uint64_t)((btllib::SeedBloomFilter const *)arg1)->get_pop_cnt(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + if (arg1) (arg1)->seq = *arg2; + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_occupancy(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - double result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_seq_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_occupancy" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (double)((btllib::SeedBloomFilter const *)arg1)->get_occupancy(); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->seq); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_total_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_total_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_total_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_total_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + if (arg1) (arg1)->qual = *arg2; + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_fpr(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - double result; + PyObject *swig_obj[1] ; + std::string *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_qual_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_fpr" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (double)((btllib::SeedBloomFilter const *)arg1)->get_fpr(); - resultobj = SWIG_From_double(static_cast< double >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (std::string *) & ((arg1)->qual); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecord___nonzero__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord___nonzero__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_k" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord___nonzero__" "', argument " "1"" of type '" "btllib::SeqReader::Record const *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + result = (bool)((btllib::SeqReader::Record const *)arg1)->operator bool(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - return NULL; + PyErr_Clear(); + Py_INCREF(Py_NotImplemented); + return Py_NotImplemented; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_seeds(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_SeqReaderRecord(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::vector< std::string,std::allocator< std::string > > *result = 0 ; + btllib::SeqReader::Record *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_seeds", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (std::vector< std::string,std::allocator< std::string > > *) &((btllib::SeedBloomFilter const *)arg1)->get_seeds(); - resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(*result)); - return resultobj; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderRecord")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderRecord", 0, 0, 0)) SWIG_fail; + result = (btllib::SeqReader::Record *)new btllib::SeqReader::Record(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_parsed_seeds(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_SeqReaderRecord(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *result = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_parsed_seeds", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecord", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_parsed_seeds" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecord" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *) &((btllib::SeedBloomFilter const *)arg1)->get_parsed_seeds(); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(*result)); + arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num_per_seed(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num_per_seed(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); - return resultobj; -fail: - return NULL; -} +SWIGPY_INQUIRY_CLOSURE(_wrap_SeqReaderRecord___nonzero__) /* defines _wrap_SeqReaderRecord___nonzero___inquiry_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecord) /* defines _wrap_delete_SeqReaderRecord_destructor_closure */ -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqReaderRecordIterator___next__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + PyObject *swig_obj[1] ; + btllib::SeqReader::Record result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecordIterator___next__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_num" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecordIterator___next__" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (unsigned int)((btllib::SeedBloomFilter const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); + { + result = (arg1)->next(); + if (!bool(result)) { + PyErr_SetNone(PyExc_StopIteration); + SWIG_fail; + } + } + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_fn(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_SeqReaderRecordIterator(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::string *result = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecordIterator", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_hash_fn" "', argument " "1"" of type '" "btllib::SeedBloomFilter const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecordIterator" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (std::string *) &((btllib::SeedBloomFilter const *)arg1)->get_hash_fn(); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_kmer_bloom_filter(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - btllib::KmerBloomFilter *result = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_kmer_bloom_filter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_get_kmer_bloom_filter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); - } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - result = (btllib::KmerBloomFilter *) &(arg1)->get_kmer_bloom_filter(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); - return resultobj; -fail: - return NULL; -} +SWIGPY_ITERNEXTFUNC_CLOSURE(_wrap_SeqReaderRecordIterator___next__) /* defines _wrap_SeqReaderRecordIterator___next___iternextfunc_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecordIterator) /* defines _wrap_delete_SeqReaderRecordIterator_destructor_closure */ -SWIGINTERN PyObject *_wrap_SeedBloomFilter_save(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_split(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::string *arg1 = 0 ; std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + int res1 = SWIG_OLDOBJ ; int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + std::vector< std::string,std::allocator< std::string > > result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_save" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + if (!SWIG_Python_UnpackTuple(args, "split", 2, 2, swig_obj)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_save" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - (arg1)->save((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); + result = btllib::split((std::string const &)*arg1,(std::string const &)*arg2); + resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeedBloomFilter_is_bloom_file(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_join(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; + std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; + std::string *arg2 = 0 ; int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - bool result; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + std::string result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; + if (!SWIG_Python_UnpackTuple(args, "join", 2, 2, swig_obj)) SWIG_fail; { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedBloomFilter_is_bloom_file" "', argument " "1"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } arg1 = ptr; } - result = (bool)btllib::SeedBloomFilter::is_bloom_file((std::string const &)*arg1); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + result = btllib::join((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(std::string const &)*arg2); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: if (SWIG_IsNewObj(res1)) delete arg1; + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_delete_SeedBloomFilter(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ltrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; + std::string *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeedBloomFilter", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_POINTER_DISOWN | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedBloomFilter" "', argument " "1"" of type '" "btllib::SeedBloomFilter *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); } - arg1 = reinterpret_cast< btllib::SeedBloomFilter * >(argp1); - delete arg1; + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); + } + arg1 = reinterpret_cast< std::string * >(argp1); + btllib::ltrim(*arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -31575,134 +29991,80 @@ SWIGINTERN PyObject *_wrap_delete_SeedBloomFilter(PyObject *self, PyObject *args } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedBloomFilter) /* defines _wrap_delete_SeedBloomFilter_destructor_closure */ - -SWIGINTERN int _wrap_new_SeqReader__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ltrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - unsigned int arg2 ; - unsigned int arg3 ; - int res1 = SWIG_OLDOBJ ; - unsigned int val2 ; - int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - btllib::SeqReader *result = 0 ; + btllib::CString *arg1 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqReader" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); + } + arg1 = reinterpret_cast< btllib::CString * >(argp1); + btllib::ltrim(*arg1); + resultobj = SWIG_Py_Void(); + return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; + return NULL; } -SWIGINTERN int _wrap_new_SeqReader__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - unsigned int arg2 ; - int res1 = SWIG_OLDOBJ ; - unsigned int val2 ; - int ecode2 = 0 ; - btllib::SeqReader *result = 0 ; +SWIGINTERN PyObject *_wrap_ltrim(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[2] = { + 0 + }; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "ltrim", 0, 1, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqReader" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!_v) goto check_1; + return _wrap_ltrim__SWIG_0(self, argc, argv); } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqReader" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - result = (btllib::SeqReader *)new btllib::SeqReader((std::string const &)*arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj == Py_None ? -1 : 0; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return -1; -} - - -SWIGINTERN int _wrap_new_SeqReader(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; +check_1: - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReader")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqReader", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 2) { - int retval = _wrap_new_SeqReader__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 3) { - int retval = _wrap_new_SeqReader__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (argc == 1) { + PyObject *retobj = _wrap_ltrim__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqReader'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ltrim'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeqReader::SeqReader(std::string const &,unsigned int,unsigned int)\n" - " btllib::SeqReader::SeqReader(std::string const &,unsigned int)\n"); - return -1; + " btllib::ltrim(std::string &)\n" + " btllib::ltrim(btllib::CString &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_delete_SeqReader(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_rtrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + std::string *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReader", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, SWIG_POINTER_DISOWN | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReader" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - delete arg1; + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); + } + arg1 = reinterpret_cast< std::string * >(argp1); + btllib::rtrim(*arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -31710,20 +30072,22 @@ SWIGINTERN PyObject *_wrap_delete_SeqReader(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_SeqReader_close(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_rtrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::CString *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_close", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_close" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - (arg1)->close(); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); + } + arg1 = reinterpret_cast< btllib::CString * >(argp1); + btllib::rtrim(*arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -31731,247 +30095,308 @@ SWIGINTERN PyObject *_wrap_SeqReader_close(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_SeqReader_fold_case(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN PyObject *_wrap_rtrim(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[2] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_fold_case", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_fold_case" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "rtrim", 0, 1, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_rtrim__SWIG_0(self, argc, argv); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->fold_case(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; +check_1: + + if (argc == 1) { + PyObject *retobj = _wrap_rtrim__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'rtrim'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::rtrim(std::string &)\n" + " btllib::rtrim(btllib::CString &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_SeqReader_trim_masked(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_trim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + std::string *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_trim_masked", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_trim_masked" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->trim_masked(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); + } + arg1 = reinterpret_cast< std::string * >(argp1); + btllib::trim(*arg1); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_short_mode(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_trim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::CString *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_short_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_short_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->short_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); + } + arg1 = reinterpret_cast< btllib::CString * >(argp1); + btllib::trim(*arg1); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_long_mode(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN PyObject *_wrap_trim(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[2] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_long_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_long_mode" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "trim", 0, 1, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_trim__SWIG_0(self, argc, argv); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (bool)((btllib::SeqReader const *)arg1)->long_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; +check_1: + + if (argc == 1) { + PyObject *retobj = _wrap_trim__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'trim'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::trim(std::string &)\n" + " btllib::trim(btllib::CString &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_SeqReader_get_format(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_startswith(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - btllib::SeqReader::Format result; + std::string arg1 ; + std::string arg2 ; + PyObject *swig_obj[2] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_format", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_format" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + if (!SWIG_Python_UnpackTuple(args, "startswith", 2, 2, swig_obj)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (btllib::SeqReader::Format)((btllib::SeqReader const *)arg1)->get_format(); - resultobj = SWIG_From_int(static_cast< int >(result)); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "2"" of type '" "std::string""'"); + } + arg2 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (bool)btllib::startswith(arg1,arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_read(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_endswith(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - btllib::SeqReader::Record result; + std::string arg1 ; + std::string arg2 ; + PyObject *swig_obj[2] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_read", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_read" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + if (!SWIG_Python_UnpackTuple(args, "endswith", 2, 2, swig_obj)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (arg1)->read(); - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(result)), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "2"" of type '" "std::string""'"); + } + arg2 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (bool)btllib::endswith(arg1,arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader___iter__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_get_basename(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - SwigValueWrapper< btllib::SeqReader::RecordIterator > result; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + std::string result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader___iter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___iter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::RecordIterator(result)), SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_OWN | 0 ); + result = btllib::get_basename((std::string const &)*arg1); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_get_buffer_size(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_get_dirname(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + std::string result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_buffer_size", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_buffer_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = ((btllib::SeqReader const *)arg1)->get_buffer_size(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + result = btllib::get_dirname((std::string const &)*arg1); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader_get_block_size(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_Barrier(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; + unsigned int arg1 ; + unsigned int val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + btllib::Barrier *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_block_size", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader_get_block_size" "', argument " "1"" of type '" "btllib::SeqReader const *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = ((btllib::SeqReader const *)arg1)->get_block_size(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Barrier")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_Barrier", 1, 1, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Barrier" "', argument " "1"" of type '" "unsigned int""'"); + } + arg1 = static_cast< unsigned int >(val1); + result = (btllib::Barrier *)new btllib::Barrier(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Barrier, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_SeqReader___enter__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Barrier_wait(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; + btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::SeqReader *result = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader___enter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Barrier_wait", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___enter__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Barrier_wait" "', argument " "1"" of type '" "btllib::Barrier *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - result = (btllib::SeqReader *)btllib_SeqReader___enter__(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + arg1 = reinterpret_cast< btllib::Barrier * >(argp1); + (arg1)->wait(); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReader___exit__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_Barrier(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; + btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[4] ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReader___exit__", 3, 3, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_Barrier", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReader___exit__" "', argument " "1"" of type '" "btllib::SeqReader *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Barrier" "', argument " "1"" of type '" "btllib::Barrier *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); - arg2 = swig_obj[0]; - arg3 = swig_obj[1]; - arg4 = swig_obj[2]; - btllib_SeqReader___exit__(arg1,arg2,arg3,arg4); + arg1 = reinterpret_cast< btllib::Barrier * >(argp1); + delete arg1; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -31979,2034 +30404,1397 @@ SWIGINTERN PyObject *_wrap_SeqReader___exit__(PyObject *self, PyObject *args) { } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReader) /* defines _wrap_delete_SeqReader_destructor_closure */ - -SWIGPY_GETITERFUNC_CLOSURE(_wrap_SeqReader___iter__) /* defines _wrap_SeqReader___iter___getiterfunc_closure */ +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Barrier) /* defines _wrap_delete_Barrier_destructor_closure */ -SWIGINTERN int _wrap_new_SeqReaderFlag(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_SeqWriter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader::Flag *result = 0 ; + std::string *arg1 = 0 ; + btllib::SeqWriter::Format arg2 ; + bool arg3 ; + int res1 = SWIG_OLDOBJ ; + int val2 ; + int ecode2 = 0 ; + bool val3 ; + int ecode3 = 0 ; + btllib::SeqWriter *result = 0 ; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderFlag")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderFlag", 0, 0, 0)) SWIG_fail; - result = (btllib::SeqReader::Flag *)new btllib::SeqReader::Flag(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_BUILTIN_INIT | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; + } + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); + } + arg2 = static_cast< btllib::SeqWriter::Format >(val2); + ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeqWriter" "', argument " "3"" of type '" "bool""'"); + } + arg3 = static_cast< bool >(val3); + result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj == Py_None ? -1 : 0; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return -1; } -SWIGINTERN PyObject *_wrap_delete_SeqReaderFlag(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_SeqWriter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader::Flag *arg1 = (btllib::SeqReader::Flag *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + std::string *arg1 = 0 ; + btllib::SeqWriter::Format arg2 ; + int res1 = SWIG_OLDOBJ ; + int val2 ; + int ecode2 = 0 ; + btllib::SeqWriter *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderFlag", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderFlag" "', argument " "1"" of type '" "btllib::SeqReader::Flag *""'"); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::SeqReader::Flag * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderFlag) /* defines _wrap_delete_SeqReaderFlag_destructor_closure */ - -SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - size_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; - - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeqReaderRecord_num_set" "', argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SeqWriter" "', argument " "2"" of type '" "btllib::SeqWriter::Format""'"); } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->num = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; + arg2 = static_cast< btllib::SeqWriter::Format >(val2); + result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_get(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_SeqWriter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + btllib::SeqWriter *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_num_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_num_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeqWriter" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = ((arg1)->num); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; + result = (btllib::SeqWriter *)new btllib::SeqWriter((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + if (SWIG_IsNewObj(res1)) delete arg1; + return -1; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; +SWIGINTERN int _wrap_new_SeqWriter(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqWriter")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqWriter", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int retval = _wrap_new_SeqWriter__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + if (argc == 2) { + int retval = _wrap_new_SeqWriter__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - if (arg1) (arg1)->id = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + if (argc == 3) { + int retval = _wrap_new_SeqWriter__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeqWriter'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format,bool)\n" + " btllib::SeqWriter::SeqWriter(std::string const &,btllib::SeqWriter::Format)\n" + " btllib::SeqWriter::SeqWriter(std::string const &)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqWriter_close(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::string *result = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_id_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqWriter_close", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_id_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_close" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->id); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + (arg1)->close(); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; std::string *arg2 = 0 ; + std::string *arg3 = 0 ; + std::string *arg4 = 0 ; + std::string *arg5 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + int res3 = SWIG_OLDOBJ ; + int res4 = SWIG_OLDOBJ ; + int res5 = SWIG_OLDOBJ ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_comment_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - if (arg1) (arg1)->comment = *arg2; + { + std::string *ptr = (std::string *)0; + res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + arg3 = ptr; + } + { + std::string *ptr = (std::string *)0; + res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + arg4 = ptr; + } + { + std::string *ptr = (std::string *)0; + res5 = SWIG_AsPtr_std_string(swig_obj[4], &ptr); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "5"" of type '" "std::string const &""'"); + } + arg5 = ptr; + } + (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4,(std::string const &)*arg5); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res5)) delete arg5; return resultobj; fail: if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; + if (SWIG_IsNewObj(res5)) delete arg5; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_comment_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_comment_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->comment); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; std::string *arg2 = 0 ; + std::string *arg3 = 0 ; + std::string *arg4 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + int res3 = SWIG_OLDOBJ ; + int res4 = SWIG_OLDOBJ ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter_write" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); { std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_seq_set" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - if (arg1) (arg1)->seq = *arg2; + { + std::string *ptr = (std::string *)0; + res3 = SWIG_AsPtr_std_string(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "3"" of type '" "std::string const &""'"); + } + arg3 = ptr; + } + { + std::string *ptr = (std::string *)0; + res4 = SWIG_AsPtr_std_string(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqWriter_write" "', argument " "4"" of type '" "std::string const &""'"); + } + arg4 = ptr; + } + (arg1)->write((std::string const &)*arg2,(std::string const &)*arg3,(std::string const &)*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res3)) delete arg3; + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; +SWIGINTERN PyObject *_wrap_SeqWriter_write(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[6] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_seq_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_seq_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "SeqWriter_write", 0, 5, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 4) { + PyObject *retobj = _wrap_SeqWriter_write__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->seq); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; + if (argc == 5) { + PyObject *retobj = _wrap_SeqWriter_write__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeqWriter_write'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &,std::string const &)\n" + " btllib::SeqWriter::write(std::string const &,std::string const &,std::string const &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqWriter___enter__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - std::string *arg2 = 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + PyObject *swig_obj[1] ; + btllib::SeqWriter *result = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqWriter___enter__", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_set" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); - } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeqReaderRecord_qual_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___enter__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - if (arg1) (arg1)->qual = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + result = (btllib::SeqWriter *)btllib_SeqWriter___enter__(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeqWriter___exit__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; + PyObject *arg2 = (PyObject *) 0 ; + PyObject *arg3 = (PyObject *) 0 ; + PyObject *arg4 = (PyObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - std::string *result = 0 ; + PyObject *swig_obj[4] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_qual_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "SeqWriter___exit__", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord_qual_get" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqWriter___exit__" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (std::string *) & ((arg1)->qual); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + arg2 = swig_obj[0]; + arg3 = swig_obj[1]; + arg4 = swig_obj[2]; + btllib_SeqWriter___exit__(arg1,arg2,arg3,arg4); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeqReaderRecord___nonzero__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_SeqWriter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; + btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord___nonzero__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_SeqWriter", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecord___nonzero__" "', argument " "1"" of type '" "btllib::SeqReader::Record const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqWriter" "', argument " "1"" of type '" "btllib::SeqWriter *""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - result = (bool)((btllib::SeqReader::Record const *)arg1)->operator bool(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::SeqWriter * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: - PyErr_Clear(); - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; + return NULL; } -SWIGINTERN int _wrap_new_SeqReaderRecord(PyObject *self, PyObject *args, PyObject *kwargs) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *result = 0 ; - - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderRecord")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderRecord", 0, 0, 0)) SWIG_fail; - result = (btllib::SeqReader::Record *)new btllib::SeqReader::Record(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqWriter) /* defines _wrap_delete_SeqWriter_destructor_closure */ + +SWIGINTERN int Swig_var_COMPLEMENTS_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable COMPLEMENTS is read-only."); + return 1; } -SWIGINTERN PyObject *_wrap_delete_SeqReaderRecord(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN PyObject *Swig_var_COMPLEMENTS_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecord", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecord" "', argument " "1"" of type '" "btllib::SeqReader::Record *""'"); + { + size_t size = SWIG_strnlen(btllib::COMPLEMENTS, 256); + + + + pyobj = SWIG_FromCharPtrAndSize(btllib::COMPLEMENTS, size); } - arg1 = reinterpret_cast< btllib::SeqReader::Record * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + return pyobj; } -SWIGPY_INQUIRY_CLOSURE(_wrap_SeqReaderRecord___nonzero__) /* defines _wrap_SeqReaderRecord___nonzero___inquiry_closure */ +SWIGINTERN int Swig_var_CAPITALS_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable CAPITALS is read-only."); + return 1; +} -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecord) /* defines _wrap_delete_SeqReaderRecord_destructor_closure */ -SWIGINTERN PyObject *_wrap_SeqReaderRecordIterator___next__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *Swig_var_CAPITALS_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + { + size_t size = SWIG_strnlen(btllib::CAPITALS, 256); + + + + pyobj = SWIG_FromCharPtrAndSize(btllib::CAPITALS, size); + } + return pyobj; +} + + +SWIGINTERN PyObject *_wrap_reverse_complement(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; + std::string *arg1 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - btllib::SeqReader::Record result; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecordIterator___next__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeqReaderRecordIterator___next__" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); } - arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); - { - result = (arg1)->next(); - if (!bool(result)) { - PyErr_SetNone(PyExc_StopIteration); - SWIG_fail; - } + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); } - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(result)), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); + arg1 = reinterpret_cast< std::string * >(argp1); + btllib::reverse_complement(*arg1); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_delete_SeqReaderRecordIterator(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_get_reverse_complement(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + std::string result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecordIterator", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeqReaderRecordIterator" "', argument " "1"" of type '" "btllib::SeqReader::RecordIterator *""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::SeqReader::RecordIterator * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + result = btllib::get_reverse_complement((std::string const &)*arg1); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGPY_ITERNEXTFUNC_CLOSURE(_wrap_SeqReaderRecordIterator___next__) /* defines _wrap_SeqReaderRecordIterator___next___iternextfunc_closure */ +SWIGINTERN int Swig_var_CP_OFF_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable CP_OFF is read-only."); + return 1; +} -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeqReaderRecordIterator) /* defines _wrap_delete_SeqReaderRecordIterator_destructor_closure */ -SWIGINTERN PyObject *_wrap_Indexlr_output_id(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN PyObject *Swig_var_CP_OFF_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_id", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_id" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->output_id(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(btllib::CP_OFF)); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_output_bx(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_bx", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_bx" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->output_bx(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; +SWIGINTERN int Swig_var_MULTISHIFT_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MULTISHIFT is read-only."); + return 1; } -SWIGINTERN PyObject *_wrap_Indexlr_output_seq(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN PyObject *Swig_var_MULTISHIFT_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_seq", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_seq" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->output_seq(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_int(static_cast< int >(btllib::MULTISHIFT)); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_output_qual(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_MULTISEED_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MULTISEED is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MULTISEED_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_qual", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_qual" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->output_qual(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::MULTISEED)); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_filter_in(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_SEED_A_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_A is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_A_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_in", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_in" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->filter_in(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_A)); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_filter_out(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_SEED_C_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_C is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_C_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_out", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_filter_out" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->filter_out(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_C)); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_short_mode(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_SEED_G_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_G is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_G_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_short_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_short_mode" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->short_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_G)); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_long_mode(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_SEED_T_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_T is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_T_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_long_mode", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_long_mode" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (bool)((btllib::Indexlr const *)arg1)->long_mode(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_T)); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_read(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - btllib::Indexlr::Record result; +SWIGINTERN int Swig_var_SEED_N_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_N is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_N_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_read", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_read" "', argument " "1"" of type '" "btllib::Indexlr *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (arg1)->read(); - resultobj = SWIG_NewPointerObj((new btllib::Indexlr::Record(result)), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_N)); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - bool arg6 ; - btllib::BloomFilter *arg7 = 0 ; - btllib::BloomFilter *arg8 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - bool val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int Swig_var_ASCII_SIZE_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable ASCII_SIZE is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_ASCII_SIZE_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); - } - arg6 = static_cast< bool >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); - } - arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7,(btllib::BloomFilter const &)*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_From_int(static_cast< int >(btllib::ASCII_SIZE)); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - bool arg6 ; - btllib::BloomFilter *arg7 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - bool val6 ; - int ecode6 = 0 ; - void *argp7 = 0 ; - int res7 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int Swig_var_SEED_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable SEED_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_SEED_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); - } - arg6 = static_cast< bool >(val6); - res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res7)) { - SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "7"" of type '" "btllib::BloomFilter const &""'"); - } - arg7 = reinterpret_cast< btllib::BloomFilter * >(argp7); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,(btllib::BloomFilter const &)*arg7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::SEED_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - bool arg6 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - bool val6 ; - int ecode6 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int Swig_var_A33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable A33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_A33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "bool""'"); - } - arg6 = static_cast< bool >(val6); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - unsigned int arg5 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - btllib::Indexlr *result = 0 ; - - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; +SWIGINTERN int Swig_var_A31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable A31L is read-only."); + return 1; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - unsigned int arg4 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN PyObject *Swig_var_A31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int Swig_var_C33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable C33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_C33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - bool arg7 ; - btllib::BloomFilter *arg8 = 0 ; - btllib::BloomFilter *arg9 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - bool val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - void *argp9 = 0 ; - int res9 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int Swig_var_C31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable C31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_C31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 9) || (nobjs > 9)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); - } - arg7 = static_cast< bool >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); - res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res9)) { - SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp9) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); - } - arg9 = reinterpret_cast< btllib::BloomFilter * >(argp9); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8,(btllib::BloomFilter const &)*arg9); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_7(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - bool arg7 ; - btllib::BloomFilter *arg8 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - bool val7 ; - int ecode7 = 0 ; - void *argp8 = 0 ; - int res8 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int Swig_var_G33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable G33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_G33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); - } - arg7 = static_cast< bool >(val7); - res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); - if (!SWIG_IsOK(res8)) { - SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); - } - arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_8(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - bool arg7 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - bool val7 ; - int ecode7 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int Swig_var_G31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable G31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_G31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); - if (!SWIG_IsOK(ecode7)) { - SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); - } - arg7 = static_cast< bool >(val7); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,arg7); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_9(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - unsigned int arg6 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - unsigned int val6 ; - int ecode6 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int Swig_var_T33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable T33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_T33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); - if (!SWIG_IsOK(ecode6)) { - SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); - } - arg6 = static_cast< unsigned int >(val6); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_10(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - unsigned int arg5 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - unsigned int val5 ; - int ecode5 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int Swig_var_T31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable T31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_T31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); - } - arg5 = static_cast< unsigned int >(val5); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr__SWIG_11(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string arg1 ; - size_t arg2 ; - size_t arg3 ; - size_t arg4 ; - size_t val2 ; - int ecode2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int Swig_var_N33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable N33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_N33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); - } - arg2 = static_cast< size_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::N33R), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN int _wrap_new_Indexlr(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[10] = { - 0 - }; +SWIGINTERN int Swig_var_N31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable N31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_N31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Indexlr")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_Indexlr", 0, 9, argv))) SWIG_fail; - --argc; - if (argc == 3) { - int retval = _wrap_new_Indexlr__SWIG_5(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 4) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_2; - return _wrap_new_Indexlr__SWIG_4(self, argc, argv); - } -check_2: - - if (argc == 4) { - int retval = _wrap_new_Indexlr__SWIG_11(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 5) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_4; - int retval = _wrap_new_Indexlr__SWIG_3(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } -check_4: - - if (argc == 5) { - int retval = _wrap_new_Indexlr__SWIG_10(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 6) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_6; - { - { - int res = SWIG_AsVal_bool(argv[5], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_6; - return _wrap_new_Indexlr__SWIG_2(self, argc, argv); - } -check_6: - - if (argc == 6) { - int retval = _wrap_new_Indexlr__SWIG_9(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 7) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_8; - { - { - int res = SWIG_AsVal_bool(argv[5], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_8; - { - int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_8; - return _wrap_new_Indexlr__SWIG_1(self, argc, argv); - } -check_8: + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::N31L), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_MS_TAB_33R_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MS_TAB_33R is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MS_TAB_33R_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; - if (argc == 7) { - int retval = _wrap_new_Indexlr__SWIG_8(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 8) { - int _v = 0; - { - { - int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_10; - { - { - int res = SWIG_AsVal_bool(argv[5], NULL); - _v = SWIG_CheckState(res); - } - } - if (!_v) goto check_10; - { - int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_10; - int retval = _wrap_new_Indexlr__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } -check_10: + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::MS_TAB_33R), SWIGTYPE_p_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_MS_TAB_31L_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable MS_TAB_31L is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_MS_TAB_31L_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; - if (argc == 8) { - int retval = _wrap_new_Indexlr__SWIG_7(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 9) { - int retval = _wrap_new_Indexlr__SWIG_6(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::MS_TAB_31L), SWIGTYPE_p_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN int Swig_var_CONVERT_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable CONVERT_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_CONVERT_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Indexlr'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t)\n"); - return -1; + (void)self; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::CONVERT_TAB), SWIGTYPE_p_unsigned_char, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_delete_Indexlr(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_RC_CONVERT_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable RC_CONVERT_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_RC_CONVERT_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_Indexlr", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Indexlr" "', argument " "1"" of type '" "btllib::Indexlr *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::RC_CONVERT_TAB), SWIGTYPE_p_unsigned_char, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr_close(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; +SWIGINTERN int Swig_var_DIMER_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable DIMER_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_DIMER_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr_close", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_close" "', argument " "1"" of type '" "btllib::Indexlr *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - (arg1)->close(); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::DIMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr___iter__(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - SwigValueWrapper< btllib::Indexlr::RecordIterator > result; +SWIGINTERN int Swig_var_TRIMER_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable TRIMER_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_TRIMER_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr___iter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___iter__" "', argument " "1"" of type '" "btllib::Indexlr *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj((new btllib::Indexlr::RecordIterator(result)), SWIGTYPE_p_btllib__Indexlr__RecordIterator, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::TRIMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; } -SWIGINTERN PyObject *_wrap_Indexlr___enter__(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - btllib::Indexlr *result = 0 ; +SWIGINTERN int Swig_var_TETRAMER_TAB_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable TETRAMER_TAB is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_TETRAMER_TAB_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr___enter__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___enter__" "', argument " "1"" of type '" "btllib::Indexlr *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - result = (btllib::Indexlr *)btllib_Indexlr___enter__(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::TETRAMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); + return pyobj; +} + + +SWIGINTERN PyObject *_wrap_srol__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + uint64_t arg1 ; + uint64_t val1 ; + int ecode1 = 0 ; + uint64_t result; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "srol" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + result = (uint64_t)btllib::srol(arg1); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Indexlr___exit__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_srol__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; - PyObject *arg2 = (PyObject *) 0 ; - PyObject *arg3 = (PyObject *) 0 ; - PyObject *arg4 = (PyObject *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[4] ; + uint64_t arg1 ; + unsigned int arg2 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Indexlr___exit__", 3, 3, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr___exit__" "', argument " "1"" of type '" "btllib::Indexlr *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); - arg2 = swig_obj[0]; - arg3 = swig_obj[1]; - arg4 = swig_obj[2]; - btllib_Indexlr___exit__(arg1,arg2,arg3,arg4); - resultobj = SWIG_Py_Void(); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "srol" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "srol" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (uint64_t)btllib::srol(arg1,arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Indexlr) /* defines _wrap_delete_Indexlr_destructor_closure */ +SWIGINTERN PyObject *_wrap_srol(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "srol", 0, 2, argv))) SWIG_fail; + --argc; + if (argc == 1) { + PyObject *retobj = _wrap_srol__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 2) { + PyObject *retobj = _wrap_srol__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'srol'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::srol(uint64_t const)\n" + " btllib::srol(uint64_t const,unsigned int const)\n"); + return 0; +} -SWIGPY_GETITERFUNC_CLOSURE(_wrap_Indexlr___iter__) /* defines _wrap_Indexlr___iter___getiterfunc_closure */ -SWIGINTERN int _wrap_new_IndexlrFlag(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_sror(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Flag *result = 0 ; + uint64_t arg1 ; + uint64_t val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrFlag")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_IndexlrFlag", 0, 0, 0)) SWIG_fail; - result = (btllib::Indexlr::Flag *)new btllib::Indexlr::Flag(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Flag, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "sror" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + result = (uint64_t)btllib::sror(arg1); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_delete_IndexlrFlag(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntf64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Flag *arg1 = (btllib::Indexlr::Flag *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrFlag", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Flag, SWIG_POINTER_DISOWN | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrFlag" "', argument " "1"" of type '" "btllib::Indexlr::Flag *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntf64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Flag * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (uint64_t)btllib::ntf64((char const *)arg1,arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrFlag) /* defines _wrap_delete_IndexlrFlag_destructor_closure */ - -SWIGINTERN int _wrap_new_Minimizer__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_ntr64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *result = 0 ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + uint64_t result; - (void)self; - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::Indexlr::Minimizer *)new btllib::Indexlr::Minimizer(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntr64" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + result = (uint64_t)btllib::ntr64((char const *)arg1,arg2); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return resultobj; fail: - return -1; + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + return NULL; } -SWIGINTERN int _wrap_new_Minimizer__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntf64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; uint64_t arg1 ; - uint64_t arg2 ; - size_t arg3 ; - bool arg4 ; - std::string arg5 ; + unsigned int arg2 ; + unsigned char arg3 ; + unsigned char arg4 ; uint64_t val1 ; int ecode1 = 0 ; - uint64_t val2 ; + unsigned int val2 ; int ecode2 = 0 ; - size_t val3 ; + unsigned char val3 ; int ecode3 = 0 ; - bool val4 ; + unsigned char val4 ; int ecode4 = 0 ; - btllib::Indexlr::Minimizer *result = 0 ; + uint64_t result; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntf64" "', argument " "1"" of type '" "uint64_t""'"); } arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< uint64_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntf64" "', argument " "3"" of type '" "unsigned char""'"); } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); + arg3 = static_cast< unsigned char >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntf64" "', argument " "4"" of type '" "unsigned char""'"); } - arg4 = static_cast< bool >(val4); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); - } - arg5 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + arg4 = static_cast< unsigned char >(val4); + result = (uint64_t)btllib::ntf64(arg1,arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_ntf64(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[5] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "ntf64", 0, 4, argv))) SWIG_fail; + --argc; + if (argc == 2) { + PyObject *retobj = _wrap_ntf64__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - result = (btllib::Indexlr::Minimizer *)new btllib::Indexlr::Minimizer(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + if (argc == 4) { + PyObject *retobj = _wrap_ntf64__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return -1; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntf64'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::ntf64(char const *,unsigned int)\n" + " btllib::ntf64(uint64_t,unsigned int,unsigned char,unsigned char)\n"); + return 0; } -SWIGINTERN int _wrap_new_Minimizer__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntr64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; uint64_t arg1 ; - uint64_t arg2 ; - size_t arg3 ; - bool arg4 ; - std::string arg5 ; - std::string arg6 ; + unsigned int arg2 ; + unsigned char arg3 ; + unsigned char arg4 ; uint64_t val1 ; int ecode1 = 0 ; - uint64_t val2 ; + unsigned int val2 ; int ecode2 = 0 ; - size_t val3 ; + unsigned char val3 ; int ecode3 = 0 ; - bool val4 ; + unsigned char val4 ; int ecode4 = 0 ; - btllib::Indexlr::Minimizer *result = 0 ; + uint64_t result; - (void)self; - if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntr64" "', argument " "1"" of type '" "uint64_t""'"); } arg1 = static_cast< uint64_t >(val1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< uint64_t >(val2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntr64" "', argument " "3"" of type '" "unsigned char""'"); } - arg3 = static_cast< size_t >(val3); - ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); + arg3 = static_cast< unsigned char >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); - } - arg4 = static_cast< bool >(val4); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); - } - arg5 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[5], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "6"" of type '" "std::string""'"); - } - arg6 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - result = (btllib::Indexlr::Minimizer *)new btllib::Indexlr::Minimizer(arg1,arg2,arg3,arg4,arg5,arg6); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntr64" "', argument " "4"" of type '" "unsigned char""'"); + } + arg4 = static_cast< unsigned char >(val4); + result = (uint64_t)btllib::ntr64(arg1,arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN int _wrap_new_Minimizer(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_ntr64(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[7] = { + PyObject *argv[5] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Minimizer")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_Minimizer", 0, 6, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "ntr64", 0, 4, argv))) SWIG_fail; --argc; - if (argc == 0) { - int retval = _wrap_new_Minimizer__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 5) { - int retval = _wrap_new_Minimizer__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (argc == 2) { + PyObject *retobj = _wrap_ntr64__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } - if (argc == 6) { - int retval = _wrap_new_Minimizer__SWIG_2(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + if (argc == 4) { + PyObject *retobj = _wrap_ntr64__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Minimizer'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntr64'.\n" " Possible C/C++ prototypes are:\n" - " btllib::Indexlr::Minimizer::Minimizer()\n" - " btllib::Indexlr::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string)\n" - " btllib::Indexlr::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string,std::string)\n"); - return -1; + " btllib::ntr64(char const *,unsigned int)\n" + " btllib::ntr64(uint64_t,unsigned int,unsigned char,unsigned char)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_Minimizer_min_hash_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - uint64_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t val2 ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; int ecode2 = 0 ; - PyObject *swig_obj[2] ; + uint64_t result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_min_hash_set" "', argument " "2"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< uint64_t >(val2); - if (arg1) (arg1)->min_hash = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Minimizer_min_hash_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_min_hash_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_min_hash_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = (uint64_t) ((arg1)->min_hash); + arg2 = static_cast< unsigned int >(val2); + result = (uint64_t)btllib::ntc64((char const *)arg1,arg2); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_out_hash_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - uint64_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t val2 ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + uint64_t *arg3 = 0 ; + uint64_t *arg4 = 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; int ecode2 = 0 ; - PyObject *swig_obj[2] ; + void *argp3 = 0 ; + int res3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + uint64_t result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val2); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_out_hash_set" "', argument " "2"" of type '" "uint64_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< uint64_t >(val2); - if (arg1) (arg1)->out_hash = arg2; - resultobj = SWIG_Py_Void(); + arg2 = static_cast< unsigned int >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + arg3 = reinterpret_cast< uint64_t * >(argp3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + result = (uint64_t)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_out_hash_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + unsigned char arg1 ; + unsigned char arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + unsigned char val1 ; + int ecode1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_out_hash_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_out_hash_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntc64" "', argument " "1"" of type '" "unsigned char""'"); + } + arg1 = static_cast< unsigned char >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = static_cast< unsigned char >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = (uint64_t) ((arg1)->out_hash); + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + result = (uint64_t)btllib::ntc64(arg1,arg2,arg3,*arg4,*arg5); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -34014,383 +31802,461 @@ SWIGINTERN PyObject *_wrap_Minimizer_out_hash_get(PyObject *self, PyObject *args } -SWIGINTERN PyObject *_wrap_Minimizer_pos_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntf64l(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - size_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t val2 ; + uint64_t arg1 ; + unsigned int arg2 ; + unsigned char arg3 ; + unsigned char arg4 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; int ecode2 = 0 ; - PyObject *swig_obj[2] ; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char val4 ; + int ecode4 = 0 ; + PyObject *swig_obj[4] ; + uint64_t result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_Python_UnpackTuple(args, "ntf64l", 4, 4, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntf64l" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_pos_set" "', argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntf64l" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->pos = arg2; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Minimizer_pos_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_pos_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_pos_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = ((arg1)->pos); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntf64l" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntf64l" "', argument " "4"" of type '" "unsigned char""'"); + } + arg4 = static_cast< unsigned char >(val4); + result = (uint64_t)btllib::ntf64l(arg1,arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_forward_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntr64l(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - bool arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool val2 ; + uint64_t arg1 ; + unsigned int arg2 ; + unsigned char arg3 ; + unsigned char arg4 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; int ecode2 = 0 ; - PyObject *swig_obj[2] ; + unsigned char val3 ; + int ecode3 = 0 ; + unsigned char val4 ; + int ecode4 = 0 ; + PyObject *swig_obj[4] ; + uint64_t result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - ecode2 = SWIG_AsVal_bool(swig_obj[0], &val2); + if (!SWIG_Python_UnpackTuple(args, "ntr64l", 4, 4, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntr64l" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Minimizer_forward_set" "', argument " "2"" of type '" "bool""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntr64l" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< bool >(val2); - if (arg1) (arg1)->forward = arg2; - resultobj = SWIG_Py_Void(); + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_char(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntr64l" "', argument " "3"" of type '" "unsigned char""'"); + } + arg3 = static_cast< unsigned char >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_char(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntr64l" "', argument " "4"" of type '" "unsigned char""'"); + } + arg4 = static_cast< unsigned char >(val4); + result = (uint64_t)btllib::ntr64l(arg1,arg2,arg3,arg4); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_forward_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntc64l(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; + unsigned char arg1 ; + unsigned char arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + unsigned char val1 ; + int ecode1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + PyObject *swig_obj[5] ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_forward_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_forward_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + if (!SWIG_Python_UnpackTuple(args, "ntc64l", 5, 5, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntc64l" "', argument " "1"" of type '" "unsigned char""'"); + } + arg1 = static_cast< unsigned char >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64l" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = static_cast< unsigned char >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntc64l" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64l" "', argument " "4"" of type '" "uint64_t &""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = (bool) ((arg1)->forward); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Minimizer_seq_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; - - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64l" "', argument " "4"" of type '" "uint64_t &""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_seq_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64l" "', argument " "5"" of type '" "uint64_t &""'"); } - if (arg1) (arg1)->seq = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_Minimizer_seq_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_seq_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_seq_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64l" "', argument " "5"" of type '" "uint64_t &""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = (std::string *) & ((arg1)->seq); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg5 = reinterpret_cast< uint64_t * >(argp5); + result = (uint64_t)btllib::ntc64l(arg1,arg2,arg3,*arg4,*arg5); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_qual_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_nte64(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + uint64_t arg1 ; + unsigned int arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = (uint64_t *) 0 ; + uint64_t val1 ; + int ecode1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + PyObject *swig_obj[4] ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + if (!SWIG_Python_UnpackTuple(args, "nte64", 4, 4, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "nte64" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "nte64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "nte64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "nte64" "', argument " "4"" of type '" "uint64_t *""'"); } - if (arg1) (arg1)->qual = *arg2; + arg4 = reinterpret_cast< uint64_t * >(argp4); + btllib::nte64(arg1,arg2,arg3,arg4); resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_Minimizer_qual_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Minimizer_qual_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - result = (std::string *) & ((arg1)->qual); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t *""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + btllib::ntmc64((char const *)arg1,arg2,arg3,arg4); + resultobj = SWIG_Py_Void(); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_delete_Minimizer(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + uint64_t *arg6 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_Minimizer", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_DISOWN | 0 ); + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Minimizer" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); - delete arg1; + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t *""'"); + } + arg6 = reinterpret_cast< uint64_t * >(argp6); + btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,arg6); resultobj = SWIG_Py_Void(); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Minimizer) /* defines _wrap_delete_Minimizer_destructor_closure */ - -SWIGINTERN int _wrap_new_IndexlrRecord__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::Indexlr::Record *result = 0 ; - - (void)self; - if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; - result = (btllib::Indexlr::Record *)new btllib::Indexlr::Record(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_IndexlrRecord__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - size_t arg1 ; - std::string arg2 ; - std::string arg3 ; - size_t arg4 ; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > arg5 ; - size_t val1 ; + unsigned char arg1 ; + unsigned char arg2 ; + unsigned int arg3 ; + unsigned int arg4 ; + uint64_t *arg5 = 0 ; + uint64_t *arg6 = 0 ; + uint64_t *arg7 = (uint64_t *) 0 ; + unsigned char val1 ; int ecode1 = 0 ; - size_t val4 ; + unsigned char val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; int ecode4 = 0 ; - btllib::Indexlr::Record *result = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; - ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); + if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_IndexlrRecord" "', argument " "1"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64" "', argument " "1"" of type '" "unsigned char""'"); } - arg1 = static_cast< size_t >(val1); - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "2"" of type '" "std::string""'"); - } - arg2 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[2], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "3"" of type '" "std::string""'"); - } - arg3 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + arg1 = static_cast< unsigned char >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = static_cast< unsigned char >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_IndexlrRecord" "', argument " "4"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int""'"); } - arg4 = static_cast< size_t >(val4); - { - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *ptr = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)0; - int res = swig::asptr(swig_obj[4], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_IndexlrRecord" "', argument " "5"" of type '" "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >""'"); - } - arg5 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + arg4 = static_cast< unsigned int >(val4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); } - result = (btllib::Indexlr::Record *)new btllib::Indexlr::Record(arg1,arg2,arg3,arg4,arg5); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_IndexlrRecord(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[6] = { - 0 - }; - - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrRecord")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_IndexlrRecord", 0, 5, argv))) SWIG_fail; - --argc; - if (argc == 0) { - int retval = _wrap_new_IndexlrRecord__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); } - if (argc == 5) { - int retval = _wrap_new_IndexlrRecord__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); } - + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); + } + arg6 = reinterpret_cast< uint64_t * >(argp6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + btllib::ntmc64(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7); + resultobj = SWIG_Py_Void(); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_IndexlrRecord'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::Indexlr::Record::Record()\n" - " btllib::Indexlr::Record::Record(size_t,std::string,std::string,size_t,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >)\n"); - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_num_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmc64l(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - size_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t val2 ; + unsigned char arg1 ; + unsigned char arg2 ; + unsigned int arg3 ; + unsigned int arg4 ; + uint64_t *arg5 = 0 ; + uint64_t *arg6 = 0 ; + uint64_t *arg7 = (uint64_t *) 0 ; + unsigned char val1 ; + int ecode1 = 0 ; + unsigned char val2 ; int ecode2 = 0 ; - PyObject *swig_obj[2] ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + PyObject *swig_obj[7] ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); - } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_Python_UnpackTuple(args, "ntmc64l", 7, 7, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64l" "', argument " "1"" of type '" "unsigned char""'"); + } + arg1 = static_cast< unsigned char >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_num_set" "', argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64l" "', argument " "2"" of type '" "unsigned char""'"); } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->num = arg2; + arg2 = static_cast< unsigned char >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64l" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64l" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64l" "', argument " "5"" of type '" "uint64_t &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64l" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64l" "', argument " "6"" of type '" "uint64_t &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64l" "', argument " "6"" of type '" "uint64_t &""'"); + } + arg6 = reinterpret_cast< uint64_t * >(argp6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64l" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + btllib::ntmc64l(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -34398,225 +32264,499 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_num_set(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_IndexlrRecord_num_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + uint64_t *arg3 = 0 ; + unsigned int *arg4 = 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_num_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_num_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = ((arg1)->num); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + arg3 = reinterpret_cast< uint64_t * >(argp3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "unsigned int &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "unsigned int &""'"); + } + arg4 = reinterpret_cast< unsigned int * >(argp4); + result = (bool)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_id_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + unsigned int *arg4 = 0 ; + uint64_t *arg5 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_id_set" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int &""'"); } - if (arg1) (arg1)->id = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int &""'"); + } + arg4 = reinterpret_cast< unsigned int * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t *""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,arg5); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_id_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + uint64_t *arg3 = 0 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + unsigned int *arg6 = 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_id_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_id_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntc64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = (std::string *) & ((arg1)->id); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "3"" of type '" "uint64_t &""'"); + } + arg3 = reinterpret_cast< uint64_t * >(argp3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + arg6 = reinterpret_cast< unsigned int * >(argp6); + result = (bool)btllib::ntc64((char const *)arg1,arg2,*arg3,*arg4,*arg5,*arg6); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_set(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; +SWIGINTERN PyObject *_wrap_ntc64(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[7] = { + 0 + }; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "ntc64", 0, 6, argv))) SWIG_fail; + --argc; + if (argc == 2) { + PyObject *retobj = _wrap_ntc64__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "IndexlrRecord_barcode_set" "', argument " "2"" of type '" "std::string const &""'"); + if (argc == 4) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); } - arg2 = ptr; + if (!_v) goto check_2; + return _wrap_ntc64__SWIG_1(self, argc, argv); } - if (arg1) (arg1)->barcode = *arg2; - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::string *result = 0 ; +check_2: - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_barcode_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_barcode_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + if (argc == 4) { + PyObject *retobj = _wrap_ntc64__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = (std::string *) & ((arg1)->barcode); - resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); - return resultobj; + if (argc == 5) { + PyObject *retobj = _wrap_ntc64__SWIG_2(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 6) { + PyObject *retobj = _wrap_ntc64__SWIG_4(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntc64'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::ntc64(char const *,unsigned int)\n" + " btllib::ntc64(char const *,unsigned int,uint64_t &,uint64_t &)\n" + " btllib::ntc64(unsigned char,unsigned char,unsigned int,uint64_t &,uint64_t &)\n" + " btllib::ntc64(char const *,unsigned int,uint64_t &,unsigned int &)\n" + " btllib::ntc64(char const *,unsigned int,uint64_t &,uint64_t &,uint64_t &,unsigned int &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - size_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t val2 ; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + unsigned int *arg6 = 0 ; + uint64_t *arg7 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; int ecode2 = 0 ; - PyObject *swig_obj[2] ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "IndexlrRecord_readlen_set" "', argument " "2"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); } - arg2 = static_cast< size_t >(val2); - if (arg1) (arg1)->readlen = arg2; - resultobj = SWIG_Py_Void(); + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + arg6 = reinterpret_cast< unsigned int * >(argp6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,*arg6,arg7); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_get(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; + char *arg1 = (char *) 0 ; + unsigned int arg2 ; + unsigned int arg3 ; + uint64_t *arg4 = 0 ; + uint64_t *arg5 = 0 ; + unsigned int *arg6 = 0 ; + uint64_t *arg7 = (uint64_t *) 0 ; + bool *arg8 = 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_readlen_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_readlen_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmc64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = ((arg1)->readlen); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "4"" of type '" "uint64_t &""'"); + } + arg4 = reinterpret_cast< uint64_t * >(argp4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); + } + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "unsigned int &""'"); + } + arg6 = reinterpret_cast< unsigned int * >(argp6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_bool, 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + } + arg8 = reinterpret_cast< bool * >(argp8); + result = (bool)btllib::ntmc64((char const *)arg1,arg2,arg3,*arg4,*arg5,*arg6,arg7,*arg8); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; return NULL; } -SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_set(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmc64__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *arg2 = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - PyObject *swig_obj[2] ; + unsigned char arg1 ; + unsigned char arg2 ; + unsigned int arg3 ; + unsigned int arg4 ; + uint64_t *arg5 = 0 ; + uint64_t *arg6 = 0 ; + uint64_t *arg7 = (uint64_t *) 0 ; + bool *arg8 = 0 ; + unsigned char val1 ; + int ecode1 = 0 ; + unsigned char val2 ; + int ecode2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + void *argp5 = 0 ; + int res5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_set" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ntmc64" "', argument " "1"" of type '" "unsigned char""'"); + } + arg1 = static_cast< unsigned char >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmc64" "', argument " "2"" of type '" "unsigned char""'"); + } + arg2 = static_cast< unsigned char >(val2); + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ntmc64" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmc64" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "IndexlrRecord_minimizers_set" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *""'"); + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "5"" of type '" "uint64_t &""'"); } - arg2 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > * >(argp2); - if (arg1) (arg1)->minimizers = *arg2; + arg5 = reinterpret_cast< uint64_t * >(argp5); + res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "6"" of type '" "uint64_t &""'"); + } + arg6 = reinterpret_cast< uint64_t * >(argp6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmc64" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_bool, 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmc64" "', argument " "8"" of type '" "bool &""'"); + } + arg8 = reinterpret_cast< bool * >(argp8); + btllib::ntmc64(arg1,arg2,arg3,arg4,*arg5,*arg6,arg7,*arg8); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -34624,548 +32764,990 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_set(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_get(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *result = 0 ; +SWIGINTERN PyObject *_wrap_ntmc64(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[9] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_minimizers_get", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord_minimizers_get" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + if (!(argc = SWIG_Python_UnpackTuple(args, "ntmc64", 0, 8, argv))) SWIG_fail; + --argc; + if (argc == 4) { + PyObject *retobj = _wrap_ntmc64__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 5) { + PyObject *retobj = _wrap_ntmc64__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 6) { + PyObject *retobj = _wrap_ntmc64__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 7) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_char(argv[0], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_4; + { + { + int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_4; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_4; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_4; + PyObject *retobj = _wrap_ntmc64__SWIG_2(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } +check_4: + + if (argc == 7) { + PyObject *retobj = _wrap_ntmc64__SWIG_4(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 8) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_char(argv[0], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + { + { + int res = SWIG_AsVal_unsigned_SS_char(argv[1], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[5], &vptr, SWIGTYPE_p_unsigned_long_long, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_6; + PyObject *retobj = _wrap_ntmc64__SWIG_6(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)& ((arg1)->minimizers); +check_6: - resultobj = PyList_New(result->size()); - for (unsigned i = 0; i < result->size(); ++i) { - PyObject *item = SWIG_NewPointerObj(new btllib::Indexlr::Minimizer((*(result))[i]), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_OWN); - PyList_SetItem(resultobj, i, item); + if (argc == 8) { + PyObject *retobj = _wrap_ntmc64__SWIG_5(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - return resultobj; fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmc64'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t *)\n" + " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *)\n" + " btllib::ntmc64(unsigned char,unsigned char,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *)\n" + " btllib::ntmc64(char const *,unsigned int,unsigned int,unsigned int &,uint64_t *)\n" + " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,unsigned int &,uint64_t *)\n" + " btllib::ntmc64(char const *,unsigned int,unsigned int,uint64_t &,uint64_t &,unsigned int &,uint64_t *,bool &)\n" + " btllib::ntmc64(unsigned char,unsigned char,unsigned int,unsigned int,uint64_t &,uint64_t &,uint64_t *,bool &)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_IndexlrRecord___nonzero__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_mask_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; + uint64_t *arg1 = 0 ; + uint64_t *arg2 = 0 ; + char *arg3 = (char *) 0 ; + char *arg4 = (char *) 0 ; + unsigned int arg5 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; + void *argp2 = 0 ; + int res2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + int res4 ; + char *buf4 = 0 ; + int alloc4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + PyObject *swig_obj[5] ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord___nonzero__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "mask_hash", 5, 5, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_unsigned_long_long, 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecord___nonzero__" "', argument " "1"" of type '" "btllib::Indexlr::Record const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mask_hash" "', argument " "1"" of type '" "uint64_t &""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - result = (bool)((btllib::Indexlr::Record const *)arg1)->operator bool(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - PyErr_Clear(); - Py_INCREF(Py_NotImplemented); - return Py_NotImplemented; -} - - -SWIGINTERN PyObject *_wrap_delete_IndexlrRecord(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecord", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrRecord" "', argument " "1"" of type '" "btllib::Indexlr::Record *""'"); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mask_hash" "', argument " "1"" of type '" "uint64_t &""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::Record * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGPY_INQUIRY_CLOSURE(_wrap_IndexlrRecord___nonzero__) /* defines _wrap_IndexlrRecord___nonzero___inquiry_closure */ - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrRecord) /* defines _wrap_delete_IndexlrRecord_destructor_closure */ - -SWIGINTERN PyObject *_wrap_IndexlrRecordIterator___next__(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::RecordIterator *arg1 = (btllib::Indexlr::RecordIterator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - btllib::Indexlr::Record result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "IndexlrRecordIterator___next__", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__RecordIterator, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "IndexlrRecordIterator___next__" "', argument " "1"" of type '" "btllib::Indexlr::RecordIterator *""'"); + arg1 = reinterpret_cast< uint64_t * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_unsigned_long_long, 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mask_hash" "', argument " "2"" of type '" "uint64_t &""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::RecordIterator * >(argp1); - { - result = (arg1)->next(); - if (!bool(result)) { - PyErr_SetNone(PyExc_StopIteration); - SWIG_fail; - } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mask_hash" "', argument " "2"" of type '" "uint64_t &""'"); } - resultobj = SWIG_NewPointerObj((new btllib::Indexlr::Record(result)), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_delete_IndexlrRecordIterator(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::Indexlr::RecordIterator *arg1 = (btllib::Indexlr::RecordIterator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecordIterator", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__RecordIterator, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_IndexlrRecordIterator" "', argument " "1"" of type '" "btllib::Indexlr::RecordIterator *""'"); + arg2 = reinterpret_cast< uint64_t * >(argp2); + res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mask_hash" "', argument " "3"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::Indexlr::RecordIterator * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg3 = reinterpret_cast< char * >(buf3); + res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "mask_hash" "', argument " "4"" of type '" "char const *""'"); + } + arg4 = reinterpret_cast< char * >(buf4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mask_hash" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + result = (uint64_t)btllib::mask_hash(*arg1,*arg2,(char const *)arg3,(char const *)arg4,arg5); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return resultobj; fail: + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (alloc4 == SWIG_NEWOBJ) delete[] buf4; return NULL; } -SWIGPY_ITERNEXTFUNC_CLOSURE(_wrap_IndexlrRecordIterator___next__) /* defines _wrap_IndexlrRecordIterator___next___iternextfunc_closure */ - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_IndexlrRecordIterator) /* defines _wrap_delete_IndexlrRecordIterator_destructor_closure */ - -SWIGINTERN int _wrap_new_RandomSequenceGenerator__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_sub_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::RandomSequenceGenerator::SequenceType arg1 ; - btllib::RandomSequenceGenerator::Masking arg2 ; - int val1 ; + uint64_t arg1 ; + uint64_t arg2 ; + char *arg3 = (char *) 0 ; + std::vector< unsigned int,std::allocator< unsigned int > > *arg4 = 0 ; + std::vector< unsigned char,std::allocator< unsigned char > > *arg5 = 0 ; + unsigned int arg6 ; + unsigned int arg7 ; + uint64_t *arg8 = (uint64_t *) 0 ; + uint64_t val1 ; int ecode1 = 0 ; - int val2 ; + uint64_t val2 ; int ecode2 = 0 ; - btllib::RandomSequenceGenerator *result = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + int res4 = SWIG_OLDOBJ ; + void *argp5 = 0 ; + int res5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + unsigned int val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + PyObject *swig_obj[8] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_Python_UnpackTuple(args, "sub_hash", 8, 8, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RandomSequenceGenerator" "', argument " "1"" of type '" "btllib::RandomSequenceGenerator::SequenceType""'"); + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "sub_hash" "', argument " "1"" of type '" "uint64_t""'"); } - arg1 = static_cast< btllib::RandomSequenceGenerator::SequenceType >(val1); - ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RandomSequenceGenerator" "', argument " "2"" of type '" "btllib::RandomSequenceGenerator::Masking""'"); - } - arg2 = static_cast< btllib::RandomSequenceGenerator::Masking >(val2); - result = (btllib::RandomSequenceGenerator *)new btllib::RandomSequenceGenerator(arg1,arg2); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__RandomSequenceGenerator, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_RandomSequenceGenerator__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::RandomSequenceGenerator::SequenceType arg1 ; - int val1 ; - int ecode1 = 0 ; - btllib::RandomSequenceGenerator *result = 0 ; - - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RandomSequenceGenerator" "', argument " "1"" of type '" "btllib::RandomSequenceGenerator::SequenceType""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "sub_hash" "', argument " "2"" of type '" "uint64_t""'"); } - arg1 = static_cast< btllib::RandomSequenceGenerator::SequenceType >(val1); - result = (btllib::RandomSequenceGenerator *)new btllib::RandomSequenceGenerator(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__RandomSequenceGenerator, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_RandomSequenceGenerator(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_RandomSequenceGenerator")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_RandomSequenceGenerator", 0, 2, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int retval = _wrap_new_RandomSequenceGenerator__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + arg2 = static_cast< uint64_t >(val2); + res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "sub_hash" "', argument " "3"" of type '" "char const *""'"); } - if (argc == 2) { - int retval = _wrap_new_RandomSequenceGenerator__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + arg3 = reinterpret_cast< char * >(buf3); + { + std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; + res4 = swig::asptr(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "sub_hash" "', argument " "4"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sub_hash" "', argument " "4"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + } + arg4 = ptr; } - + res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0); + if (!SWIG_IsOK(res5)) { + SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "sub_hash" "', argument " "5"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + } + if (!argp5) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "sub_hash" "', argument " "5"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + } + arg5 = reinterpret_cast< std::vector< unsigned char,std::allocator< unsigned char > > * >(argp5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "sub_hash" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "sub_hash" "', argument " "7"" of type '" "unsigned int""'"); + } + arg7 = static_cast< unsigned int >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "sub_hash" "', argument " "8"" of type '" "uint64_t *""'"); + } + arg8 = reinterpret_cast< uint64_t * >(argp8); + btllib::sub_hash(arg1,arg2,(char const *)arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg5,arg6,arg7,arg8); + resultobj = SWIG_Py_Void(); + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (SWIG_IsNewObj(res4)) delete arg4; + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_RandomSequenceGenerator'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::RandomSequenceGenerator::RandomSequenceGenerator(btllib::RandomSequenceGenerator::SequenceType,btllib::RandomSequenceGenerator::Masking)\n" - " btllib::RandomSequenceGenerator::RandomSequenceGenerator(btllib::RandomSequenceGenerator::SequenceType)\n"); - return -1; + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + if (SWIG_IsNewObj(res4)) delete arg4; + return NULL; } -SWIGINTERN PyObject *_wrap_RandomSequenceGenerator_generate(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::RandomSequenceGenerator *arg1 = (btllib::RandomSequenceGenerator *) 0 ; - size_t arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; - std::string result; + char *arg1 = (char *) 0 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; + unsigned int arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + uint64_t *arg7 = (uint64_t *) 0 ; + uint64_t *arg8 = (uint64_t *) 0 ; + uint64_t *arg9 = (uint64_t *) 0 ; + uint64_t *arg10 = (uint64_t *) 0 ; + unsigned int *arg11 = 0 ; + uint64_t *arg12 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int res3 = SWIG_OLDOBJ ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + void *argp10 = 0 ; + int res10 = 0 ; + void *argp11 = 0 ; + int res11 = 0 ; + void *argp12 = 0 ; + int res12 = 0 ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandomSequenceGenerator, 0 | 0 ); + if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomSequenceGenerator_generate" "', argument " "1"" of type '" "btllib::RandomSequenceGenerator *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); } - arg1 = reinterpret_cast< btllib::RandomSequenceGenerator * >(argp1); - ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RandomSequenceGenerator_generate" "', argument " "2"" of type '" "size_t""'"); + arg1 = reinterpret_cast< char * >(buf1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res3 = swig::asptr(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + arg3 = ptr; + } + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64" "', argument " "4"" of type '" "unsigned int""'"); } - arg2 = static_cast< size_t >(val2); - result = (arg1)->generate(arg2); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); + } + arg8 = reinterpret_cast< uint64_t * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); + } + arg9 = reinterpret_cast< uint64_t * >(argp9); + res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res10)) { + SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); + } + arg10 = reinterpret_cast< uint64_t * >(argp10); + res11 = SWIG_ConvertPtr(swig_obj[10], &argp11, SWIGTYPE_p_unsigned_int, 0 ); + if (!SWIG_IsOK(res11)) { + SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "unsigned int &""'"); + } + if (!argp11) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "11"" of type '" "unsigned int &""'"); + } + arg11 = reinterpret_cast< unsigned int * >(argp11); + res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res12)) { + SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64" "', argument " "12"" of type '" "uint64_t *""'"); + } + arg12 = reinterpret_cast< uint64_t * >(argp12); + result = (bool)btllib::ntmsm64((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,*arg11,arg12); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return NULL; } -SWIGINTERN PyObject *_wrap_delete_RandomSequenceGenerator(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::RandomSequenceGenerator *arg1 = (btllib::RandomSequenceGenerator *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + char *arg1 = (char *) 0 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; + unsigned int arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + uint64_t *arg7 = (uint64_t *) 0 ; + uint64_t *arg8 = (uint64_t *) 0 ; + uint64_t *arg9 = (uint64_t *) 0 ; + uint64_t *arg10 = (uint64_t *) 0 ; + uint64_t *arg11 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int res3 = SWIG_OLDOBJ ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + void *argp10 = 0 ; + int res10 = 0 ; + void *argp11 = 0 ; + int res11 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_RandomSequenceGenerator", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandomSequenceGenerator, SWIG_POINTER_DISOWN | 0 ); + if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RandomSequenceGenerator" "', argument " "1"" of type '" "btllib::RandomSequenceGenerator *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res3 = swig::asptr(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + arg3 = ptr; + } + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); + } + arg8 = reinterpret_cast< uint64_t * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); + } + arg9 = reinterpret_cast< uint64_t * >(argp9); + res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res10)) { + SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); + } + arg10 = reinterpret_cast< uint64_t * >(argp10); + res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res11)) { + SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "uint64_t *""'"); } - arg1 = reinterpret_cast< btllib::RandomSequenceGenerator * >(argp1); - delete arg1; + arg11 = reinterpret_cast< uint64_t * >(argp11); + btllib::ntmsm64((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); resultobj = SWIG_Py_Void(); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_RandomSequenceGenerator) /* defines _wrap_delete_RandomSequenceGenerator_destructor_closure */ - -SWIGINTERN PyObject *_wrap_split(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - std::string *arg2 = 0 ; - int res1 = SWIG_OLDOBJ ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; - std::vector< std::string,std::allocator< std::string > > result; + char *arg1 = (char *) 0 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; + unsigned int arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + uint64_t *arg7 = (uint64_t *) 0 ; + uint64_t *arg8 = (uint64_t *) 0 ; + uint64_t *arg9 = (uint64_t *) 0 ; + uint64_t *arg10 = (uint64_t *) 0 ; + uint64_t *arg11 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + int res3 = SWIG_OLDOBJ ; + unsigned int val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + void *argp10 = 0 ; + int res10 = 0 ; + void *argp11 = 0 ; + int res11 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "split", 2, 2, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64l" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ntmsm64l" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); } + arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res3 = swig::asptr(swig_obj[2], &ptr); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "split" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); } - arg2 = ptr; + arg3 = ptr; } - result = btllib::split((std::string const &)*arg1,(std::string const &)*arg2); - resultobj = swig::from(static_cast< std::vector< std::string,std::allocator< std::string > > >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ntmsm64l" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64l" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64l" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + res7 = SWIG_ConvertPtr(swig_obj[6], &argp7,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "ntmsm64l" "', argument " "7"" of type '" "uint64_t *""'"); + } + arg7 = reinterpret_cast< uint64_t * >(argp7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64l" "', argument " "8"" of type '" "uint64_t *""'"); + } + arg8 = reinterpret_cast< uint64_t * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64l" "', argument " "9"" of type '" "uint64_t *""'"); + } + arg9 = reinterpret_cast< uint64_t * >(argp9); + res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res10)) { + SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64l" "', argument " "10"" of type '" "uint64_t *""'"); + } + arg10 = reinterpret_cast< uint64_t * >(argp10); + res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res11)) { + SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64l" "', argument " "11"" of type '" "uint64_t *""'"); + } + arg11 = reinterpret_cast< uint64_t * >(argp11); + btllib::ntmsm64l((char const *)arg1,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg2,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); + resultobj = SWIG_Py_Void(); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res3)) delete arg3; return NULL; } -SWIGINTERN PyObject *_wrap_join(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; - std::string *arg2 = 0 ; - int res1 = SWIG_OLDOBJ ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; - std::string result; + char *arg1 = (char *) 0 ; + char arg2 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg3 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg4 = 0 ; + unsigned int arg5 ; + unsigned int arg6 ; + unsigned int arg7 ; + uint64_t *arg8 = (uint64_t *) 0 ; + uint64_t *arg9 = (uint64_t *) 0 ; + uint64_t *arg10 = (uint64_t *) 0 ; + uint64_t *arg11 = (uint64_t *) 0 ; + uint64_t *arg12 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + char val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + int res4 = SWIG_OLDOBJ ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + unsigned int val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + void *argp10 = 0 ; + int res10 = 0 ; + void *argp11 = 0 ; + int res11 = 0 ; + void *argp12 = 0 ; + int res12 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "join", 2, 2, swig_obj)) SWIG_fail; - { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - arg1 = ptr; + if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmsm64" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); } + arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp3); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res4 = swig::asptr(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmsm64" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "join" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); } - arg2 = ptr; + arg4 = ptr; } - result = btllib::join((std::vector< std::string,std::allocator< std::string > > const &)*arg1,(std::string const &)*arg2); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ltrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ntmsm64" "', argument " "7"" of type '" "unsigned int""'"); + } + arg7 = static_cast< unsigned int >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64" "', argument " "8"" of type '" "uint64_t *""'"); } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "std::string &""'"); + arg8 = reinterpret_cast< uint64_t * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64" "', argument " "9"" of type '" "uint64_t *""'"); } - arg1 = reinterpret_cast< std::string * >(argp1); - btllib::ltrim(*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_ltrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CString *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); + arg9 = reinterpret_cast< uint64_t * >(argp9); + res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res10)) { + SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64" "', argument " "10"" of type '" "uint64_t *""'"); } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ltrim" "', argument " "1"" of type '" "btllib::CString &""'"); + arg10 = reinterpret_cast< uint64_t * >(argp10); + res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res11)) { + SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64" "', argument " "11"" of type '" "uint64_t *""'"); } - arg1 = reinterpret_cast< btllib::CString * >(argp1); - btllib::ltrim(*arg1); + arg11 = reinterpret_cast< uint64_t * >(argp11); + res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res12)) { + SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64" "', argument " "12"" of type '" "uint64_t *""'"); + } + arg12 = reinterpret_cast< uint64_t * >(argp12); + btllib::ntmsm64((char const *)arg1,arg2,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); resultobj = SWIG_Py_Void(); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } -SWIGINTERN PyObject *_wrap_ltrim(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmsm64(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[2] = { + PyObject *argv[13] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "ltrim", 0, 1, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64", 0, 12, argv))) SWIG_fail; --argc; - if (argc == 1) { + if (argc == 11) { + PyObject *retobj = _wrap_ntmsm64__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 12) { int _v = 0; + { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + { + int res = swig::asptr(argv[2], (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_2; { void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); + int res = SWIG_ConvertPtr(argv[6], &vptr, SWIGTYPE_p_unsigned_long_long, 0); _v = SWIG_CheckState(res); } - if (!_v) goto check_1; - return _wrap_ltrim__SWIG_0(self, argc, argv); + if (!_v) goto check_2; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[10], &vptr, SWIGTYPE_p_unsigned_int, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + PyObject *retobj = _wrap_ntmsm64__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } -check_1: +check_2: - if (argc == 1) { - PyObject *retobj = _wrap_ltrim__SWIG_1(self, argc, argv); + if (argc == 12) { + PyObject *retobj = _wrap_ntmsm64__SWIG_2(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ltrim'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmsm64'.\n" " Possible C/C++ prototypes are:\n" - " btllib::ltrim(std::string &)\n" - " btllib::ltrim(btllib::CString &)\n"); + " btllib::ntmsm64(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,unsigned int &,uint64_t *)\n" + " btllib::ntmsm64(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n" + " btllib::ntmsm64(char const *,char,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n"); return 0; } -SWIGINTERN PyObject *_wrap_rtrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + char *arg1 = (char *) 0 ; + char arg2 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg3 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg4 = 0 ; + unsigned int arg5 ; + unsigned int arg6 ; + unsigned int arg7 ; + uint64_t *arg8 = (uint64_t *) 0 ; + uint64_t *arg9 = (uint64_t *) 0 ; + uint64_t *arg10 = (uint64_t *) 0 ; + uint64_t *arg11 = (uint64_t *) 0 ; + uint64_t *arg12 = (uint64_t *) 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + char val2 ; + int ecode2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + int res4 = SWIG_OLDOBJ ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + unsigned int val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + void *argp10 = 0 ; + int res10 = 0 ; + void *argp11 = 0 ; + int res11 = 0 ; + void *argp12 = 0 ; + int res12 = 0 ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); + if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ntmsm64l" "', argument " "1"" of type '" "char const *""'"); } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "std::string &""'"); + arg1 = reinterpret_cast< char * >(buf1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ntmsm64l" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); } - arg1 = reinterpret_cast< std::string * >(argp1); - btllib::rtrim(*arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_rtrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CString *arg1 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &""'"); } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "rtrim" "', argument " "1"" of type '" "btllib::CString &""'"); + arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp3); + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res4 = swig::asptr(swig_obj[3], &ptr); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "ntmsm64l" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ntmsm64l" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &""'"); + } + arg4 = ptr; } - arg1 = reinterpret_cast< btllib::CString * >(argp1); - btllib::rtrim(*arg1); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ntmsm64l" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ntmsm64l" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_unsigned_SS_int(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ntmsm64l" "', argument " "7"" of type '" "unsigned int""'"); + } + arg7 = static_cast< unsigned int >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "ntmsm64l" "', argument " "8"" of type '" "uint64_t *""'"); + } + arg8 = reinterpret_cast< uint64_t * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "ntmsm64l" "', argument " "9"" of type '" "uint64_t *""'"); + } + arg9 = reinterpret_cast< uint64_t * >(argp9); + res10 = SWIG_ConvertPtr(swig_obj[9], &argp10,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res10)) { + SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "ntmsm64l" "', argument " "10"" of type '" "uint64_t *""'"); + } + arg10 = reinterpret_cast< uint64_t * >(argp10); + res11 = SWIG_ConvertPtr(swig_obj[10], &argp11,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res11)) { + SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "ntmsm64l" "', argument " "11"" of type '" "uint64_t *""'"); + } + arg11 = reinterpret_cast< uint64_t * >(argp11); + res12 = SWIG_ConvertPtr(swig_obj[11], &argp12,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res12)) { + SWIG_exception_fail(SWIG_ArgError(res12), "in method '" "ntmsm64l" "', argument " "12"" of type '" "uint64_t *""'"); + } + arg12 = reinterpret_cast< uint64_t * >(argp12); + btllib::ntmsm64l((char const *)arg1,arg2,(std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > const &)*arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12); resultobj = SWIG_Py_Void(); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (SWIG_IsNewObj(res4)) delete arg4; return NULL; } -SWIGINTERN PyObject *_wrap_rtrim(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_ntmsm64l(PyObject *self, PyObject *args) { Py_ssize_t argc; - PyObject *argv[2] = { + PyObject *argv[13] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "rtrim", 0, 1, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64l", 0, 12, argv))) SWIG_fail; --argc; - if (argc == 1) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_rtrim__SWIG_0(self, argc, argv); + if (argc == 11) { + PyObject *retobj = _wrap_ntmsm64l__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } -check_1: - - if (argc == 1) { - PyObject *retobj = _wrap_rtrim__SWIG_1(self, argc, argv); + if (argc == 12) { + PyObject *retobj = _wrap_ntmsm64l__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'rtrim'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'ntmsm64l'.\n" " Possible C/C++ prototypes are:\n" - " btllib::rtrim(std::string &)\n" - " btllib::rtrim(btllib::CString &)\n"); + " btllib::ntmsm64l(char const *,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n" + " btllib::ntmsm64l(char const *,char,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > const &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > const &,unsigned int,unsigned int,unsigned int,uint64_t *,uint64_t *,uint64_t *,uint64_t *,uint64_t *)\n"); return 0; } -SWIGINTERN PyObject *_wrap_trim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Datatype_prefixes_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_prefixes_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "std::string &""'"); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_prefixes_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); } - arg1 = reinterpret_cast< std::string * >(argp1); - btllib::trim(*arg1); + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->prefixes = *arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -35173,236 +33755,207 @@ SWIGINTERN PyObject *_wrap_trim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje } -SWIGINTERN PyObject *_wrap_trim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_Datatype_prefixes_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::CString *arg1 = 0 ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); + if (!SWIG_Python_UnpackTuple(args, "Datatype_prefixes_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "trim" "', argument " "1"" of type '" "btllib::CString &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_prefixes_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - arg1 = reinterpret_cast< btllib::CString * >(argp1); - btllib::trim(*arg1); - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->prefixes); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_trim(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[2] = { - 0 - }; +SWIGINTERN PyObject *_wrap_Datatype_suffixes_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "trim", 0, 1, argv))) SWIG_fail; - --argc; - if (argc == 1) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_std__string, SWIG_POINTER_NO_NULL); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_trim__SWIG_0(self, argc, argv); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_suffixes_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); } -check_1: - - if (argc == 1) { - PyObject *retobj = _wrap_trim__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_suffixes_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); } - + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->suffixes = *arg2; + resultobj = SWIG_Py_Void(); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'trim'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::trim(std::string &)\n" - " btllib::trim(btllib::CString &)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_startswith(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_suffixes_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string arg1 ; - std::string arg2 ; - PyObject *swig_obj[2] ; - bool result; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "startswith", 2, 2, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; - } - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "startswith" "', argument " "2"" of type '" "std::string""'"); - } - arg2 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!SWIG_Python_UnpackTuple(args, "Datatype_suffixes_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_suffixes_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - result = (bool)btllib::startswith(SWIG_STD_MOVE(arg1),SWIG_STD_MOVE(arg2)); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->suffixes); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_endswith(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string arg1 ; - std::string arg2 ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; PyObject *swig_obj[2] ; - bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "endswith", 2, 2, swig_obj)) SWIG_fail; - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "1"" of type '" "std::string""'"); - } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_cmds_check_existence_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "endswith" "', argument " "2"" of type '" "std::string""'"); - } - arg2 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_cmds_check_existence_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); } - result = (bool)btllib::endswith(SWIG_STD_MOVE(arg1),SWIG_STD_MOVE(arg2)); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->cmds_check_existence = *arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_get_basename(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; PyObject *swig_obj[1] ; - std::string result; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_basename" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "Datatype_cmds_check_existence_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_cmds_check_existence_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - result = btllib::get_basename((std::string const &)*arg1); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->cmds_check_existence); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_get_dirname(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_read_cmds_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; - std::string result; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_dirname" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_read_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - result = btllib::get_dirname((std::string const &)*arg1); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_read_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + } + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->read_cmds = *arg2; + resultobj = SWIG_Py_Void(); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN int _wrap_new_Barrier(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN PyObject *_wrap_Datatype_read_cmds_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - unsigned int arg1 ; - unsigned int val1 ; - int ecode1 = 0 ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; PyObject *swig_obj[1] ; - btllib::Barrier *result = 0 ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Barrier")) SWIG_fail; - if (!SWIG_Python_UnpackTuple(args, "new_Barrier", 1, 1, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Barrier" "', argument " "1"" of type '" "unsigned int""'"); - } - arg1 = static_cast< unsigned int >(val1); - result = (btllib::Barrier *)new btllib::Barrier(arg1); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Barrier, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + if (!SWIG_Python_UnpackTuple(args, "Datatype_read_cmds_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_read_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); + } + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->read_cmds); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + return resultobj; fail: - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_Barrier_wait(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_write_cmds_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "Barrier_wait", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Barrier_wait" "', argument " "1"" of type '" "btllib::Barrier *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_write_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - arg1 = reinterpret_cast< btllib::Barrier * >(argp1); - (arg1)->wait(); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_write_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); + } + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->write_cmds = *arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -35410,92 +33963,51 @@ SWIGINTERN PyObject *_wrap_Barrier_wait(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_delete_Barrier(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_write_cmds_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_Barrier", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "Datatype_write_cmds_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Barrier" "', argument " "1"" of type '" "btllib::Barrier *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_write_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - arg1 = reinterpret_cast< btllib::Barrier * >(argp1); - delete arg1; - resultobj = SWIG_Py_Void(); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->write_cmds); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Barrier) /* defines _wrap_delete_Barrier_destructor_closure */ - -SWIGINTERN int Swig_var_COMPLEMENTS_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable COMPLEMENTS is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_COMPLEMENTS_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - { - size_t size = SWIG_strnlen(btllib::COMPLEMENTS, 256); - - - - pyobj = SWIG_FromCharPtrAndSize(btllib::COMPLEMENTS, size); - } - return pyobj; -} - - -SWIGINTERN int Swig_var_CAPITALS_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable CAPITALS is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_CAPITALS_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - { - size_t size = SWIG_strnlen(btllib::CAPITALS, 256); - - - - pyobj = SWIG_FromCharPtrAndSize(btllib::CAPITALS, size); - } - return pyobj; -} - - -SWIGINTERN PyObject *_wrap_reverse_complement(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_append_cmds_set(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + std::vector< std::string,std::allocator< std::string > > *arg2 = (std::vector< std::string,std::allocator< std::string > > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_append_cmds_set" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "reverse_complement" "', argument " "1"" of type '" "std::string &""'"); + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[0], &argp2,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Datatype_append_cmds_set" "', argument " "2"" of type '" "std::vector< std::string,std::allocator< std::string > > *""'"); } - arg1 = reinterpret_cast< std::string * >(argp1); - btllib::reverse_complement(*arg1); + arg2 = reinterpret_cast< std::vector< std::string,std::allocator< std::string > > * >(argp2); + if (arg1) (arg1)->append_cmds = *arg2; resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -35503,534 +34015,441 @@ SWIGINTERN PyObject *_wrap_reverse_complement(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_get_reverse_complement(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_Datatype_append_cmds_get(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; PyObject *swig_obj[1] ; - std::string result; + std::vector< std::string,std::allocator< std::string > > *result = 0 ; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "get_reverse_complement" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!SWIG_Python_UnpackTuple(args, "Datatype_append_cmds_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Datatype_append_cmds_get" "', argument " "1"" of type '" "btllib::Datatype *""'"); } - result = btllib::get_reverse_complement((std::string const &)*arg1); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + result = (std::vector< std::string,std::allocator< std::string > > *)& ((arg1)->append_cmds); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN int Swig_var_NTHASH_FN_NAME_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable NTHASH_FN_NAME is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_NTHASH_FN_NAME_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_Datatype(PyObject *self, PyObject *args, PyObject *kwargs) { + PyObject *resultobj = 0; + btllib::Datatype *result = 0 ; - (void)self; - pyobj = SWIG_FromCharPtr(btllib::NTHASH_FN_NAME); - return pyobj; -} - - -SWIGINTERN int Swig_var_NTHASH_HASH_NUM_MAX_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable NTHASH_HASH_NUM_MAX is read-only."); - return 1; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Datatype")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_Datatype", 0, 0, 0)) SWIG_fail; + result = (btllib::Datatype *)new btllib::Datatype(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Datatype, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; } -SWIGINTERN PyObject *Swig_var_NTHASH_HASH_NUM_MAX_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_delete_Datatype(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - pyobj = SWIG_From_int(static_cast< int >(btllib::NTHASH_HASH_NUM_MAX)); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "delete_Datatype", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Datatype" "', argument " "1"" of type '" "btllib::Datatype *""'"); + } + arg1 = reinterpret_cast< btllib::Datatype * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_NTHASH_K_MAX_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable NTHASH_K_MAX is read-only."); +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_Datatype) /* defines _wrap_delete_Datatype_destructor_closure */ + +SWIGINTERN int Swig_var_DATATYPES_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable DATATYPES is read-only."); return 1; } -SWIGINTERN PyObject *Swig_var_NTHASH_K_MAX_get(void) { +SWIGINTERN PyObject *Swig_var_DATATYPES_get(void) { PyObject *pyobj = 0; PyObject *self = 0; (void)self; - pyobj = SWIG_From_int(static_cast< int >(btllib::NTHASH_K_MAX)); + pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::DATATYPES), SWIGTYPE_p_btllib__Datatype, 0 ); return pyobj; } -SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_DataSource(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *resultobj = 0; - std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; + std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > result; + PyObject *swig_obj[1] ; + btllib::DataSource *result = 0 ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSource")) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "new_DataSource", 1, 1, swig_obj)) SWIG_fail; { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSource" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSource" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - result = btllib::parse_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1); - resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + result = (btllib::DataSource *)new btllib::DataSource((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSource, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj; + return resultobj == Py_None ? -1 : 0; fail: if (SWIG_IsNewObj(res1)) delete arg1; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_delete_DataSource(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; - int res1 = SWIG_OLDOBJ ; - void *argp2 = 0 ; - int res2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; + btllib::DataSource *arg1 = (btllib::DataSource *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); - } - arg1 = ptr; - } - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_seeds" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); - } - arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "parse_seeds" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); + if (!SWIG_Python_UnpackTuple(args, "delete_DataSource", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSource, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataSource" "', argument " "1"" of type '" "btllib::DataSource *""'"); } - arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > * >(argp3); - btllib::parse_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1,*arg2,*arg3); + arg1 = reinterpret_cast< btllib::DataSource * >(argp1); + delete arg1; resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_parse_seeds(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "parse_seeds", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 1) { - PyObject *retobj = _wrap_parse_seeds__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_parse_seeds__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'parse_seeds'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::parse_seeds(std::vector< std::string,std::allocator< std::string > > const &)\n" - " btllib::parse_seeds(std::vector< std::string,std::allocator< std::string > > const &,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &)\n"); - return 0; -} - +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_DataSource) /* defines _wrap_delete_DataSource_destructor_closure */ -SWIGINTERN PyObject *_wrap_parsed_seeds_to_blocks(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_DataSink__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg1 = 0 ; - unsigned int arg2 ; - std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg3 = 0 ; - std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg4 = 0 ; + std::string *arg1 = 0 ; + bool arg2 ; int res1 = SWIG_OLDOBJ ; - unsigned int val2 ; + bool val2 ; int ecode2 = 0 ; - void *argp3 = 0 ; - int res3 = 0 ; - void *argp4 = 0 ; - int res4 = 0 ; - PyObject *swig_obj[4] ; + btllib::DataSink *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "parsed_seeds_to_blocks", 4, 4, swig_obj)) SWIG_fail; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parsed_seeds_to_blocks" "', argument " "1"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "1"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "parsed_seeds_to_blocks" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DataSink" "', argument " "2"" of type '" "bool""'"); } - arg2 = static_cast< unsigned int >(val2); - res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 ); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "parsed_seeds_to_blocks" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); - } - arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp3); - res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 ); - if (!SWIG_IsOK(res4)) { - SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "parsed_seeds_to_blocks" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); - } - if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); - } - arg4 = reinterpret_cast< std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > * >(argp4); - btllib::parsed_seeds_to_blocks((std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg1,arg2,*arg3,*arg4); - resultobj = SWIG_Py_Void(); + arg2 = static_cast< bool >(val2); + result = (btllib::DataSink *)new btllib::DataSink((std::string const &)*arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSink, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj; + return resultobj == Py_None ? -1 : 0; fail: if (SWIG_IsNewObj(res1)) delete arg1; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_check_seeds(PyObject *self, PyObject *args) { +SWIGINTERN int _wrap_new_DataSink__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; - unsigned int arg2 ; + std::string *arg1 = 0 ; int res1 = SWIG_OLDOBJ ; - unsigned int val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; + btllib::DataSink *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "check_seeds", 2, 2, swig_obj)) SWIG_fail; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { - std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; - res1 = swig::asptr(swig_obj[0], &ptr); + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_DataSink" "', argument " "1"" of type '" "std::string const &""'"); } arg1 = ptr; } - ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "check_seeds" "', argument " "2"" of type '" "unsigned int""'"); - } - arg2 = static_cast< unsigned int >(val2); - btllib::check_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1,arg2); - resultobj = SWIG_Py_Void(); + result = (btllib::DataSink *)new btllib::DataSink((std::string const &)*arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__DataSink, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj; + return resultobj == Py_None ? -1 : 0; fail: if (SWIG_IsNewObj(res1)) delete arg1; - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_NtHash_roll(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int _wrap_new_DataSink(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_roll", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_roll" "', argument " "1"" of type '" "btllib::NtHash *""'"); + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSink")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_DataSink", 0, 2, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int retval = _wrap_new_DataSink__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (bool)(arg1)->roll(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; + if (argc == 2) { + int retval = _wrap_new_DataSink__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_DataSink'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::DataSink::DataSink(std::string const &,bool)\n" + " btllib::DataSink::DataSink(std::string const &)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_NtHash_roll_back(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_DataSink(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + btllib::DataSink *arg1 = (btllib::DataSink *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_roll_back", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_DataSink", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSink, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_roll_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DataSink" "', argument " "1"" of type '" "btllib::DataSink *""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (bool)(arg1)->roll_back(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::DataSink * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_DataSink) /* defines _wrap_delete_DataSink_destructor_closure */ + +SWIGINTERN int Swig_var_PRINT_COLOR_INFO_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_INFO is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PRINT_COLOR_INFO_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek" "', argument " "1"" of type '" "btllib::NtHash *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (bool)(arg1)->peek(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_INFO); + return pyobj; } -SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { - PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int Swig_var_PRINT_COLOR_WARNING_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_WARNING is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PRINT_COLOR_WARNING_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (bool)(arg1)->peek_back(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_WARNING); + return pyobj; } -SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - bool result; +SWIGINTERN int Swig_var_PRINT_COLOR_ERROR_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_ERROR is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PRINT_COLOR_ERROR_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek" "', argument " "1"" of type '" "btllib::NtHash *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NtHash_peek" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - result = (bool)(arg1)->peek(arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_ERROR); + return pyobj; +} + + +SWIGINTERN int Swig_var_PRINT_COLOR_END_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_END is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_PRINT_COLOR_END_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; + + (void)self; + pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_END); + return pyobj; +} + + +SWIGINTERN PyObject *_wrap_get_time(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string result; + + if (!SWIG_Python_UnpackTuple(args, "get_time", 0, 0, 0)) SWIG_fail; + result = btllib::get_time(); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_peek(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +SWIGINTERN PyObject *_wrap_log_info(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_NtHash_peek__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 2) { - PyObject *retobj = _wrap_NtHash_peek__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_info" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_info" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - + btllib::log_info((std::string const &)*arg1); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_peek'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::NtHash::peek()\n" - " btllib::NtHash::peek(char)\n"); - return 0; + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_log_warning(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - char arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - bool result; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_warning" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_warning" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NtHash_peek_back" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - result = (bool)(arg1)->peek_back(arg2); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + btllib::log_warning((std::string const &)*arg1); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_peek_back(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; +SWIGINTERN PyObject *_wrap_log_error(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek_back", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_NtHash_peek_back__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 2) { - PyObject *retobj = _wrap_NtHash_peek_back__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_error" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_error" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - + btllib::log_error((std::string const &)*arg1); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_peek_back'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::NtHash::peek_back()\n" - " btllib::NtHash::peek_back(char)\n"); - return 0; + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_sub(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_check_info(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - std::vector< unsigned int,std::allocator< unsigned int > > *arg2 = 0 ; - std::vector< unsigned char,std::allocator< unsigned char > > *arg3 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; + bool arg1 ; + std::string *arg2 = 0 ; + bool val1 ; + int ecode1 = 0 ; int res2 = SWIG_OLDOBJ ; - void *argp3 = 0 ; - int res3 = 0 ; - PyObject *swig_obj[3] ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_sub", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_sub" "', argument " "1"" of type '" "btllib::NtHash *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + if (!SWIG_Python_UnpackTuple(args, "check_info", 2, 2, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_info" "', argument " "1"" of type '" "bool""'"); + } + arg1 = static_cast< bool >(val1); { - std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; - res2 = swig::asptr(swig_obj[0], &ptr); + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_info" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_info" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0); - if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); - } - if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); - } - arg3 = reinterpret_cast< std::vector< unsigned char,std::allocator< unsigned char > > * >(argp3); - (arg1)->sub((std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg2,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg3); + btllib::check_info(arg1,(std::string const &)*arg2); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -36040,440 +34459,464 @@ SWIGINTERN PyObject *_wrap_NtHash_sub(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_NtHash_hashes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_check_warning(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t *result = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_hashes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_hashes" "', argument " "1"" of type '" "btllib::NtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (uint64_t *)((btllib::NtHash const *)arg1)->hashes(); + bool arg1 ; + std::string *arg2 = 0 ; + bool val1 ; + int ecode1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - resultobj = PyTuple_New(arg1->get_hash_num()); - for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { - PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); + if (!SWIG_Python_UnpackTuple(args, "check_warning", 2, 2, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_warning" "', argument " "1"" of type '" "bool""'"); + } + arg1 = static_cast< bool >(val1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_warning" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_warning" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; } - + btllib::check_warning(arg1,(std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_get_pos(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_check_error(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; + bool arg1 ; + std::string *arg2 = 0 ; + bool val1 ; + int ecode1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_get_pos", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_pos" "', argument " "1"" of type '" "btllib::NtHash const *""'"); + if (!SWIG_Python_UnpackTuple(args, "check_error", 2, 2, swig_obj)) SWIG_fail; + ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_error" "', argument " "1"" of type '" "bool""'"); + } + arg1 = static_cast< bool >(val1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_error" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_error" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = ((btllib::NtHash const *)arg1)->get_pos(); - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + btllib::check_error(arg1,(std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_forward(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_get_strerror(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; + std::string result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_forward", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_forward" "', argument " "1"" of type '" "btllib::NtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (bool)((btllib::NtHash const *)arg1)->forward(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (!SWIG_Python_UnpackTuple(args, "get_strerror", 0, 0, 0)) SWIG_fail; + result = btllib::get_strerror(); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_check_stream(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + std::ios *arg1 = 0 ; + std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "check_stream", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_hash_num" "', argument " "1"" of type '" "btllib::NtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_stream" "', argument " "1"" of type '" "std::ios const &""'"); } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (unsigned int)((btllib::NtHash const *)arg1)->get_hash_num(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + if (!argp1) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_stream" "', argument " "1"" of type '" "std::ios const &""'"); + } + arg1 = reinterpret_cast< std::ios * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_stream" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_stream" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + btllib::check_stream((std::basic_ios< char,std::char_traits< char > > const &)*arg1,(std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_check_file_accessibility(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - unsigned int result; + std::string *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_k" "', argument " "1"" of type '" "btllib::NtHash const *""'"); + if (!args) SWIG_fail; + swig_obj[0] = args; + { + std::string *ptr = (std::string *)0; + res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_file_accessibility" "', argument " "1"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_file_accessibility" "', argument " "1"" of type '" "std::string const &""'"); + } + arg1 = ptr; } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (unsigned int)((btllib::NtHash const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + btllib::check_file_accessibility((std::string const &)*arg1); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_get_forward_hash(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t result; +SWIGINTERN int Swig_var_NTHASH_FN_NAME_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable NTHASH_FN_NAME is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_NTHASH_FN_NAME_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::NtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (uint64_t)((btllib::NtHash const *)arg1)->get_forward_hash(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_FromCharPtr(btllib::NTHASH_FN_NAME); + return pyobj; } -SWIGINTERN PyObject *_wrap_NtHash_get_reverse_hash(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - uint64_t result; +SWIGINTERN int Swig_var_NTHASH_HASH_NUM_MAX_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable NTHASH_HASH_NUM_MAX is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_NTHASH_HASH_NUM_MAX_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if (!SWIG_Python_UnpackTuple(args, "NtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::NtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - result = (uint64_t)((btllib::NtHash const *)arg1)->get_reverse_hash(); - resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); - return resultobj; -fail: - return NULL; + pyobj = SWIG_From_int(static_cast< int >(btllib::NTHASH_HASH_NUM_MAX)); + return pyobj; } -SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - std::string *arg2 = 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - size_t val3 ; - int ecode3 = 0 ; +SWIGINTERN int Swig_var_NTHASH_K_MAX_set(PyObject *) { + SWIG_Error(SWIG_AttributeError,"Variable NTHASH_K_MAX is read-only."); + return 1; +} + + +SWIGINTERN PyObject *Swig_var_NTHASH_K_MAX_get(void) { + PyObject *pyobj = 0; + PyObject *self = 0; (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_change_seq" "', argument " "1"" of type '" "btllib::NtHash *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + pyobj = SWIG_From_int(static_cast< int >(btllib::NTHASH_K_MAX)); + return pyobj; +} + + +SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; + int res1 = SWIG_OLDOBJ ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > result; + + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } - arg2 = ptr; + arg1 = ptr; } - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "NtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->change_seq((std::string const &)*arg2,arg3); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + result = btllib::parse_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1); + resultobj = swig::from(static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > >(result)); + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg2 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg3 = 0 ; + int res1 = SWIG_OLDOBJ ; + void *argp2 = 0 ; + int res2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_change_seq" "', argument " "1"" of type '" "btllib::NtHash *""'"); - } - arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } - arg2 = ptr; + arg1 = ptr; } - (arg1)->change_seq((std::string const &)*arg2); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "parse_seeds" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); + } + arg2 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "parse_seeds" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parse_seeds" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); + } + arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > * >(argp3); + btllib::parse_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1,*arg2,*arg3); resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res1)) delete arg1; return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; + if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_NtHash_change_seq(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_parse_seeds(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_change_seq", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - PyObject *retobj = _wrap_NtHash_change_seq__SWIG_1(self, argc, argv); + if (!(argc = SWIG_Python_UnpackTuple(args, "parse_seeds", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 1) { + PyObject *retobj = _wrap_parse_seeds__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_NtHash_change_seq__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_parse_seeds__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_change_seq'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'parse_seeds'.\n" " Possible C/C++ prototypes are:\n" - " btllib::NtHash::change_seq(std::string const &,size_t)\n" - " btllib::NtHash::change_seq(std::string const &)\n"); + " btllib::parse_seeds(std::vector< std::string,std::allocator< std::string > > const &)\n" + " btllib::parse_seeds(std::vector< std::string,std::allocator< std::string > > const &,std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &,std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &)\n"); return 0; } -SWIGINTERN int _wrap_new_NtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_parsed_seeds_to_blocks(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string arg1 ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg1 = 0 ; unsigned int arg2 ; - unsigned int arg3 ; - size_t arg4 ; + std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *arg3 = 0 ; + std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *arg4 = 0 ; + int res1 = SWIG_OLDOBJ ; unsigned int val2 ; int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - size_t val4 ; - int ecode4 = 0 ; - btllib::NtHash *result = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + PyObject *swig_obj[4] ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "parsed_seeds_to_blocks", 4, 4, swig_obj)) SWIG_fail; { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_NtHash" "', argument " "1"" of type '" "std::string""'"); + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "parsed_seeds_to_blocks" "', argument " "1"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "1"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + arg1 = ptr; } ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NtHash" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "parsed_seeds_to_blocks" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NtHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NtHash" "', argument " "4"" of type '" "size_t""'"); - } - arg4 = static_cast< size_t >(val4); - result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3,SWIG_STD_MOVE(arg4)); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t, 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "parsed_seeds_to_blocks" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "3"" of type '" "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > &""'"); + } + arg3 = reinterpret_cast< std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > * >(argp3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "parsed_seeds_to_blocks" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "parsed_seeds_to_blocks" "', argument " "4"" of type '" "std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > &""'"); + } + arg4 = reinterpret_cast< std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > * >(argp4); + btllib::parsed_seeds_to_blocks((std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg1,arg2,*arg3,*arg4); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; fail: - return -1; + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN int _wrap_new_NtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_check_seeds(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - std::string arg1 ; + std::vector< std::string,std::allocator< std::string > > *arg1 = 0 ; unsigned int arg2 ; - unsigned int arg3 ; + int res1 = SWIG_OLDOBJ ; unsigned int val2 ; int ecode2 = 0 ; - unsigned int val3 ; - int ecode3 = 0 ; - btllib::NtHash *result = 0 ; + PyObject *swig_obj[2] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "check_seeds", 2, 2, swig_obj)) SWIG_fail; { - std::string *ptr = (std::string *)0; - int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_NtHash" "', argument " "1"" of type '" "std::string""'"); + std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; + res1 = swig::asptr(swig_obj[0], &ptr); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); } - arg1 = *ptr; - if (SWIG_IsNewObj(res)) delete ptr; + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_seeds" "', argument " "1"" of type '" "std::vector< std::string,std::allocator< std::string > > const &""'"); + } + arg1 = ptr; } ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NtHash" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "check_seeds" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NtHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; + btllib::check_seeds((std::vector< std::string,std::allocator< std::string > > const &)*arg1,arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res1)) delete arg1; + return resultobj; fail: - return -1; + if (SWIG_IsNewObj(res1)) delete arg1; + return NULL; } -SWIGINTERN int _wrap_new_NtHash(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[5] = { - 0 - }; +SWIGINTERN PyObject *_wrap_NtHash_roll(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_NtHash")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_NtHash", 0, 4, argv))) SWIG_fail; - --argc; - if (argc == 3) { - int retval = _wrap_new_NtHash__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 4) { - int retval = _wrap_new_NtHash__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; + if (!SWIG_Python_UnpackTuple(args, "NtHash_roll", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_roll" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (bool)(arg1)->roll(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_NtHash'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::NtHash::NtHash(std::string,unsigned int,unsigned int,size_t)\n" - " btllib::NtHash::NtHash(std::string,unsigned int,unsigned int)\n"); - return -1; + return NULL; } -SWIGINTERN PyObject *_wrap_delete_NtHash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_roll_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_NtHash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_roll_back", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_NtHash" "', argument " "1"" of type '" "btllib::NtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_roll_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); } arg1 = reinterpret_cast< btllib::NtHash * >(argp1); - delete_btllib_NtHash(arg1); - resultobj = SWIG_Py_Void(); + result = (bool)(arg1)->roll_back(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_NtHash) /* defines _wrap_delete_NtHash_destructor_closure */ - -SWIGINTERN PyObject *_wrap_BlindNtHash_roll(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - char arg2 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_roll" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_roll" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - result = (bool)(arg1)->roll(arg2); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (bool)(arg1)->peek(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -36481,31 +34924,20 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_roll(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_BlindNtHash_roll_back(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - char arg2 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - char val2 ; - int ecode2 = 0 ; - PyObject *swig_obj[2] ; bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_roll_back" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); - if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_roll_back" "', argument " "2"" of type '" "char""'"); - } - arg2 = static_cast< char >(val2); - result = (bool)(arg1)->roll_back(arg2); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (bool)(arg1)->peek_back(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -36513,28 +34945,25 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_roll_back(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_BlindNtHash_peek(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; - PyObject *swig_obj[2] ; bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_peek" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_peek" "', argument " "2"" of type '" "char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NtHash_peek" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); result = (bool)(arg1)->peek(arg2); @@ -36545,28 +34974,53 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_peek(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_BlindNtHash_peek_back(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_peek(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 1) { + PyObject *retobj = _wrap_NtHash_peek__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 2) { + PyObject *retobj = _wrap_NtHash_peek__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_peek'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::NtHash::peek()\n" + " btllib::NtHash::peek(char)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; - PyObject *swig_obj[2] ; bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_peek_back" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_peek_back" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_peek_back" "', argument " "2"" of type '" "char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "NtHash_peek_back" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); result = (bool)(arg1)->peek_back(arg2); @@ -36577,9 +35031,37 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_peek_back(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_BlindNtHash_sub(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_peek_back(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek_back", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 1) { + PyObject *retobj = _wrap_NtHash_peek_back__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 2) { + PyObject *retobj = _wrap_NtHash_peek_back__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_peek_back'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::NtHash::peek_back()\n" + " btllib::NtHash::peek_back(char)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_NtHash_sub(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; std::vector< unsigned int,std::allocator< unsigned int > > *arg2 = 0 ; std::vector< unsigned char,std::allocator< unsigned char > > *arg3 = 0 ; void *argp1 = 0 ; @@ -36589,30 +35071,29 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_sub(PyObject *self, PyObject *args) { int res3 = 0 ; PyObject *swig_obj[3] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_sub", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_sub", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_sub" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_sub" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); { std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; res2 = swig::asptr(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); } arg2 = ptr; } res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0); if (!SWIG_IsOK(res3)) { - SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BlindNtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "NtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); } arg3 = reinterpret_cast< std::vector< unsigned char,std::allocator< unsigned char > > * >(argp3); (arg1)->sub((std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg2,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg3); @@ -36625,21 +35106,21 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_sub(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_BlindNtHash_hashes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_hashes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; uint64_t *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_hashes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_hashes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_hashes" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_hashes" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (uint64_t *)((btllib::BlindNtHash const *)arg1)->hashes(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (uint64_t *)((btllib::NtHash const *)arg1)->hashes(); resultobj = PyTuple_New(arg1->get_hash_num()); for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { @@ -36652,21 +35133,21 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_hashes(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_BlindNtHash_get_pos(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_get_pos(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_pos", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_get_pos", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_pos" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_pos" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = ((btllib::BlindNtHash const *)arg1)->get_pos(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = ((btllib::NtHash const *)arg1)->get_pos(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -36674,21 +35155,21 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_pos(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_BlindNtHash_forward(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_forward(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_forward", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_forward", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_forward" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_forward" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (bool)((btllib::BlindNtHash const *)arg1)->forward(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (bool)((btllib::NtHash const *)arg1)->forward(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -36696,21 +35177,21 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_forward(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_BlindNtHash_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_hash_num" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_hash_num" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (unsigned int)((btllib::BlindNtHash const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (unsigned int)((btllib::NtHash const *)arg1)->get_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -36718,21 +35199,21 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_hash_num(PyObject *self, PyObject *ar } -SWIGINTERN PyObject *_wrap_BlindNtHash_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_k" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_k" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (unsigned int)((btllib::BlindNtHash const *)arg1)->get_k(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (unsigned int)((btllib::NtHash const *)arg1)->get_k(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -36740,21 +35221,21 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_k(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_BlindNtHash_get_forward_hash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_get_forward_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (uint64_t)((btllib::BlindNtHash const *)arg1)->get_forward_hash(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (uint64_t)((btllib::NtHash const *)arg1)->get_forward_hash(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -36762,21 +35243,21 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_forward_hash(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_BlindNtHash_get_reverse_hash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_get_reverse_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "NtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::NtHash const *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - result = (uint64_t)((btllib::BlindNtHash const *)arg1)->get_reverse_hash(); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + result = (uint64_t)((btllib::NtHash const *)arg1)->get_reverse_hash(); resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: @@ -36784,9 +35265,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_reverse_hash(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; std::string *arg2 = 0 ; size_t arg3 ; void *argp1 = 0 ; @@ -36795,27 +35276,26 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_0(PyObject *self, Py_ssi size_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_change_seq" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_change_seq" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BlindNtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "NtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); } arg3 = static_cast< size_t >(val3); (arg1)->change_seq((std::string const &)*arg2,arg3); @@ -36828,29 +35308,28 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_0(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_change_seq" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NtHash_change_seq" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "NtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } @@ -36864,36 +35343,35 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_1(PyObject *self, Py_ssi } -SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_NtHash_change_seq(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "BlindNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_change_seq", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { - PyObject *retobj = _wrap_BlindNtHash_change_seq__SWIG_1(self, argc, argv); + PyObject *retobj = _wrap_NtHash_change_seq__SWIG_1(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } if (argc == 3) { - PyObject *retobj = _wrap_BlindNtHash_change_seq__SWIG_0(self, argc, argv); + PyObject *retobj = _wrap_NtHash_change_seq__SWIG_0(self, argc, argv); if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BlindNtHash_change_seq'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'NtHash_change_seq'.\n" " Possible C/C++ prototypes are:\n" - " btllib::BlindNtHash::change_seq(std::string const &,size_t)\n" - " btllib::BlindNtHash::change_seq(std::string const &)\n"); + " btllib::NtHash::change_seq(std::string const &,size_t)\n" + " btllib::NtHash::change_seq(std::string const &)\n"); return 0; } -SWIGINTERN int _wrap_new_BlindNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_NtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string arg1 ; unsigned int arg2 ; @@ -36905,43 +35383,42 @@ SWIGINTERN int _wrap_new_BlindNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, P int ecode3 = 0 ; size_t val4 ; int ecode4 = 0 ; - btllib::BlindNtHash *result = 0 ; + btllib::NtHash *result = 0 ; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BlindNtHash" "', argument " "1"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_NtHash" "', argument " "1"" of type '" "std::string""'"); } arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BlindNtHash" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NtHash" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BlindNtHash" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NtHash" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BlindNtHash" "', argument " "4"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NtHash" "', argument " "4"" of type '" "size_t""'"); } arg4 = static_cast< size_t >(val4); - result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3,SWIG_STD_MOVE(arg4)); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); + result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: return -1; } -SWIGINTERN int _wrap_new_BlindNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_NtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string arg1 ; unsigned int arg2 ; @@ -36950,171 +35427,112 @@ SWIGINTERN int _wrap_new_BlindNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, P int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; - btllib::BlindNtHash *result = 0 ; + btllib::NtHash *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BlindNtHash" "', argument " "1"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_NtHash" "', argument " "1"" of type '" "std::string""'"); } arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BlindNtHash" "', argument " "2"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_NtHash" "', argument " "2"" of type '" "unsigned int""'"); } arg2 = static_cast< unsigned int >(val2); - ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BlindNtHash" "', argument " "3"" of type '" "unsigned int""'"); - } - arg3 = static_cast< unsigned int >(val3); - result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); - return resultobj == Py_None ? -1 : 0; -fail: - return -1; -} - - -SWIGINTERN int _wrap_new_BlindNtHash(PyObject *self, PyObject *args, PyObject *kwargs) { - Py_ssize_t argc; - PyObject *argv[5] = { - 0 - }; - - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BlindNtHash")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_BlindNtHash", 0, 4, argv))) SWIG_fail; - --argc; - if (argc == 3) { - int retval = _wrap_new_BlindNtHash__SWIG_1(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - if (argc == 4) { - int retval = _wrap_new_BlindNtHash__SWIG_0(self, argc, argv); - if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_BlindNtHash'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::BlindNtHash::BlindNtHash(std::string,unsigned int,unsigned int,size_t)\n" - " btllib::BlindNtHash::BlindNtHash(std::string,unsigned int,unsigned int)\n"); - return -1; -} - - -SWIGINTERN PyObject *_wrap_delete_BlindNtHash(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_BlindNtHash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, SWIG_POINTER_DISOWN | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BlindNtHash" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); - delete_btllib_BlindNtHash(arg1); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_BlindNtHash) /* defines _wrap_delete_BlindNtHash_destructor_closure */ - -SWIGINTERN PyObject *_wrap_SeedNtHash_roll(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_roll" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (bool)(arg1)->roll(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NtHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; fail: - return NULL; + return -1; } -SWIGINTERN PyObject *_wrap_SeedNtHash_roll_back(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - bool result; +SWIGINTERN int _wrap_new_NtHash(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[5] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll_back", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_roll_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_NtHash")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_NtHash", 0, 4, argv))) SWIG_fail; + --argc; + if (argc == 3) { + int retval = _wrap_new_NtHash__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (bool)(arg1)->roll_back(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); - return resultobj; + if (argc == 4) { + int retval = _wrap_new_NtHash__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + fail: - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_NtHash'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::NtHash::NtHash(std::string,unsigned int,unsigned int,size_t)\n" + " btllib::NtHash::NtHash(std::string,unsigned int,unsigned int)\n"); + return -1; } -SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGINTERN PyObject *_wrap_delete_NtHash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - bool result; + PyObject *swig_obj[1] ; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_NtHash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_NtHash" "', argument " "1"" of type '" "btllib::NtHash *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (bool)(arg1)->peek(); - resultobj = SWIG_From_bool(static_cast< bool >(result)); + arg1 = reinterpret_cast< btllib::NtHash * >(argp1); + delete_btllib_NtHash(arg1); + resultobj = SWIG_Py_Void(); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_NtHash) /* defines _wrap_delete_NtHash_destructor_closure */ + +SWIGINTERN PyObject *_wrap_BlindNtHash_roll(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + char arg2 ; void *argp1 = 0 ; int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; bool result; - (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_roll" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (bool)(arg1)->peek_back(); + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_roll" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + result = (bool)(arg1)->roll(arg2); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -37122,29 +35540,30 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_0(PyObject *self, Py_ssize } -SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BlindNtHash_roll_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; + PyObject *swig_obj[2] ; bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_roll_back" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeedNtHash_peek" "', argument " "2"" of type '" "char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_roll_back" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); - result = (bool)(arg1)->peek(arg2); + result = (bool)(arg1)->roll_back(arg2); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -37152,58 +35571,30 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_1(PyObject *self, Py_ssize_t no } -SWIGINTERN PyObject *_wrap_SeedNtHash_peek(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_SeedNtHash_peek__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 2) { - PyObject *retobj = _wrap_SeedNtHash_peek__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_peek'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedNtHash::peek()\n" - " btllib::SeedNtHash::peek(char)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BlindNtHash_peek(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; char arg2 ; void *argp1 = 0 ; int res1 = 0 ; char val2 ; int ecode2 = 0 ; + PyObject *swig_obj[2] ; bool result; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_peek" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); if (!SWIG_IsOK(ecode2)) { - SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeedNtHash_peek_back" "', argument " "2"" of type '" "char""'"); + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_peek" "', argument " "2"" of type '" "char""'"); } arg2 = static_cast< char >(val2); - result = (bool)(arg1)->peek_back(arg2); + result = (bool)(arg1)->peek(arg2); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -37211,97 +35602,75 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_1(PyObject *self, Py_ssize } -SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek_back", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 1) { - PyObject *retobj = _wrap_SeedNtHash_peek_back__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 2) { - PyObject *retobj = _wrap_SeedNtHash_peek_back__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_peek_back'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedNtHash::peek_back()\n" - " btllib::SeedNtHash::peek_back(char)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_SeedNtHash_hashes(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_peek_back(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + char arg2 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t *result = 0 ; + char val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_hashes", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_hashes" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->hashes(); - - resultobj = PyTuple_New(arg1->get_hash_num()); - for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { - PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_peek_back" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); } - + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "BlindNtHash_peek_back" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + result = (bool)(arg1)->peek_back(arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BlindNtHash_sub(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - std::string *arg2 = 0 ; - size_t arg3 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + std::vector< unsigned int,std::allocator< unsigned int > > *arg2 = 0 ; + std::vector< unsigned char,std::allocator< unsigned char > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - size_t val3 ; - int ecode3 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + PyObject *swig_obj[3] ; - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_sub", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_change_seq" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_sub" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; + res2 = swig::asptr(swig_obj[0], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_sub" "', argument " "2"" of type '" "std::vector< unsigned int,std::allocator< unsigned int > > const &""'"); } arg2 = ptr; } - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedNtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->change_seq((std::string const &)*arg2,arg3); + res3 = SWIG_ConvertPtr(swig_obj[1], &argp3, SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t, 0 | 0); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "BlindNtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_sub" "', argument " "3"" of type '" "std::vector< unsigned char,std::allocator< unsigned char > > const &""'"); + } + arg3 = reinterpret_cast< std::vector< unsigned char,std::allocator< unsigned char > > * >(argp3); + (arg1)->sub((std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg2,(std::vector< unsigned char,std::allocator< unsigned char > > const &)*arg3); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -37311,86 +35680,48 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_0(PyObject *self, Py_ssiz } -SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BlindNtHash_hashes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; - std::string *arg2 = 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[1] ; + uint64_t *result = 0 ; - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_hashes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_change_seq" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); - } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_hashes" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); } - (arg1)->change_seq((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (uint64_t *)((btllib::BlindNtHash const *)arg1)->hashes(); - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - PyObject *retobj = _wrap_SeedNtHash_change_seq__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_SeedNtHash_change_seq__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; + resultobj = PyTuple_New(arg1->get_hash_num()); + for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { + PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); } + return resultobj; fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_change_seq'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::SeedNtHash::change_seq(std::string const &,size_t)\n" - " btllib::SeedNtHash::change_seq(std::string const &)\n"); - return 0; + return NULL; } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_pos(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_get_pos(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_pos", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_pos", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_pos" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_pos" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = ((btllib::SeedNtHash const *)arg1)->get_pos(); + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = ((btllib::BlindNtHash const *)arg1)->get_pos(); resultobj = SWIG_From_size_t(static_cast< size_t >(result)); return resultobj; fail: @@ -37398,21 +35729,21 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_pos(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_SeedNtHash_forward(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_forward(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_forward", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_forward", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_forward" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_forward" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (bool)((btllib::SeedNtHash const *)arg1)->forward(); + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (bool)((btllib::BlindNtHash const *)arg1)->forward(); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -37420,21 +35751,21 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_forward(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_get_hash_num(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_hash_num" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_hash_num" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_hash_num(); + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (unsigned int)((btllib::BlindNtHash const *)arg1)->get_hash_num(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -37442,21 +35773,21 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num(PyObject *self, PyObject *arg } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num_per_seed(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_get_k(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_k" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_hash_num_per_seed(); + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (unsigned int)((btllib::BlindNtHash const *)arg1)->get_k(); resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); return resultobj; fail: @@ -37464,234 +35795,285 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num_per_seed(PyObject *self, PyOb } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_k(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_get_forward_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - unsigned int result; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_k", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_k" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_k(); - resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (uint64_t)((btllib::BlindNtHash const *)arg1)->get_forward_hash(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_forward_hash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_get_reverse_hash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t *result = 0 ; + PyObject *swig_obj[1] ; + uint64_t result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::BlindNtHash const *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->get_forward_hash(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + result = (uint64_t)((btllib::BlindNtHash const *)arg1)->get_reverse_hash(); + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SeedNtHash_get_reverse_hash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + std::string *arg2 = 0 ; + size_t arg3 ; void *argp1 = 0 ; int res1 = 0 ; - uint64_t *result = 0 ; + int res2 = SWIG_OLDOBJ ; + size_t val3 ; + int ecode3 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_change_seq" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "BlindNtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->change_seq((std::string const &)*arg2,arg3); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "BlindNtHash_change_seq" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "BlindNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->get_reverse_hash(); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + (arg1)->change_seq((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; fail: + if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN int _wrap_new_SeedNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "BlindNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + PyObject *retobj = _wrap_BlindNtHash_change_seq__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_BlindNtHash_change_seq__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'BlindNtHash_change_seq'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::BlindNtHash::change_seq(std::string const &,size_t)\n" + " btllib::BlindNtHash::change_seq(std::string const &)\n"); + return 0; +} + + +SWIGINTERN int _wrap_new_BlindNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string arg1 ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; + unsigned int arg2 ; unsigned int arg3 ; - unsigned int arg4 ; - size_t arg5 ; - int res2 = SWIG_OLDOBJ ; + size_t arg4 ; + unsigned int val2 ; + int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; - unsigned int val4 ; + size_t val4 ; int ecode4 = 0 ; - size_t val5 ; - int ecode5 = 0 ; - btllib::SeedNtHash *result = 0 ; + btllib::BlindNtHash *result = 0 ; - (void)self; - if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SeedNtHash" "', argument " "1"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BlindNtHash" "', argument " "1"" of type '" "std::string""'"); } arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - arg2 = ptr; - } + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BlindNtHash" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedNtHash" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BlindNtHash" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedNtHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); - if (!SWIG_IsOK(ecode5)) { - SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedNtHash" "', argument " "5"" of type '" "size_t""'"); + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BlindNtHash" "', argument " "4"" of type '" "size_t""'"); } - arg5 = static_cast< size_t >(val5); - result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(SWIG_STD_MOVE(arg1),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4,SWIG_STD_MOVE(arg5)); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res2)) delete arg2; + arg4 = static_cast< size_t >(val4); + result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return -1; } -SWIGINTERN int _wrap_new_SeedNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN int _wrap_new_BlindNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::string arg1 ; - std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; + unsigned int arg2 ; unsigned int arg3 ; - unsigned int arg4 ; - int res2 = SWIG_OLDOBJ ; + unsigned int val2 ; + int ecode2 = 0 ; unsigned int val3 ; int ecode3 = 0 ; - unsigned int val4 ; - int ecode4 = 0 ; - btllib::SeedNtHash *result = 0 ; + btllib::BlindNtHash *result = 0 ; - (void)self; - if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); if (!SWIG_IsOK(res) || !ptr) { - SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SeedNtHash" "', argument " "1"" of type '" "std::string""'"); + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_BlindNtHash" "', argument " "1"" of type '" "std::string""'"); } arg1 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - { - std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); - } - arg2 = ptr; - } + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_BlindNtHash" "', argument " "2"" of type '" "unsigned int""'"); + } + arg2 = static_cast< unsigned int >(val2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedNtHash" "', argument " "3"" of type '" "unsigned int""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BlindNtHash" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); - ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); - if (!SWIG_IsOK(ecode4)) { - SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedNtHash" "', argument " "4"" of type '" "unsigned int""'"); - } - arg4 = static_cast< unsigned int >(val4); - result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(SWIG_STD_MOVE(arg1),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4); - resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); - if (SWIG_IsNewObj(res2)) delete arg2; + result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(arg1,arg2,arg3); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return -1; } -SWIGINTERN int _wrap_new_SeedNtHash(PyObject *self, PyObject *args, PyObject *kwargs) { +SWIGINTERN int _wrap_new_BlindNtHash(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[6] = { + PyObject *argv[5] = { 0 }; - (void)self; - if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedNtHash")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedNtHash", 0, 5, argv))) SWIG_fail; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BlindNtHash")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_BlindNtHash", 0, 4, argv))) SWIG_fail; --argc; - if (argc == 4) { - int retval = _wrap_new_SeedNtHash__SWIG_1(self, argc, argv); + if (argc == 3) { + int retval = _wrap_new_BlindNtHash__SWIG_1(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } - if (argc == 5) { - int retval = _wrap_new_SeedNtHash__SWIG_0(self, argc, argv); + if (argc == 4) { + int retval = _wrap_new_BlindNtHash__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedNtHash'.\n" + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_BlindNtHash'.\n" " Possible C/C++ prototypes are:\n" - " btllib::SeedNtHash::SeedNtHash(std::string,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int,size_t)\n" - " btllib::SeedNtHash::SeedNtHash(std::string,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int)\n"); + " btllib::BlindNtHash::BlindNtHash(std::string,unsigned int,unsigned int,size_t)\n" + " btllib::BlindNtHash::BlindNtHash(std::string,unsigned int,unsigned int)\n"); return -1; } -SWIGINTERN PyObject *_wrap_delete_SeedNtHash(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_delete_BlindNtHash(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "delete_SeedNtHash", 0, 0, 0)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_Python_UnpackTuple(args, "delete_BlindNtHash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedNtHash" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_BlindNtHash" "', argument " "1"" of type '" "btllib::BlindNtHash *""'"); } - arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); - delete_btllib_SeedNtHash(arg1); + arg1 = reinterpret_cast< btllib::BlindNtHash * >(argp1); + delete_btllib_BlindNtHash(arg1); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -37699,278 +36081,269 @@ SWIGINTERN PyObject *_wrap_delete_SeedNtHash(PyObject *self, PyObject *args) { } -SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedNtHash) /* defines _wrap_delete_SeedNtHash_destructor_closure */ - -SWIGINTERN int Swig_var_PRINT_COLOR_INFO_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_INFO is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_PRINT_COLOR_INFO_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_INFO); - return pyobj; -} - - -SWIGINTERN int Swig_var_PRINT_COLOR_WARNING_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_WARNING is read-only."); - return 1; -} - +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_BlindNtHash) /* defines _wrap_delete_BlindNtHash_destructor_closure */ -SWIGINTERN PyObject *Swig_var_PRINT_COLOR_WARNING_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedNtHash_roll(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_WARNING); - return pyobj; -} - - -SWIGINTERN int Swig_var_PRINT_COLOR_ERROR_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_ERROR is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_roll" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (bool)(arg1)->roll(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_PRINT_COLOR_ERROR_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedNtHash_roll_back(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_ERROR); - return pyobj; -} - - -SWIGINTERN int Swig_var_PRINT_COLOR_END_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable PRINT_COLOR_END is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll_back", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_roll_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (bool)(arg1)->roll_back(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_PRINT_COLOR_END_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool result; - (void)self; - pyobj = SWIG_FromCharPtr(btllib::PRINT_COLOR_END); - return pyobj; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (bool)(arg1)->peek(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *_wrap_get_time(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; - std::string result; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool result; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "get_time", 0, 0, 0)) SWIG_fail; - result = btllib::get_time(); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (bool)(arg1)->peek_back(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_log_info(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_info" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_info" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - btllib::log_info((std::string const &)*arg1); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeedNtHash_peek" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + result = (bool)(arg1)->peek(arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_log_warning(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; +SWIGINTERN PyObject *_wrap_SeedNtHash_peek(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_warning" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_warning" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 1) { + PyObject *retobj = _wrap_SeedNtHash_peek__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - btllib::log_warning((std::string const &)*arg1); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj; + if (argc == 2) { + PyObject *retobj = _wrap_SeedNtHash_peek__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_peek'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeedNtHash::peek()\n" + " btllib::SeedNtHash::peek(char)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_log_error(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + char arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + char val2 ; + int ecode2 = 0 ; + bool result; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "log_error" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "log_error" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_peek_back" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - btllib::log_error((std::string const &)*arg1); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + ecode2 = SWIG_AsVal_char(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SeedNtHash_peek_back" "', argument " "2"" of type '" "char""'"); + } + arg2 = static_cast< char >(val2); + result = (bool)(arg1)->peek_back(arg2); + resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: - if (SWIG_IsNewObj(res1)) delete arg1; return NULL; } -SWIGINTERN PyObject *_wrap_check_info(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - bool arg1 ; - std::string *arg2 = 0 ; - bool val1 ; - int ecode1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; +SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "check_info", 2, 2, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_info" "', argument " "1"" of type '" "bool""'"); - } - arg1 = static_cast< bool >(val1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_info" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_info" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek_back", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 1) { + PyObject *retobj = _wrap_SeedNtHash_peek_back__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - btllib::check_info(arg1,(std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; + if (argc == 2) { + PyObject *retobj = _wrap_SeedNtHash_peek_back__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_peek_back'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeedNtHash::peek_back()\n" + " btllib::SeedNtHash::peek_back(char)\n"); + return 0; } -SWIGINTERN PyObject *_wrap_check_warning(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_hashes(PyObject *self, PyObject *args) { PyObject *resultobj = 0; - bool arg1 ; - std::string *arg2 = 0 ; - bool val1 ; - int ecode1 = 0 ; - int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t *result = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "check_warning", 2, 2, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_warning" "', argument " "1"" of type '" "bool""'"); - } - arg1 = static_cast< bool >(val1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_warning" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_warning" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_hashes", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_hashes" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); } - btllib::check_warning(arg1,(std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->hashes(); + + resultobj = PyTuple_New(arg1->get_hash_num()); + for (unsigned i = 0; i < arg1->get_hash_num(); ++i) { + PyTuple_SetItem(resultobj, i, PyLong_FromUnsignedLong(result[i])); + } + return resultobj; fail: - if (SWIG_IsNewObj(res2)) delete arg2; return NULL; } -SWIGINTERN PyObject *_wrap_check_error(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - bool arg1 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; std::string *arg2 = 0 ; - bool val1 ; - int ecode1 = 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; + size_t val3 ; + int ecode3 = 0 ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "check_error", 2, 2, swig_obj)) SWIG_fail; - ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); - if (!SWIG_IsOK(ecode1)) { - SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "check_error" "', argument " "1"" of type '" "bool""'"); - } - arg1 = static_cast< bool >(val1); + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_change_seq" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_error" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_error" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - btllib::check_error(arg1,(std::string const &)*arg2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SeedNtHash_change_seq" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->change_seq((std::string const &)*arg2,arg3); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -37980,51 +36353,32 @@ SWIGINTERN PyObject *_wrap_check_error(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_get_strerror(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - std::string result; - - (void)self; - if (!SWIG_Python_UnpackTuple(args, "get_strerror", 0, 0, 0)) SWIG_fail; - result = btllib::get_strerror(); - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_check_stream(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; - std::ios *arg1 = 0 ; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; std::string *arg2 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - PyObject *swig_obj[2] ; - (void)self; - if (!SWIG_Python_UnpackTuple(args, "check_stream", 2, 2, swig_obj)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0); + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_stream" "', argument " "1"" of type '" "std::ios const &""'"); - } - if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_stream" "', argument " "1"" of type '" "std::ios const &""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_change_seq" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); } - arg1 = reinterpret_cast< std::ios * >(argp1); + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); { std::string *ptr = (std::string *)0; res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "check_stream" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_stream" "', argument " "2"" of type '" "std::string const &""'"); + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SeedNtHash_change_seq" "', argument " "2"" of type '" "std::string const &""'"); } arg2 = ptr; } - btllib::check_stream((std::basic_ios< char,std::char_traits< char > > const &)*arg1,(std::string const &)*arg2); + (arg1)->change_seq((std::string const &)*arg2); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj; @@ -38034,473 +36388,360 @@ SWIGINTERN PyObject *_wrap_check_stream(PyObject *self, PyObject *args) { } -SWIGINTERN PyObject *_wrap_check_file_accessibility(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - std::string *arg1 = 0 ; - int res1 = SWIG_OLDOBJ ; - PyObject *swig_obj[1] ; +SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - { - std::string *ptr = (std::string *)0; - res1 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "check_file_accessibility" "', argument " "1"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "check_file_accessibility" "', argument " "1"" of type '" "std::string const &""'"); - } - arg1 = ptr; + if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + PyObject *retobj = _wrap_SeedNtHash_change_seq__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_SeedNtHash_change_seq__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; } - btllib::check_file_accessibility((std::string const &)*arg1); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res1)) delete arg1; - return resultobj; -fail: - if (SWIG_IsNewObj(res1)) delete arg1; - return NULL; -} - - -SWIGINTERN int Swig_var_CP_OFF_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable CP_OFF is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_CP_OFF_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_char(static_cast< unsigned char >(btllib::CP_OFF)); - return pyobj; -} - - -SWIGINTERN int Swig_var_MULTISHIFT_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MULTISHIFT is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_MULTISHIFT_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_int(static_cast< int >(btllib::MULTISHIFT)); - return pyobj; -} - - -SWIGINTERN int Swig_var_MULTISEED_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MULTISEED is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_MULTISEED_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::MULTISEED)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_A_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_A is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_A_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_A)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_C_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_C is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_C_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_C)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_G_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_G is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_G_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_G)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_T_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_T is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_T_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_T)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_N_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_N is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_N_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< uint64_t >(btllib::SEED_N)); - return pyobj; -} - - -SWIGINTERN int Swig_var_ASCII_SIZE_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable ASCII_SIZE is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_ASCII_SIZE_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_From_int(static_cast< int >(btllib::ASCII_SIZE)); - return pyobj; -} - - -SWIGINTERN int Swig_var_SEED_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable SEED_TAB is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_SEED_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::SEED_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_A33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable A33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_A33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_A31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable A31L is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_A31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::A31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_C33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable C33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_C33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_C31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable C31L is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_C31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::C31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_G33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable G33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_G33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_G31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable G31L is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_G31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::G31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_T33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable T33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_T33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_T31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable T31L is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_T31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::T31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_N33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable N33R is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_N33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::N33R), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_N31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable N31L is read-only."); - return 1; -} - - -SWIGINTERN PyObject *Swig_var_N31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::N31L), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_MS_TAB_33R_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MS_TAB_33R is read-only."); - return 1; +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SeedNtHash_change_seq'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeedNtHash::change_seq(std::string const &,size_t)\n" + " btllib::SeedNtHash::change_seq(std::string const &)\n"); + return 0; } -SWIGINTERN PyObject *Swig_var_MS_TAB_33R_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedNtHash_get_pos(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::MS_TAB_33R), SWIGTYPE_p_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_MS_TAB_31L_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable MS_TAB_31L is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_pos", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_pos" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = ((btllib::SeedNtHash const *)arg1)->get_pos(); + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_MS_TAB_31L_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedNtHash_forward(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::MS_TAB_31L), SWIGTYPE_p_p_unsigned_long_long, 0 ); - return pyobj; -} - - -SWIGINTERN int Swig_var_CONVERT_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable CONVERT_TAB is read-only."); - return 1; + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_forward", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_forward" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (bool)((btllib::SeedNtHash const *)arg1)->forward(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_CONVERT_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::CONVERT_TAB), SWIGTYPE_p_unsigned_char, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_hash_num" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_hash_num(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_RC_CONVERT_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable RC_CONVERT_TAB is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num_per_seed(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; + + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_hash_num_per_seed" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_hash_num_per_seed(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_RC_CONVERT_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedNtHash_get_k(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + unsigned int result; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::RC_CONVERT_TAB), SWIGTYPE_p_unsigned_char, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_k", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_k" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (unsigned int)((btllib::SeedNtHash const *)arg1)->get_k(); + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_DIMER_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable DIMER_TAB is read-only."); - return 1; +SWIGINTERN PyObject *_wrap_SeedNtHash_get_forward_hash(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t *result = 0 ; + + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_forward_hash" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->get_forward_hash(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + return resultobj; +fail: + return NULL; } -SWIGINTERN PyObject *Swig_var_DIMER_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_SeedNtHash_get_reverse_hash(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint64_t *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::DIMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SeedNtHash_get_reverse_hash" "', argument " "1"" of type '" "btllib::SeedNtHash const *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + result = (uint64_t *)((btllib::SeedNtHash const *)arg1)->get_reverse_hash(); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + return resultobj; +fail: + return NULL; } -SWIGINTERN int Swig_var_TRIMER_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable TRIMER_TAB is read-only."); - return 1; +SWIGINTERN int _wrap_new_SeedNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; + size_t arg5 ; + int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + size_t val5 ; + int ecode5 = 0 ; + btllib::SeedNtHash *result = 0 ; + + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SeedNtHash" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedNtHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedNtHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + ecode5 = SWIG_AsVal_size_t(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedNtHash" "', argument " "5"" of type '" "size_t""'"); + } + arg5 = static_cast< size_t >(val5); + result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(arg1,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return -1; } -SWIGINTERN PyObject *Swig_var_TRIMER_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN int _wrap_new_SeedNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *arg2 = 0 ; + unsigned int arg3 ; + unsigned int arg4 ; + int res2 = SWIG_OLDOBJ ; + unsigned int val3 ; + int ecode3 = 0 ; + unsigned int val4 ; + int ecode4 = 0 ; + btllib::SeedNtHash *result = 0 ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::TRIMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_SeedNtHash" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + { + std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SeedNtHash" "', argument " "2"" of type '" "std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &""'"); + } + arg2 = ptr; + } + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SeedNtHash" "', argument " "3"" of type '" "unsigned int""'"); + } + arg3 = static_cast< unsigned int >(val3); + ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedNtHash" "', argument " "4"" of type '" "unsigned int""'"); + } + arg4 = static_cast< unsigned int >(val4); + result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(arg1,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj == Py_None ? -1 : 0; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return -1; } -SWIGINTERN int Swig_var_TETRAMER_TAB_set(PyObject *) { - SWIG_Error(SWIG_AttributeError,"Variable TETRAMER_TAB is read-only."); - return 1; +SWIGINTERN int _wrap_new_SeedNtHash(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[6] = { + 0 + }; + + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedNtHash")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedNtHash", 0, 5, argv))) SWIG_fail; + --argc; + if (argc == 4) { + int retval = _wrap_new_SeedNtHash__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 5) { + int retval = _wrap_new_SeedNtHash__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SeedNtHash'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::SeedNtHash::SeedNtHash(std::string,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int,size_t)\n" + " btllib::SeedNtHash::SeedNtHash(std::string,std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > const &,unsigned int,unsigned int)\n"); + return -1; } -SWIGINTERN PyObject *Swig_var_TETRAMER_TAB_get(void) { - PyObject *pyobj = 0; - PyObject *self = 0; +SWIGINTERN PyObject *_wrap_delete_SeedNtHash(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; - pyobj = SWIG_NewPointerObj(SWIG_as_voidptr(btllib::TETRAMER_TAB), SWIGTYPE_p_unsigned_long_long, 0 ); - return pyobj; + if (!SWIG_Python_UnpackTuple(args, "delete_SeedNtHash", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SeedNtHash" "', argument " "1"" of type '" "btllib::SeedNtHash *""'"); + } + arg1 = reinterpret_cast< btllib::SeedNtHash * >(argp1); + delete_btllib_SeedNtHash(arg1); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; } +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedNtHash) /* defines _wrap_delete_SeedNtHash_destructor_closure */ + SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; btllib::CountingBloomFilter< uint8_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::CountingBloomFilter< uint8_t > *)new btllib::CountingBloomFilter< uint8_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); @@ -38521,7 +36762,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_1(PyObject *self, Py_ssize_t int ecode2 = 0 ; btllib::CountingBloomFilter< uint8_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -38560,7 +36800,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_2(PyObject *self, Py_ssize_t int ecode2 = 0 ; btllib::CountingBloomFilter< uint8_t > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -38586,7 +36825,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_3(PyObject *self, Py_ssize_t int res1 = SWIG_OLDOBJ ; btllib::CountingBloomFilter< uint8_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -38615,7 +36853,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8(PyObject *self, PyObject *args, Py 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter8")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter8", 0, 3, argv))) SWIG_fail; --argc; @@ -38660,7 +36897,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert__SWIG_0(PyObject *self, P void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38688,7 +36924,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert__SWIG_1(PyObject *self, P int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38722,7 +36957,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -38752,208 +36986,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->remove((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_remove", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter8_remove__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter8_remove__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_remove'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::remove(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint8_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->clear((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_clear", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter8_clear__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter8_clear__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_clear'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint8_t >::clear(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint8_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; @@ -38964,7 +36996,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_0(PyObject *self, int res2 = 0 ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38993,7 +37024,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_1(PyObject *self, int res2 = SWIG_OLDOBJ ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39027,7 +37057,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains(PyObject *self, PyObjec 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -39067,7 +37096,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert__SWIG_0(PyObject int res2 = 0 ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39096,7 +37124,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert__SWIG_1(PyObject int res2 = SWIG_OLDOBJ ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39130,7 +37157,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert(PyObject *self, 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -39170,7 +37196,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains__SWIG_0(PyObject int res2 = 0 ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39199,7 +37224,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains__SWIG_1(PyObject int res2 = SWIG_OLDOBJ ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39233,7 +37257,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains(PyObject *self, 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -39276,7 +37299,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_0(P int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39313,7 +37335,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_1(P int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39352,7 +37373,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains(PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -39397,7 +37417,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_0(P int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39434,7 +37453,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_1(P int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39473,7 +37491,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh(PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -39510,9 +37527,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_bytes(PyObject *self, PyObje btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39537,7 +37554,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt__SWIG_0(PyObject *se int ecode2 = 0 ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39564,7 +37580,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt__SWIG_1(PyObject *se int res1 = 0 ; uint64_t result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39585,7 +37600,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt(PyObject *self, PyOb 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -39618,7 +37632,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy__SWIG_0(PyObject * int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39645,7 +37658,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy__SWIG_1(PyObject * int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39666,7 +37678,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy(PyObject *self, Py 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -39694,9 +37705,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_hash_num(PyObject *self, PyO btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39721,7 +37732,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr__SWIG_0(PyObject *self, int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39748,7 +37758,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr__SWIG_1(PyObject *self, int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39769,7 +37778,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -39797,9 +37805,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_hash_fn(PyObject *self, PyOb btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39823,7 +37831,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_save(PyObject *self, PyObject *a int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); @@ -39859,7 +37866,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_is_bloom_file(PyObject *self, Py PyObject *swig_obj[1] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -39888,8 +37894,8 @@ SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter8(PyObject *self, PyObject btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter8", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -39910,7 +37916,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_0(PyObject *self, Py_ssize_ PyObject *resultobj = 0; btllib::CountingBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::CountingBloomFilter< uint16_t > *)new btllib::CountingBloomFilter< uint16_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); @@ -39931,7 +37936,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_1(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -39970,7 +37974,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_2(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -39996,7 +37999,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_3(PyObject *self, Py_ssize_ int res1 = SWIG_OLDOBJ ; btllib::CountingBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -40025,7 +38027,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16(PyObject *self, PyObject *args, P 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter16")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter16", 0, 3, argv))) SWIG_fail; --argc; @@ -40070,7 +38071,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert__SWIG_0(PyObject *self, void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40098,7 +38098,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert__SWIG_1(PyObject *self, int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40132,7 +38131,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -40162,208 +38160,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->remove((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_remove", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter16_remove__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter16_remove__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_remove'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::remove(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint16_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->clear((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_clear", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter16_clear__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter16_clear__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_clear'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint16_t >::clear(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint16_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; @@ -40374,7 +38170,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_0(PyObject *self int res2 = 0 ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40403,7 +38198,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_1(PyObject *self int res2 = SWIG_OLDOBJ ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40437,7 +38231,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains(PyObject *self, PyObje 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -40477,7 +38270,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert__SWIG_0(PyObjec int res2 = 0 ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40506,7 +38298,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40540,7 +38331,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert(PyObject *self, 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -40580,7 +38370,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains__SWIG_0(PyObjec int res2 = 0 ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40609,7 +38398,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40643,7 +38431,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains(PyObject *self, 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -40686,7 +38473,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_0( int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40723,7 +38509,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_1( int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40762,7 +38547,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains(PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -40807,7 +38591,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_0( int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40844,7 +38627,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_1( int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40883,7 +38665,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh(PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -40920,9 +38701,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_bytes(PyObject *self, PyObj btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40947,7 +38728,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt__SWIG_0(PyObject *s int ecode2 = 0 ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40974,7 +38754,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt__SWIG_1(PyObject *s int res1 = 0 ; uint64_t result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40995,7 +38774,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt(PyObject *self, PyO 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -41028,7 +38806,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy__SWIG_0(PyObject int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41055,7 +38832,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy__SWIG_1(PyObject int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41076,7 +38852,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy(PyObject *self, P 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -41104,9 +38879,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_hash_num(PyObject *self, Py btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41131,7 +38906,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr__SWIG_0(PyObject *self, int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41158,7 +38932,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr__SWIG_1(PyObject *self, int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41179,7 +38952,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr(PyObject *self, PyObjec 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -41207,9 +38979,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_hash_fn(PyObject *self, PyO btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41233,7 +39005,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_save(PyObject *self, PyObject * int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); @@ -41269,7 +39040,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_is_bloom_file(PyObject *self, P PyObject *swig_obj[1] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -41298,8 +39068,8 @@ SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter16(PyObject *self, PyObject btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter16", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -41320,7 +39090,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_0(PyObject *self, Py_ssize_ PyObject *resultobj = 0; btllib::CountingBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::CountingBloomFilter< uint32_t > *)new btllib::CountingBloomFilter< uint32_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); @@ -41341,7 +39110,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_1(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -41380,7 +39148,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_2(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -41406,7 +39173,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_3(PyObject *self, Py_ssize_ int res1 = SWIG_OLDOBJ ; btllib::CountingBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -41435,7 +39201,6 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32(PyObject *self, PyObject *args, P 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter32")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter32", 0, 3, argv))) SWIG_fail; --argc; @@ -41480,7 +39245,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert__SWIG_0(PyObject *self, void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41508,7 +39272,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert__SWIG_1(PyObject *self, int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41542,7 +39305,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert(PyObject *self, PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -41572,208 +39334,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert(PyObject *self, PyObject } -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->remove((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_remove", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter32_remove__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter32_remove__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_remove'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::remove(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint32_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->clear((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_clear", 0, 2, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_CountingBloomFilter32_clear__SWIG_0(self, argc, argv); - } -check_1: - - if (argc == 2) { - PyObject *retobj = _wrap_CountingBloomFilter32_clear__SWIG_1(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_clear'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::CountingBloomFilter< uint32_t >::clear(uint64_t const *)\n" - " btllib::CountingBloomFilter< uint32_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; @@ -41784,7 +39344,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_0(PyObject *self int res2 = 0 ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41813,7 +39372,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_1(PyObject *self int res2 = SWIG_OLDOBJ ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41847,7 +39405,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains(PyObject *self, PyObje 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -41887,7 +39444,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert__SWIG_0(PyObjec int res2 = 0 ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41916,7 +39472,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41950,7 +39505,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert(PyObject *self, 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -41990,7 +39544,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains__SWIG_0(PyObjec int res2 = 0 ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42019,7 +39572,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42053,7 +39605,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains(PyObject *self, 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -42096,7 +39647,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_0( int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42133,7 +39683,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_1( int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42172,7 +39721,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains(PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -42217,7 +39765,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_0( int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42254,7 +39801,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_1( int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42293,7 +39839,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh(PyObject 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -42330,9 +39875,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_bytes(PyObject *self, PyObj btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42357,7 +39902,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_0(PyObject *s int ecode2 = 0 ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42384,7 +39928,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_1(PyObject *s int res1 = 0 ; uint64_t result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42405,7 +39948,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt(PyObject *self, PyO 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -42438,7 +39980,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_0(PyObject int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42465,7 +40006,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_1(PyObject int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42486,7 +40026,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy(PyObject *self, P 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -42514,9 +40053,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_num(PyObject *self, Py btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42541,7 +40080,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_0(PyObject *self, int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42568,7 +40106,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_1(PyObject *self, int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42589,7 +40126,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr(PyObject *self, PyObjec 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -42617,9 +40153,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_fn(PyObject *self, PyO btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42643,7 +40179,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_save(PyObject *self, PyObject * int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); @@ -42679,7 +40214,6 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_is_bloom_file(PyObject *self, P PyObject *swig_obj[1] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -42708,8 +40242,8 @@ SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter32(PyObject *self, PyObject btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter32", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -42730,7 +40264,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_0(PyObject *self, Py_ssi PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::KmerCountingBloomFilter< uint8_t > *)new btllib::KmerCountingBloomFilter< uint8_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); @@ -42753,7 +40286,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_1(PyObject *self, Py_ssi int ecode3 = 0 ; btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -42784,7 +40316,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_2(PyObject *self, Py_ssi int res1 = SWIG_OLDOBJ ; btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -42813,7 +40344,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8(PyObject *self, PyObject *args 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter8")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter8", 0, 3, argv))) SWIG_fail; --argc; @@ -42856,7 +40386,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_0(PyObject *sel size_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42891,7 +40420,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_1(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42928,7 +40456,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_2(PyObject *sel void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42956,7 +40483,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_3(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42990,7 +40516,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert(PyObject *self, PyObj 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -43038,396 +40563,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert(PyObject *self, PyObj } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->remove((char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - (arg1)->remove((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->remove((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_remove", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter8_remove__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter8_remove__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_remove__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_remove__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_remove'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::remove(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::remove(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::remove(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->clear((char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - (arg1)->clear((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->clear((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_clear", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter8_clear__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter8_clear__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_clear__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter8_clear__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_clear'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint8_t >::clear(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::clear(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::clear(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint8_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; @@ -43442,7 +40577,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_0(PyObject *s int ecode3 = 0 ; uint64_t result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43478,7 +40612,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_1(PyObject *s int res2 = SWIG_OLDOBJ ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43516,7 +40649,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_2(PyObject *s int res2 = 0 ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43545,7 +40677,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_3(PyObject *s int res2 = SWIG_OLDOBJ ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43579,7 +40710,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains(PyObject *self, PyO 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -43641,7 +40771,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_0(PyOb int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43677,7 +40806,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_1(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43715,7 +40843,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_2(PyOb int res2 = 0 ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43744,7 +40871,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_3(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43778,7 +40904,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert(PyObject *se 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -43840,7 +40965,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_0(PyOb int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43876,7 +41000,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_1(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43914,7 +41037,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_2(PyOb int res2 = 0 ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43943,7 +41065,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_3(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43977,7 +41098,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains(PyObject *se 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -44042,7 +41162,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode4 = 0 ; unsigned char result; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44086,7 +41205,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44132,7 +41250,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44169,7 +41286,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44208,7 +41324,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains(PyObj 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -44277,7 +41392,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode4 = 0 ; unsigned char result; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44321,7 +41435,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44367,7 +41480,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44404,7 +41516,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode3 = 0 ; unsigned char result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44443,7 +41554,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh(PyObj 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -44500,9 +41610,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_bytes(PyObject *self, Py btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44527,7 +41637,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_0(PyObject int ecode2 = 0 ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44554,7 +41663,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_1(PyObject int res1 = 0 ; uint64_t result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44575,7 +41683,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt(PyObject *self, 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -44608,7 +41715,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_0(PyObje int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44635,7 +41741,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_1(PyObje int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44656,7 +41761,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy(PyObject *self 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -44684,9 +41788,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_num(PyObject *self, btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44711,7 +41815,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_0(PyObject *se int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44738,7 +41841,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_1(PyObject *se int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44759,7 +41861,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr(PyObject *self, PyOb 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -44787,9 +41888,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_k(PyObject *self, PyObje btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44809,9 +41910,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_fn(PyObject *self, btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44831,9 +41932,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_counting_bloom_filter(Py btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; btllib::CountingBloomFilter< unsigned char > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44857,7 +41958,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_save(PyObject *self, PyObjec int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); @@ -44893,7 +41993,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_is_bloom_file(PyObject *self PyObject *swig_obj[1] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -44922,8 +42021,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter8(PyObject *self, PyObj btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter8", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -44944,7 +42043,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_0(PyObject *self, Py_ss PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::KmerCountingBloomFilter< uint16_t > *)new btllib::KmerCountingBloomFilter< uint16_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); @@ -44967,7 +42065,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_1(PyObject *self, Py_ss int ecode3 = 0 ; btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -44998,7 +42095,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_2(PyObject *self, Py_ss int res1 = SWIG_OLDOBJ ; btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -45027,7 +42123,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16(PyObject *self, PyObject *arg 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter16")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter16", 0, 3, argv))) SWIG_fail; --argc; @@ -45070,7 +42165,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_0(PyObject *se size_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45105,7 +42199,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_1(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45142,7 +42235,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_2(PyObject *se void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45170,7 +42262,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_3(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45204,7 +42295,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert(PyObject *self, PyOb 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -45252,396 +42342,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert(PyObject *self, PyOb } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->remove((char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - (arg1)->remove((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->remove((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_remove", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter16_remove__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter16_remove__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_remove__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_remove__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_remove'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::remove(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::remove(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::remove(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->clear((char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - (arg1)->clear((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->clear((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_clear", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter16_clear__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter16_clear__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_clear__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter16_clear__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_clear'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint16_t >::clear(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::clear(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::clear(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint16_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; @@ -45656,7 +42356,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_0(PyObject * int ecode3 = 0 ; uint64_t result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45692,7 +42391,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_1(PyObject * int res2 = SWIG_OLDOBJ ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45730,7 +42428,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_2(PyObject * int res2 = 0 ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45759,7 +42456,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_3(PyObject * int res2 = SWIG_OLDOBJ ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45793,7 +42489,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains(PyObject *self, Py 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -45855,7 +42550,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_0(PyO int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45891,7 +42585,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45929,7 +42622,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_2(PyO int res2 = 0 ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45958,7 +42650,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45992,7 +42683,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert(PyObject *s 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -46054,7 +42744,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_0(PyO int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46090,7 +42779,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46128,7 +42816,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_2(PyO int res2 = 0 ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46157,7 +42844,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46191,7 +42877,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains(PyObject *s 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -46256,7 +42941,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode4 = 0 ; unsigned short result; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46300,7 +42984,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46346,7 +43029,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46383,7 +43065,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46422,7 +43103,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains(PyOb 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -46491,7 +43171,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode4 = 0 ; unsigned short result; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46535,7 +43214,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46581,7 +43259,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46618,7 +43295,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned short result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46657,7 +43333,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh(PyOb 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -46714,9 +43389,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_bytes(PyObject *self, P btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46741,7 +43416,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_0(PyObjec int ecode2 = 0 ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46768,7 +43442,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_1(PyObjec int res1 = 0 ; uint64_t result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46789,7 +43462,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt(PyObject *self, 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -46822,7 +43494,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_0(PyObj int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46849,7 +43520,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_1(PyObj int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46870,7 +43540,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy(PyObject *sel 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -46898,9 +43567,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_num(PyObject *self btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46925,7 +43594,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_0(PyObject *s int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46952,7 +43620,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_1(PyObject *s int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -46973,7 +43640,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr(PyObject *self, PyO 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -47001,9 +43667,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_k(PyObject *self, PyObj btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47023,9 +43689,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_fn(PyObject *self, btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47045,9 +43711,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_counting_bloom_filter(P btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; btllib::CountingBloomFilter< unsigned short > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47071,7 +43737,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_save(PyObject *self, PyObje int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); @@ -47107,7 +43772,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_is_bloom_file(PyObject *sel PyObject *swig_obj[1] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -47136,8 +43800,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter16(PyObject *self, PyOb btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter16", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -47158,7 +43822,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_0(PyObject *self, Py_ss PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::KmerCountingBloomFilter< uint32_t > *)new btllib::KmerCountingBloomFilter< uint32_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); @@ -47181,7 +43844,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_1(PyObject *self, Py_ss int ecode3 = 0 ; btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -47212,7 +43874,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_2(PyObject *self, Py_ss int res1 = SWIG_OLDOBJ ; btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -47241,7 +43902,6 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32(PyObject *self, PyObject *arg 0 }; - (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter32")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter32", 0, 3, argv))) SWIG_fail; --argc; @@ -47284,7 +43944,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_0(PyObject *se size_t val3 ; int ecode3 = 0 ; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47319,7 +43978,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_1(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47356,7 +44014,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_2(PyObject *se void *argp2 = 0 ; int res2 = 0 ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47384,7 +44041,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_3(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47418,7 +44074,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert(PyObject *self, PyOb 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -47466,396 +44121,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert(PyObject *self, PyOb } -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->remove((char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - (arg1)->remove((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->remove((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_remove", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter32_remove__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter32_remove__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_remove__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_remove__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_remove'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::remove(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::remove(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::remove(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - char *arg2 = (char *) 0 ; - size_t arg3 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 ; - char *buf2 = 0 ; - int alloc2 = 0 ; - size_t val3 ; - int ecode3 = 0 ; - - (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "char const *""'"); - } - arg2 = reinterpret_cast< char * >(buf2); - ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "3"" of type '" "size_t""'"); - } - arg3 = static_cast< size_t >(val3); - (arg1)->clear((char const *)arg2,arg3); - resultobj = SWIG_Py_Void(); - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return resultobj; -fail: - if (alloc2 == SWIG_NEWOBJ) delete[] buf2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::string *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - { - std::string *ptr = (std::string *)0; - res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::string const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::string const &""'"); - } - arg2 = ptr; - } - (arg1)->clear((std::string const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - uint64_t *arg2 = (uint64_t *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 = 0 ; - int res2 = 0 ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "uint64_t const *""'"); - } - arg2 = reinterpret_cast< uint64_t * >(argp2); - (arg1)->clear((uint64_t const *)arg2); - resultobj = SWIG_Py_Void(); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; - std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - int res2 = SWIG_OLDOBJ ; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); - } - arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); - { - std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; - res2 = swig::asptr(swig_obj[1], &ptr); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - if (!ptr) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); - } - arg2 = ptr; - } - (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); - resultobj = SWIG_Py_Void(); - if (SWIG_IsNewObj(res2)) delete arg2; - return resultobj; -fail: - if (SWIG_IsNewObj(res2)) delete arg2; - return NULL; -} - - -SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - (void)self; - if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_clear", 0, 3, argv+1))) SWIG_fail; - argv[0] = self; - if (argc == 2) { - int _v = 0; - { - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_1; - return _wrap_KmerCountingBloomFilter32_clear__SWIG_2(self, argc, argv); - } -check_1: - - if (argc == 2) { - int _v = 0; - { - int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); - _v = SWIG_CheckState(res); - } - if (!_v) goto check_2; - return _wrap_KmerCountingBloomFilter32_clear__SWIG_1(self, argc, argv); - } -check_2: - - if (argc == 2) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_clear__SWIG_3(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - if (argc == 3) { - PyObject *retobj = _wrap_KmerCountingBloomFilter32_clear__SWIG_0(self, argc, argv); - if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; - SWIG_fail; - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_clear'.\n" - " Possible C/C++ prototypes are:\n" - " btllib::KmerCountingBloomFilter< uint32_t >::clear(char const *,size_t)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::clear(std::string const &)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::clear(uint64_t const *)\n" - " btllib::KmerCountingBloomFilter< uint32_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); - return 0; -} - - SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; @@ -47870,7 +44135,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_0(PyObject * int ecode3 = 0 ; uint64_t result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47906,7 +44170,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_1(PyObject * int res2 = SWIG_OLDOBJ ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47944,7 +44207,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_2(PyObject * int res2 = 0 ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -47973,7 +44235,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_3(PyObject * int res2 = SWIG_OLDOBJ ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48007,7 +44268,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains(PyObject *self, Py 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -48069,7 +44329,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_0(PyO int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48105,7 +44364,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48143,7 +44401,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_2(PyO int res2 = 0 ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48172,7 +44429,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48206,7 +44462,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert(PyObject *s 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -48268,7 +44523,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_0(PyO int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48304,7 +44558,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48342,7 +44595,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_2(PyO int res2 = 0 ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48371,7 +44623,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48405,7 +44656,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains(PyObject *s 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -48470,7 +44720,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode4 = 0 ; unsigned int result; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48514,7 +44763,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48560,7 +44808,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48597,7 +44844,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48636,7 +44882,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains(PyOb 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -48705,7 +44950,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode4 = 0 ; unsigned int result; - (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48749,7 +44993,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48795,7 +45038,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48832,7 +45074,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned int result; - (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48871,7 +45112,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh(PyOb 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -48928,9 +45168,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_bytes(PyObject *self, P btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; size_t result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48955,7 +45195,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_0(PyObjec int ecode2 = 0 ; uint64_t result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -48982,7 +45221,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_1(PyObjec int res1 = 0 ; uint64_t result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49003,7 +45241,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt(PyObject *self, 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -49036,7 +45273,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_0(PyObj int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49063,7 +45299,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_1(PyObj int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49084,7 +45319,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy(PyObject *sel 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -49112,9 +45346,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_hash_num(PyObject *self btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49139,7 +45373,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr__SWIG_0(PyObject *s int ecode2 = 0 ; double result; - (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49166,7 +45399,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr__SWIG_1(PyObject *s int res1 = 0 ; double result; - (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49187,7 +45419,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr(PyObject *self, PyO 0 }; - (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -49215,9 +45446,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_k(PyObject *self, PyObj btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; unsigned int result; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49237,9 +45468,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_hash_fn(PyObject *self, btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; std::string *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49259,9 +45490,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_counting_bloom_filter(P btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; btllib::CountingBloomFilter< unsigned int > *result = 0 ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -49285,7 +45516,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_save(PyObject *self, PyObje int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); @@ -49321,7 +45551,6 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_is_bloom_file(PyObject *sel PyObject *swig_obj[1] ; bool result; - (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -49350,8 +45579,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter32(PyObject *self, PyOb btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; - (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter32", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -49369,6 +45598,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter32(PyObject *self, PyOb SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerCountingBloomFilter32) /* defines _wrap_delete_KmerCountingBloomFilter32_destructor_closure */ static PyMethodDef SwigMethods[] = { + { "SWIG_PyInstanceMethod_New", SWIG_PyInstanceMethod_New, METH_O, NULL}, + { "SWIG_PyStaticMethod_New", SWIG_PyStaticMethod_New, METH_O, NULL}, { "ios_base_boolalpha_get", _wrap_ios_base_boolalpha_get, METH_VARARGS, NULL}, { "ios_base_dec_get", _wrap_ios_base_dec_get, METH_VARARGS, NULL}, { "ios_base_fixed_get", _wrap_ios_base_fixed_get, METH_VARARGS, NULL}, @@ -49400,9 +45631,27 @@ static PyMethodDef SwigMethods[] = { { "ios_base_beg_get", _wrap_ios_base_beg_get, METH_VARARGS, NULL}, { "ios_base_cur_get", _wrap_ios_base_cur_get, METH_VARARGS, NULL}, { "ios_base_end_get", _wrap_ios_base_end_get, METH_VARARGS, NULL}, + { "ios_base_sync_with_stdio", _wrap_ios_base_sync_with_stdio, METH_VARARGS, NULL}, + { "ios_base_xalloc", _wrap_ios_base_xalloc, METH_NOARGS, NULL}, { "endl", _wrap_endl, METH_O, "swig_ptr: endl_cb_ptr"}, { "ends", _wrap_ends, METH_O, "swig_ptr: ends_cb_ptr"}, { "flush", _wrap_flush, METH_O, "swig_ptr: flush_cb_ptr"}, + { "BloomFilter_save", _wrap_BloomFilter_save, METH_VARARGS, NULL}, + { "BloomFilter_is_bloom_file", _wrap_BloomFilter_is_bloom_file, METH_O, NULL}, + { "BloomFilter_check_file_signature", _wrap_BloomFilter_check_file_signature, METH_VARARGS, NULL}, + { "KmerBloomFilter_is_bloom_file", _wrap_KmerBloomFilter_is_bloom_file, METH_O, NULL}, + { "SeedBloomFilter_is_bloom_file", _wrap_SeedBloomFilter_is_bloom_file, METH_O, NULL}, + { "split", _wrap_split, METH_VARARGS, NULL}, + { "join", _wrap_join, METH_VARARGS, NULL}, + { "ltrim", _wrap_ltrim, METH_VARARGS, NULL}, + { "rtrim", _wrap_rtrim, METH_VARARGS, NULL}, + { "trim", _wrap_trim, METH_VARARGS, NULL}, + { "startswith", _wrap_startswith, METH_VARARGS, NULL}, + { "endswith", _wrap_endswith, METH_VARARGS, NULL}, + { "get_basename", _wrap_get_basename, METH_O, NULL}, + { "get_dirname", _wrap_get_dirname, METH_O, NULL}, + { "reverse_complement", _wrap_reverse_complement, METH_O, NULL}, + { "get_reverse_complement", _wrap_get_reverse_complement, METH_O, NULL}, { "srol", _wrap_srol, METH_VARARGS, NULL}, { "sror", _wrap_sror, METH_O, NULL}, { "ntf64", _wrap_ntf64, METH_VARARGS, NULL}, @@ -49418,20 +45667,6 @@ static PyMethodDef SwigMethods[] = { { "sub_hash", _wrap_sub_hash, METH_VARARGS, NULL}, { "ntmsm64", _wrap_ntmsm64, METH_VARARGS, NULL}, { "ntmsm64l", _wrap_ntmsm64l, METH_VARARGS, NULL}, - { "split", _wrap_split, METH_VARARGS, NULL}, - { "join", _wrap_join, METH_VARARGS, NULL}, - { "ltrim", _wrap_ltrim, METH_VARARGS, NULL}, - { "rtrim", _wrap_rtrim, METH_VARARGS, NULL}, - { "trim", _wrap_trim, METH_VARARGS, NULL}, - { "startswith", _wrap_startswith, METH_VARARGS, NULL}, - { "endswith", _wrap_endswith, METH_VARARGS, NULL}, - { "get_basename", _wrap_get_basename, METH_O, NULL}, - { "get_dirname", _wrap_get_dirname, METH_O, NULL}, - { "reverse_complement", _wrap_reverse_complement, METH_O, NULL}, - { "get_reverse_complement", _wrap_get_reverse_complement, METH_O, NULL}, - { "parse_seeds", _wrap_parse_seeds, METH_VARARGS, NULL}, - { "parsed_seeds_to_blocks", _wrap_parsed_seeds_to_blocks, METH_VARARGS, NULL}, - { "check_seeds", _wrap_check_seeds, METH_VARARGS, NULL}, { "get_time", _wrap_get_time, METH_NOARGS, NULL}, { "log_info", _wrap_log_info, METH_O, NULL}, { "log_warning", _wrap_log_warning, METH_O, NULL}, @@ -49442,10 +45677,21 @@ static PyMethodDef SwigMethods[] = { { "get_strerror", _wrap_get_strerror, METH_NOARGS, NULL}, { "check_stream", _wrap_check_stream, METH_VARARGS, NULL}, { "check_file_accessibility", _wrap_check_file_accessibility, METH_O, NULL}, + { "parse_seeds", _wrap_parse_seeds, METH_VARARGS, NULL}, + { "parsed_seeds_to_blocks", _wrap_parsed_seeds_to_blocks, METH_VARARGS, NULL}, + { "check_seeds", _wrap_check_seeds, METH_VARARGS, NULL}, + { "CountingBloomFilter8_is_bloom_file", _wrap_CountingBloomFilter8_is_bloom_file, METH_O, NULL}, + { "CountingBloomFilter16_is_bloom_file", _wrap_CountingBloomFilter16_is_bloom_file, METH_O, NULL}, + { "CountingBloomFilter32_is_bloom_file", _wrap_CountingBloomFilter32_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter8_is_bloom_file", _wrap_KmerCountingBloomFilter8_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter16_is_bloom_file", _wrap_KmerCountingBloomFilter16_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter32_is_bloom_file", _wrap_KmerCountingBloomFilter32_is_bloom_file, METH_O, NULL}, { NULL, NULL, 0, NULL } }; static PyMethodDef SwigMethods_proxydocs[] = { + { "SWIG_PyInstanceMethod_New", SWIG_PyInstanceMethod_New, METH_O, NULL}, + { "SWIG_PyStaticMethod_New", SWIG_PyStaticMethod_New, METH_O, NULL}, { "ios_base_boolalpha_get", _wrap_ios_base_boolalpha_get, METH_VARARGS, NULL}, { "ios_base_dec_get", _wrap_ios_base_dec_get, METH_VARARGS, NULL}, { "ios_base_fixed_get", _wrap_ios_base_fixed_get, METH_VARARGS, NULL}, @@ -49477,9 +45723,27 @@ static PyMethodDef SwigMethods_proxydocs[] = { { "ios_base_beg_get", _wrap_ios_base_beg_get, METH_VARARGS, NULL}, { "ios_base_cur_get", _wrap_ios_base_cur_get, METH_VARARGS, NULL}, { "ios_base_end_get", _wrap_ios_base_end_get, METH_VARARGS, NULL}, + { "ios_base_sync_with_stdio", _wrap_ios_base_sync_with_stdio, METH_VARARGS, NULL}, + { "ios_base_xalloc", _wrap_ios_base_xalloc, METH_NOARGS, NULL}, { "endl", _wrap_endl, METH_O, "swig_ptr: endl_cb_ptr"}, { "ends", _wrap_ends, METH_O, "swig_ptr: ends_cb_ptr"}, { "flush", _wrap_flush, METH_O, "swig_ptr: flush_cb_ptr"}, + { "BloomFilter_save", _wrap_BloomFilter_save, METH_VARARGS, NULL}, + { "BloomFilter_is_bloom_file", _wrap_BloomFilter_is_bloom_file, METH_O, NULL}, + { "BloomFilter_check_file_signature", _wrap_BloomFilter_check_file_signature, METH_VARARGS, NULL}, + { "KmerBloomFilter_is_bloom_file", _wrap_KmerBloomFilter_is_bloom_file, METH_O, NULL}, + { "SeedBloomFilter_is_bloom_file", _wrap_SeedBloomFilter_is_bloom_file, METH_O, NULL}, + { "split", _wrap_split, METH_VARARGS, NULL}, + { "join", _wrap_join, METH_VARARGS, NULL}, + { "ltrim", _wrap_ltrim, METH_VARARGS, NULL}, + { "rtrim", _wrap_rtrim, METH_VARARGS, NULL}, + { "trim", _wrap_trim, METH_VARARGS, NULL}, + { "startswith", _wrap_startswith, METH_VARARGS, NULL}, + { "endswith", _wrap_endswith, METH_VARARGS, NULL}, + { "get_basename", _wrap_get_basename, METH_O, NULL}, + { "get_dirname", _wrap_get_dirname, METH_O, NULL}, + { "reverse_complement", _wrap_reverse_complement, METH_O, NULL}, + { "get_reverse_complement", _wrap_get_reverse_complement, METH_O, NULL}, { "srol", _wrap_srol, METH_VARARGS, NULL}, { "sror", _wrap_sror, METH_O, NULL}, { "ntf64", _wrap_ntf64, METH_VARARGS, NULL}, @@ -49495,20 +45759,6 @@ static PyMethodDef SwigMethods_proxydocs[] = { { "sub_hash", _wrap_sub_hash, METH_VARARGS, NULL}, { "ntmsm64", _wrap_ntmsm64, METH_VARARGS, NULL}, { "ntmsm64l", _wrap_ntmsm64l, METH_VARARGS, NULL}, - { "split", _wrap_split, METH_VARARGS, NULL}, - { "join", _wrap_join, METH_VARARGS, NULL}, - { "ltrim", _wrap_ltrim, METH_VARARGS, NULL}, - { "rtrim", _wrap_rtrim, METH_VARARGS, NULL}, - { "trim", _wrap_trim, METH_VARARGS, NULL}, - { "startswith", _wrap_startswith, METH_VARARGS, NULL}, - { "endswith", _wrap_endswith, METH_VARARGS, NULL}, - { "get_basename", _wrap_get_basename, METH_O, NULL}, - { "get_dirname", _wrap_get_dirname, METH_O, NULL}, - { "reverse_complement", _wrap_reverse_complement, METH_O, NULL}, - { "get_reverse_complement", _wrap_get_reverse_complement, METH_O, NULL}, - { "parse_seeds", _wrap_parse_seeds, METH_VARARGS, NULL}, - { "parsed_seeds_to_blocks", _wrap_parsed_seeds_to_blocks, METH_VARARGS, NULL}, - { "check_seeds", _wrap_check_seeds, METH_VARARGS, NULL}, { "get_time", _wrap_get_time, METH_NOARGS, NULL}, { "log_info", _wrap_log_info, METH_O, NULL}, { "log_warning", _wrap_log_warning, METH_O, NULL}, @@ -49519,72 +45769,81 @@ static PyMethodDef SwigMethods_proxydocs[] = { { "get_strerror", _wrap_get_strerror, METH_NOARGS, NULL}, { "check_stream", _wrap_check_stream, METH_VARARGS, NULL}, { "check_file_accessibility", _wrap_check_file_accessibility, METH_O, NULL}, + { "parse_seeds", _wrap_parse_seeds, METH_VARARGS, NULL}, + { "parsed_seeds_to_blocks", _wrap_parsed_seeds_to_blocks, METH_VARARGS, NULL}, + { "check_seeds", _wrap_check_seeds, METH_VARARGS, NULL}, + { "CountingBloomFilter8_is_bloom_file", _wrap_CountingBloomFilter8_is_bloom_file, METH_O, NULL}, + { "CountingBloomFilter16_is_bloom_file", _wrap_CountingBloomFilter16_is_bloom_file, METH_O, NULL}, + { "CountingBloomFilter32_is_bloom_file", _wrap_CountingBloomFilter32_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter8_is_bloom_file", _wrap_KmerCountingBloomFilter8_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter16_is_bloom_file", _wrap_KmerCountingBloomFilter16_is_bloom_file, METH_O, NULL}, + { "KmerCountingBloomFilter32_is_bloom_file", _wrap_KmerCountingBloomFilter32_is_bloom_file, METH_O, NULL}, { NULL, NULL, 0, NULL } }; -static SwigPyGetSet ios_base_scientific_getset = { _wrap_ios_base_scientific_get, 0 }; -static PyGetSetDef ios_base_scientific_getset_def = { (char *)"scientific", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.scientific", &ios_base_scientific_getset }; -static SwigPyGetSet ios_base_floatfield_getset = { _wrap_ios_base_floatfield_get, 0 }; -static PyGetSetDef ios_base_floatfield_getset_def = { (char *)"floatfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.floatfield", &ios_base_floatfield_getset }; -static SwigPyGetSet ios_base___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet ios_base_failbit_getset = { _wrap_ios_base_failbit_get, 0 }; -static PyGetSetDef ios_base_failbit_getset_def = { (char *)"failbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.failbit", &ios_base_failbit_getset }; -static SwigPyGetSet ios_base_hex_getset = { _wrap_ios_base_hex_get, 0 }; -static PyGetSetDef ios_base_hex_getset_def = { (char *)"hex", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.hex", &ios_base_hex_getset }; -static SwigPyGetSet ios_base_right_getset = { _wrap_ios_base_right_get, 0 }; -static PyGetSetDef ios_base_right_getset_def = { (char *)"right", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.right", &ios_base_right_getset }; +static SwigPyGetSet ios_base_ios_base_in_getset = { _wrap_ios_base_ios_base_in_get, 0 }; +static PyGetSetDef ios_base_ios_base_in_getset_def = { (char *)"ios_base_in", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ios_base_in", &ios_base_ios_base_in_getset }; static SwigPyGetSet ios_base_basefield_getset = { _wrap_ios_base_basefield_get, 0 }; static PyGetSetDef ios_base_basefield_getset_def = { (char *)"basefield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.basefield", &ios_base_basefield_getset }; -static SwigPyGetSet ios_base_trunc_getset = { _wrap_ios_base_trunc_get, 0 }; -static PyGetSetDef ios_base_trunc_getset_def = { (char *)"trunc", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.trunc", &ios_base_trunc_getset }; -static SwigPyGetSet ios_base_end_getset = { _wrap_ios_base_end_get, 0 }; -static PyGetSetDef ios_base_end_getset_def = { (char *)"end", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.end", &ios_base_end_getset }; -static SwigPyGetSet ios_base_left_getset = { _wrap_ios_base_left_get, 0 }; -static PyGetSetDef ios_base_left_getset_def = { (char *)"left", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.left", &ios_base_left_getset }; -static SwigPyGetSet ios_base_showpoint_getset = { _wrap_ios_base_showpoint_get, 0 }; -static PyGetSetDef ios_base_showpoint_getset_def = { (char *)"showpoint", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpoint", &ios_base_showpoint_getset }; -static SwigPyGetSet ios_base_showpos_getset = { _wrap_ios_base_showpos_get, 0 }; -static PyGetSetDef ios_base_showpos_getset_def = { (char *)"showpos", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpos", &ios_base_showpos_getset }; -static SwigPyGetSet ios_base_boolalpha_getset = { _wrap_ios_base_boolalpha_get, 0 }; -static PyGetSetDef ios_base_boolalpha_getset_def = { (char *)"boolalpha", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.boolalpha", &ios_base_boolalpha_getset }; -static SwigPyGetSet ios_base_eofbit_getset = { _wrap_ios_base_eofbit_get, 0 }; -static PyGetSetDef ios_base_eofbit_getset_def = { (char *)"eofbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.eofbit", &ios_base_eofbit_getset }; -static SwigPyGetSet ios_base_out_getset = { _wrap_ios_base_out_get, 0 }; -static PyGetSetDef ios_base_out_getset_def = { (char *)"out", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.out", &ios_base_out_getset }; +static SwigPyGetSet ios_base_ate_getset = { _wrap_ios_base_ate_get, 0 }; +static PyGetSetDef ios_base_ate_getset_def = { (char *)"ate", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ate", &ios_base_ate_getset }; static SwigPyGetSet ios_base_unitbuf_getset = { _wrap_ios_base_unitbuf_get, 0 }; static PyGetSetDef ios_base_unitbuf_getset_def = { (char *)"unitbuf", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.unitbuf", &ios_base_unitbuf_getset }; +static SwigPyGetSet ios_base_out_getset = { _wrap_ios_base_out_get, 0 }; +static PyGetSetDef ios_base_out_getset_def = { (char *)"out", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.out", &ios_base_out_getset }; +static SwigPyGetSet ios_base_app_getset = { _wrap_ios_base_app_get, 0 }; +static PyGetSetDef ios_base_app_getset_def = { (char *)"app", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.app", &ios_base_app_getset }; +static SwigPyGetSet ios_base_beg_getset = { _wrap_ios_base_beg_get, 0 }; +static PyGetSetDef ios_base_beg_getset_def = { (char *)"beg", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.beg", &ios_base_beg_getset }; +static SwigPyGetSet ios_base_cur_getset = { _wrap_ios_base_cur_get, 0 }; +static PyGetSetDef ios_base_cur_getset_def = { (char *)"cur", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.cur", &ios_base_cur_getset }; static SwigPyGetSet ios_base_oct_getset = { _wrap_ios_base_oct_get, 0 }; static PyGetSetDef ios_base_oct_getset_def = { (char *)"oct", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.oct", &ios_base_oct_getset }; +static SwigPyGetSet ios_base_uppercase_getset = { _wrap_ios_base_uppercase_get, 0 }; +static PyGetSetDef ios_base_uppercase_getset_def = { (char *)"uppercase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.uppercase", &ios_base_uppercase_getset }; static SwigPyGetSet ios_base_internal_getset = { _wrap_ios_base_internal_get, 0 }; static PyGetSetDef ios_base_internal_getset_def = { (char *)"internal", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.internal", &ios_base_internal_getset }; -static SwigPyGetSet ios_base_binary_getset = { _wrap_ios_base_binary_get, 0 }; -static PyGetSetDef ios_base_binary_getset_def = { (char *)"binary", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.binary", &ios_base_binary_getset }; -static SwigPyGetSet ios_base_ios_base_in_getset = { _wrap_ios_base_ios_base_in_get, 0 }; -static PyGetSetDef ios_base_ios_base_in_getset_def = { (char *)"ios_base_in", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ios_base_in", &ios_base_ios_base_in_getset }; +static SwigPyGetSet ios_base_eofbit_getset = { _wrap_ios_base_eofbit_get, 0 }; +static PyGetSetDef ios_base_eofbit_getset_def = { (char *)"eofbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.eofbit", &ios_base_eofbit_getset }; static SwigPyGetSet ios_base_skipws_getset = { _wrap_ios_base_skipws_get, 0 }; static PyGetSetDef ios_base_skipws_getset_def = { (char *)"skipws", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.skipws", &ios_base_skipws_getset }; -static SwigPyGetSet ios_base_uppercase_getset = { _wrap_ios_base_uppercase_get, 0 }; -static PyGetSetDef ios_base_uppercase_getset_def = { (char *)"uppercase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.uppercase", &ios_base_uppercase_getset }; -static SwigPyGetSet ios_base_cur_getset = { _wrap_ios_base_cur_get, 0 }; -static PyGetSetDef ios_base_cur_getset_def = { (char *)"cur", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.cur", &ios_base_cur_getset }; -static SwigPyGetSet ios_base_goodbit_getset = { _wrap_ios_base_goodbit_get, 0 }; -static PyGetSetDef ios_base_goodbit_getset_def = { (char *)"goodbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.goodbit", &ios_base_goodbit_getset }; -static SwigPyGetSet ios_base_app_getset = { _wrap_ios_base_app_get, 0 }; -static PyGetSetDef ios_base_app_getset_def = { (char *)"app", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.app", &ios_base_app_getset }; -static SwigPyGetSet ios_base_dec_getset = { _wrap_ios_base_dec_get, 0 }; -static PyGetSetDef ios_base_dec_getset_def = { (char *)"dec", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.dec", &ios_base_dec_getset }; -static SwigPyGetSet ios_base_adjustfield_getset = { _wrap_ios_base_adjustfield_get, 0 }; -static PyGetSetDef ios_base_adjustfield_getset_def = { (char *)"adjustfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.adjustfield", &ios_base_adjustfield_getset }; -static SwigPyGetSet ios_base_fixed_getset = { _wrap_ios_base_fixed_get, 0 }; -static PyGetSetDef ios_base_fixed_getset_def = { (char *)"fixed", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.fixed", &ios_base_fixed_getset }; -static SwigPyGetSet ios_base_ate_getset = { _wrap_ios_base_ate_get, 0 }; -static PyGetSetDef ios_base_ate_getset_def = { (char *)"ate", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ate", &ios_base_ate_getset }; -static SwigPyGetSet ios_base_beg_getset = { _wrap_ios_base_beg_get, 0 }; -static PyGetSetDef ios_base_beg_getset_def = { (char *)"beg", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.beg", &ios_base_beg_getset }; +static SwigPyGetSet ios_base_failbit_getset = { _wrap_ios_base_failbit_get, 0 }; +static PyGetSetDef ios_base_failbit_getset_def = { (char *)"failbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.failbit", &ios_base_failbit_getset }; +static SwigPyGetSet ios_base___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet ios_base_showpoint_getset = { _wrap_ios_base_showpoint_get, 0 }; +static PyGetSetDef ios_base_showpoint_getset_def = { (char *)"showpoint", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpoint", &ios_base_showpoint_getset }; +static SwigPyGetSet ios_base_showpos_getset = { _wrap_ios_base_showpos_get, 0 }; +static PyGetSetDef ios_base_showpos_getset_def = { (char *)"showpos", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpos", &ios_base_showpos_getset }; +static SwigPyGetSet ios_base_dec_getset = { _wrap_ios_base_dec_get, 0 }; +static PyGetSetDef ios_base_dec_getset_def = { (char *)"dec", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.dec", &ios_base_dec_getset }; +static SwigPyGetSet ios_base_binary_getset = { _wrap_ios_base_binary_get, 0 }; +static PyGetSetDef ios_base_binary_getset_def = { (char *)"binary", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.binary", &ios_base_binary_getset }; +static SwigPyGetSet ios_base_hex_getset = { _wrap_ios_base_hex_get, 0 }; +static PyGetSetDef ios_base_hex_getset_def = { (char *)"hex", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.hex", &ios_base_hex_getset }; static SwigPyGetSet ios_base_showbase_getset = { _wrap_ios_base_showbase_get, 0 }; static PyGetSetDef ios_base_showbase_getset_def = { (char *)"showbase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showbase", &ios_base_showbase_getset }; +static SwigPyGetSet ios_base_right_getset = { _wrap_ios_base_right_get, 0 }; +static PyGetSetDef ios_base_right_getset_def = { (char *)"right", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.right", &ios_base_right_getset }; +static SwigPyGetSet ios_base_boolalpha_getset = { _wrap_ios_base_boolalpha_get, 0 }; +static PyGetSetDef ios_base_boolalpha_getset_def = { (char *)"boolalpha", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.boolalpha", &ios_base_boolalpha_getset }; +static SwigPyGetSet ios_base_goodbit_getset = { _wrap_ios_base_goodbit_get, 0 }; +static PyGetSetDef ios_base_goodbit_getset_def = { (char *)"goodbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.goodbit", &ios_base_goodbit_getset }; +static SwigPyGetSet ios_base_end_getset = { _wrap_ios_base_end_get, 0 }; +static PyGetSetDef ios_base_end_getset_def = { (char *)"end", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.end", &ios_base_end_getset }; +static SwigPyGetSet ios_base_left_getset = { _wrap_ios_base_left_get, 0 }; +static PyGetSetDef ios_base_left_getset_def = { (char *)"left", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.left", &ios_base_left_getset }; static SwigPyGetSet ios_base_badbit_getset = { _wrap_ios_base_badbit_get, 0 }; static PyGetSetDef ios_base_badbit_getset_def = { (char *)"badbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.badbit", &ios_base_badbit_getset }; +static SwigPyGetSet ios_base_fixed_getset = { _wrap_ios_base_fixed_get, 0 }; +static PyGetSetDef ios_base_fixed_getset_def = { (char *)"fixed", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.fixed", &ios_base_fixed_getset }; +static SwigPyGetSet ios_base_scientific_getset = { _wrap_ios_base_scientific_get, 0 }; +static PyGetSetDef ios_base_scientific_getset_def = { (char *)"scientific", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.scientific", &ios_base_scientific_getset }; +static SwigPyGetSet ios_base_adjustfield_getset = { _wrap_ios_base_adjustfield_get, 0 }; +static PyGetSetDef ios_base_adjustfield_getset_def = { (char *)"adjustfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.adjustfield", &ios_base_adjustfield_getset }; +static SwigPyGetSet ios_base_floatfield_getset = { _wrap_ios_base_floatfield_get, 0 }; +static PyGetSetDef ios_base_floatfield_getset_def = { (char *)"floatfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.floatfield", &ios_base_floatfield_getset }; +static SwigPyGetSet ios_base_trunc_getset = { _wrap_ios_base_trunc_get, 0 }; +static PyGetSetDef ios_base_trunc_getset_def = { (char *)"trunc", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.trunc", &ios_base_trunc_getset }; SWIGINTERN PyGetSetDef SwigPyBuiltin__std__ios_base_getset[] = { { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &ios_base___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ @@ -49632,11 +45891,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_ios_base_destructor_closure, /* tp_dealloc */ -#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 @@ -49708,9 +45963,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -49811,15 +46063,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__ios_base_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__ios_base_type}; @@ -49875,11 +46118,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iosT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_ios_destructor_closure, /* tp_dealloc */ -#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 @@ -49951,9 +46190,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iosT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -50054,15 +46290,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iosT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_iosT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_iosT_char_t_type}; @@ -50109,11 +46336,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_ostream_destructor_closure, /* tp_dealloc */ -#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 @@ -50185,9 +46408,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -50288,15 +46508,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_ostreamT_char_t_type}; @@ -50350,11 +46561,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_istream_destructor_closure, /* tp_dealloc */ -#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 @@ -50426,9 +46633,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -50529,504 +46733,18 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif -}; - -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_istreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_istreamT_char_t_type}; - -static SwigPyGetSet iostream___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__basic_iostreamT_char_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &iostream___dict___getset }, - { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ -}; - -SWIGINTERN PyObject * -SwigPyBuiltin__std__basic_iostreamT_char_t_richcompare(PyObject *self, PyObject *other, int op) { - PyObject *result = NULL; - if (!result) { - if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { - result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); - } else { - result = Py_NotImplemented; - Py_INCREF(result); - } - } - return result; -} - -SWIGINTERN PyMethodDef SwigPyBuiltin__std__basic_iostreamT_char_t_methods[] = { - { NULL, NULL, 0, NULL } /* Sentinel */ -}; - -static PyHeapTypeObject SwigPyBuiltin__std__basic_iostreamT_char_t_type = { - { -#if PY_VERSION_HEX >= 0x03000000 - PyVarObject_HEAD_INIT(NULL, 0) -#else - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ -#endif - "btllib.iostream", /* tp_name */ - sizeof(SwigPyObject), /* tp_basicsize */ - 0, /* tp_itemsize */ - _wrap_delete_iostream_destructor_closure, /* tp_dealloc */ -#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 - 0, /* tp_compare */ -#else - (cmpfunc) 0, /* tp_compare */ -#endif - (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__basic_iostreamT_char_t_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__std__basic_iostreamT_char_t_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__std__basic_iostreamT_char_t_type.as_mapping, /* tp_as_mapping */ - SwigPyObject_hash, /* tp_hash */ - (ternaryfunc) 0, /* tp_call */ - (reprfunc) 0, /* tp_str */ - (getattrofunc) 0, /* tp_getattro */ - (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__basic_iostreamT_char_t_type.as_buffer, /* tp_as_buffer */ -#if PY_VERSION_HEX >= 0x03000000 - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ -#else - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ -#endif - "std::basic_iostream< char >", /* tp_doc */ - (traverseproc) 0, /* tp_traverse */ - (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__basic_iostreamT_char_t_richcompare, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ - (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__basic_iostreamT_char_t_methods, /* tp_methods */ - 0, /* tp_members */ - SwigPyBuiltin__std__basic_iostreamT_char_t_getset, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - (descrgetfunc) 0, /* tp_descr_get */ - (descrsetfunc) 0, /* tp_descr_set */ - offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_iostream, /* tp_init */ - (allocfunc) 0, /* tp_alloc */ - (newfunc) 0, /* tp_new */ - (freefunc) 0, /* tp_free */ - (inquiry) 0, /* tp_is_gc */ - (PyObject *) 0, /* tp_bases */ - (PyObject *) 0, /* tp_mro */ - (PyObject *) 0, /* tp_cache */ - (PyObject *) 0, /* tp_subclasses */ - (PyObject *) 0, /* tp_weaklist */ - (destructor) 0, /* tp_del */ - (int) 0, /* tp_version_tag */ -#if PY_VERSION_HEX >= 0x03040000 - (destructor) 0, /* tp_finalize */ -#endif -#if PY_VERSION_HEX >= 0x03080000 - (vectorcallfunc) 0, /* tp_vectorcall */ -#endif -#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) - 0, /* tp_print */ -#endif -#ifdef COUNT_ALLOCS - (Py_ssize_t) 0, /* tp_allocs */ - (Py_ssize_t) 0, /* tp_frees */ - (Py_ssize_t) 0, /* tp_maxalloc */ - 0, /* tp_prev */ - 0, /* tp_next */ -#endif - }, -#if PY_VERSION_HEX >= 0x03050000 - { - (unaryfunc) 0, /* am_await */ - (unaryfunc) 0, /* am_aiter */ - (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif - }, -#endif - { - (binaryfunc) 0, /* nb_add */ - (binaryfunc) 0, /* nb_subtract */ - (binaryfunc) 0, /* nb_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_divide */ -#endif - (binaryfunc) 0, /* nb_remainder */ - (binaryfunc) 0, /* nb_divmod */ - (ternaryfunc) 0, /* nb_power */ - (unaryfunc) 0, /* nb_negative */ - (unaryfunc) 0, /* nb_positive */ - (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ - (unaryfunc) 0, /* nb_invert */ - (binaryfunc) 0, /* nb_lshift */ - (binaryfunc) 0, /* nb_rshift */ - (binaryfunc) 0, /* nb_and */ - (binaryfunc) 0, /* nb_xor */ - (binaryfunc) 0, /* nb_or */ -#if PY_VERSION_HEX < 0x03000000 - (coercion) 0, /* nb_coerce */ -#endif - (unaryfunc) 0, /* nb_int */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* nb_reserved */ -#else - (unaryfunc) 0, /* nb_long */ -#endif - (unaryfunc) 0, /* nb_float */ -#if PY_VERSION_HEX < 0x03000000 - (unaryfunc) 0, /* nb_oct */ - (unaryfunc) 0, /* nb_hex */ -#endif - (binaryfunc) 0, /* nb_inplace_add */ - (binaryfunc) 0, /* nb_inplace_subtract */ - (binaryfunc) 0, /* nb_inplace_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_inplace_divide */ -#endif - (binaryfunc) 0, /* nb_inplace_remainder */ - (ternaryfunc) 0, /* nb_inplace_power */ - (binaryfunc) 0, /* nb_inplace_lshift */ - (binaryfunc) 0, /* nb_inplace_rshift */ - (binaryfunc) 0, /* nb_inplace_and */ - (binaryfunc) 0, /* nb_inplace_xor */ - (binaryfunc) 0, /* nb_inplace_or */ - (binaryfunc) 0, /* nb_floor_divide */ - (binaryfunc) 0, /* nb_true_divide */ - (binaryfunc) 0, /* nb_inplace_floor_divide */ - (binaryfunc) 0, /* nb_inplace_true_divide */ - (unaryfunc) 0, /* nb_index */ -#if PY_VERSION_HEX >= 0x03050000 - (binaryfunc) 0, /* nb_matrix_multiply */ - (binaryfunc) 0, /* nb_inplace_matrix_multiply */ -#endif - }, - { - (lenfunc) 0, /* mp_length */ - (binaryfunc) 0, /* mp_subscript */ - (objobjargproc) 0, /* mp_ass_subscript */ - }, - { - (lenfunc) 0, /* sq_length */ - (binaryfunc) 0, /* sq_concat */ - (ssizeargfunc) 0, /* sq_repeat */ - (ssizeargfunc) 0, /* sq_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_slice */ -#else - (ssizessizeargfunc) 0, /* sq_slice */ -#endif - (ssizeobjargproc) 0, /* sq_ass_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_ass_slice */ -#else - (ssizessizeobjargproc) 0, /* sq_ass_slice */ -#endif - (objobjproc) 0, /* sq_contains */ - (binaryfunc) 0, /* sq_inplace_concat */ - (ssizeargfunc) 0, /* sq_inplace_repeat */ - }, - { -#if PY_VERSION_HEX < 0x03000000 - (readbufferproc) 0, /* bf_getreadbuffer */ - (writebufferproc) 0, /* bf_getwritebuffer */ - (segcountproc) 0, /* bf_getsegcount */ - (charbufferproc) 0, /* bf_getcharbuffer */ -#endif - (getbufferproc) 0, /* bf_getbuffer */ - (releasebufferproc) 0, /* bf_releasebuffer */ - }, - (PyObject *) 0, /* ht_name */ - (PyObject *) 0, /* ht_slots */ -#if PY_VERSION_HEX >= 0x03030000 - (PyObject *) 0, /* ht_qualname */ - 0, /* ht_cached_keys */ -#endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif -}; - -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_iostreamT_char_t_type}; - -static SwigPyGetSet SwigPyIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__swig__SwigPyIterator_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SwigPyIterator___dict___getset }, - { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ -}; - -SWIGINTERN PyObject * -SwigPyBuiltin__swig__SwigPyIterator_richcompare(PyObject *self, PyObject *other, int op) { - PyObject *result = NULL; - switch (op) { - case Py_EQ : result = _wrap_SwigPyIterator___eq__(self, other); break; - case Py_NE : result = _wrap_SwigPyIterator___ne__(self, other); break; - default : break; - } - if (!result) { - if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { - result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); - } else { - result = Py_NotImplemented; - Py_INCREF(result); - } - } - return result; -} - -SWIGINTERN PyMethodDef SwigPyBuiltin__swig__SwigPyIterator_methods[] = { - { "value", _wrap_SwigPyIterator_value, METH_NOARGS, "" }, - { "incr", _wrap_SwigPyIterator_incr, METH_VARARGS, "" }, - { "decr", _wrap_SwigPyIterator_decr, METH_VARARGS, "" }, - { "distance", _wrap_SwigPyIterator_distance, METH_O, "" }, - { "equal", _wrap_SwigPyIterator_equal, METH_O, "" }, - { "copy", _wrap_SwigPyIterator_copy, METH_NOARGS, "" }, - { "next", _wrap_SwigPyIterator_next, METH_NOARGS, "" }, - { "__next__", _wrap_SwigPyIterator___next__, METH_NOARGS, "" }, - { "previous", _wrap_SwigPyIterator_previous, METH_NOARGS, "" }, - { "advance", _wrap_SwigPyIterator_advance, METH_O, "" }, - { "__eq__", _wrap_SwigPyIterator___eq__, METH_O, "" }, - { "__ne__", _wrap_SwigPyIterator___ne__, METH_O, "" }, - { "__iadd__", _wrap_SwigPyIterator___iadd__, METH_O, "" }, - { "__isub__", _wrap_SwigPyIterator___isub__, METH_O, "" }, - { "__add__", _wrap_SwigPyIterator___add__, METH_O, "" }, - { "__sub__", _wrap_SwigPyIterator___sub__, METH_VARARGS, "" }, - { NULL, NULL, 0, NULL } /* Sentinel */ -}; - -static PyHeapTypeObject SwigPyBuiltin__swig__SwigPyIterator_type = { - { -#if PY_VERSION_HEX >= 0x03000000 - PyVarObject_HEAD_INIT(NULL, 0) -#else - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ -#endif - "btllib.SwigPyIterator", /* tp_name */ - sizeof(SwigPyObject), /* tp_basicsize */ - 0, /* tp_itemsize */ - _wrap_delete_SwigPyIterator_destructor_closure, /* tp_dealloc */ -#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 - 0, /* tp_compare */ -#else - (cmpfunc) 0, /* tp_compare */ -#endif - (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__swig__SwigPyIterator_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__swig__SwigPyIterator_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__swig__SwigPyIterator_type.as_mapping, /* tp_as_mapping */ - SwigPyObject_hash, /* tp_hash */ - (ternaryfunc) 0, /* tp_call */ - (reprfunc) 0, /* tp_str */ - (getattrofunc) 0, /* tp_getattro */ - (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__swig__SwigPyIterator_type.as_buffer, /* tp_as_buffer */ -#if PY_VERSION_HEX >= 0x03000000 - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ -#else - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ -#endif - "swig::SwigPyIterator", /* tp_doc */ - (traverseproc) 0, /* tp_traverse */ - (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__swig__SwigPyIterator_richcompare, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - &swig::make_output_iterator_builtin, /* tp_iter */ - _wrap_SwigPyIterator___next___iternextfunc_closure, /* tp_iternext */ - SwigPyBuiltin__swig__SwigPyIterator_methods, /* tp_methods */ - 0, /* tp_members */ - SwigPyBuiltin__swig__SwigPyIterator_getset, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - (descrgetfunc) 0, /* tp_descr_get */ - (descrsetfunc) 0, /* tp_descr_set */ - offsetof(SwigPyObject, dict), /* tp_dictoffset */ - SwigPyBuiltin_BadInit, /* tp_init */ - (allocfunc) 0, /* tp_alloc */ - (newfunc) 0, /* tp_new */ - (freefunc) 0, /* tp_free */ - (inquiry) 0, /* tp_is_gc */ - (PyObject *) 0, /* tp_bases */ - (PyObject *) 0, /* tp_mro */ - (PyObject *) 0, /* tp_cache */ - (PyObject *) 0, /* tp_subclasses */ - (PyObject *) 0, /* tp_weaklist */ - (destructor) 0, /* tp_del */ - (int) 0, /* tp_version_tag */ -#if PY_VERSION_HEX >= 0x03040000 - (destructor) 0, /* tp_finalize */ -#endif -#if PY_VERSION_HEX >= 0x03080000 - (vectorcallfunc) 0, /* tp_vectorcall */ -#endif -#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) - 0, /* tp_print */ -#endif -#ifdef COUNT_ALLOCS - (Py_ssize_t) 0, /* tp_allocs */ - (Py_ssize_t) 0, /* tp_frees */ - (Py_ssize_t) 0, /* tp_maxalloc */ - 0, /* tp_prev */ - 0, /* tp_next */ -#endif - }, -#if PY_VERSION_HEX >= 0x03050000 - { - (unaryfunc) 0, /* am_await */ - (unaryfunc) 0, /* am_aiter */ - (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif - }, -#endif - { - _wrap_SwigPyIterator___add__, /* nb_add */ - _wrap_SwigPyIterator___sub___binaryfunc_closure, /* nb_subtract */ - (binaryfunc) 0, /* nb_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_divide */ -#endif - (binaryfunc) 0, /* nb_remainder */ - (binaryfunc) 0, /* nb_divmod */ - (ternaryfunc) 0, /* nb_power */ - (unaryfunc) 0, /* nb_negative */ - (unaryfunc) 0, /* nb_positive */ - (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ - (unaryfunc) 0, /* nb_invert */ - (binaryfunc) 0, /* nb_lshift */ - (binaryfunc) 0, /* nb_rshift */ - (binaryfunc) 0, /* nb_and */ - (binaryfunc) 0, /* nb_xor */ - (binaryfunc) 0, /* nb_or */ -#if PY_VERSION_HEX < 0x03000000 - (coercion) 0, /* nb_coerce */ -#endif - (unaryfunc) 0, /* nb_int */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* nb_reserved */ -#else - (unaryfunc) 0, /* nb_long */ -#endif - (unaryfunc) 0, /* nb_float */ -#if PY_VERSION_HEX < 0x03000000 - (unaryfunc) 0, /* nb_oct */ - (unaryfunc) 0, /* nb_hex */ -#endif - _wrap_SwigPyIterator___iadd__, /* nb_inplace_add */ - _wrap_SwigPyIterator___isub__, /* nb_inplace_subtract */ - (binaryfunc) 0, /* nb_inplace_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_inplace_divide */ -#endif - (binaryfunc) 0, /* nb_inplace_remainder */ - (ternaryfunc) 0, /* nb_inplace_power */ - (binaryfunc) 0, /* nb_inplace_lshift */ - (binaryfunc) 0, /* nb_inplace_rshift */ - (binaryfunc) 0, /* nb_inplace_and */ - (binaryfunc) 0, /* nb_inplace_xor */ - (binaryfunc) 0, /* nb_inplace_or */ - (binaryfunc) 0, /* nb_floor_divide */ - (binaryfunc) 0, /* nb_true_divide */ - (binaryfunc) 0, /* nb_inplace_floor_divide */ - (binaryfunc) 0, /* nb_inplace_true_divide */ - (unaryfunc) 0, /* nb_index */ -#if PY_VERSION_HEX >= 0x03050000 - (binaryfunc) 0, /* nb_matrix_multiply */ - (binaryfunc) 0, /* nb_inplace_matrix_multiply */ -#endif - }, - { - (lenfunc) 0, /* mp_length */ - (binaryfunc) 0, /* mp_subscript */ - (objobjargproc) 0, /* mp_ass_subscript */ - }, - { - (lenfunc) 0, /* sq_length */ - (binaryfunc) 0, /* sq_concat */ - (ssizeargfunc) 0, /* sq_repeat */ - (ssizeargfunc) 0, /* sq_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_slice */ -#else - (ssizessizeargfunc) 0, /* sq_slice */ -#endif - (ssizeobjargproc) 0, /* sq_ass_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_ass_slice */ -#else - (ssizessizeobjargproc) 0, /* sq_ass_slice */ -#endif - (objobjproc) 0, /* sq_contains */ - (binaryfunc) 0, /* sq_inplace_concat */ - (ssizeargfunc) 0, /* sq_inplace_repeat */ - }, - { -#if PY_VERSION_HEX < 0x03000000 - (readbufferproc) 0, /* bf_getreadbuffer */ - (writebufferproc) 0, /* bf_getwritebuffer */ - (segcountproc) 0, /* bf_getsegcount */ - (charbufferproc) 0, /* bf_getcharbuffer */ -#endif - (getbufferproc) 0, /* bf_getbuffer */ - (releasebufferproc) 0, /* bf_releasebuffer */ - }, - (PyObject *) 0, /* ht_name */ - (PyObject *) 0, /* ht_slots */ -#if PY_VERSION_HEX >= 0x03030000 - (PyObject *) 0, /* ht_qualname */ - 0, /* ht_cached_keys */ -#endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__swig__SwigPyIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__swig__SwigPyIterator_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_istreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_istreamT_char_t_type}; -static SwigPyGetSet VectorString___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_std__string_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorString___dict___getset }, +static SwigPyGetSet iostream___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__basic_iostreamT_char_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &iostream___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__std__vectorT_std__string_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__std__basic_iostreamT_char_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -51039,42 +46757,11 @@ SwigPyBuiltin__std__vectorT_std__string_t_richcompare(PyObject *self, PyObject * return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_std__string_t_methods[] = { - { "iterator", _wrap_VectorString_iterator, METH_NOARGS, "" }, - { "__nonzero__", _wrap_VectorString___nonzero__, METH_NOARGS, "" }, - { "__bool__", _wrap_VectorString___bool__, METH_NOARGS, "" }, - { "__len__", _wrap_VectorString___len__, METH_NOARGS, "" }, - { "__getslice__", _wrap_VectorString___getslice__, METH_VARARGS, "" }, - { "__setslice__", _wrap_VectorString___setslice__, METH_VARARGS, "" }, - { "__delslice__", _wrap_VectorString___delslice__, METH_VARARGS, "" }, - { "__delitem__", _wrap_VectorString___delitem__, METH_VARARGS, "" }, - { "__getitem__", _wrap_VectorString___getitem__, METH_VARARGS, "" }, - { "__setitem__", _wrap_VectorString___setitem__, METH_VARARGS, "" }, - { "pop", _wrap_VectorString_pop, METH_NOARGS, "" }, - { "append", _wrap_VectorString_append, METH_O, "" }, - { "empty", _wrap_VectorString_empty, METH_NOARGS, "" }, - { "size", _wrap_VectorString_size, METH_NOARGS, "" }, - { "swap", _wrap_VectorString_swap, METH_O, "" }, - { "begin", _wrap_VectorString_begin, METH_NOARGS, "" }, - { "end", _wrap_VectorString_end, METH_NOARGS, "" }, - { "rbegin", _wrap_VectorString_rbegin, METH_NOARGS, "" }, - { "rend", _wrap_VectorString_rend, METH_NOARGS, "" }, - { "clear", _wrap_VectorString_clear, METH_NOARGS, "" }, - { "get_allocator", _wrap_VectorString_get_allocator, METH_NOARGS, "" }, - { "pop_back", _wrap_VectorString_pop_back, METH_NOARGS, "" }, - { "resize", _wrap_VectorString_resize, METH_VARARGS, "" }, - { "erase", _wrap_VectorString_erase, METH_VARARGS, "" }, - { "push_back", _wrap_VectorString_push_back, METH_O, "" }, - { "front", _wrap_VectorString_front, METH_NOARGS, "" }, - { "back", _wrap_VectorString_back, METH_NOARGS, "" }, - { "assign", _wrap_VectorString_assign, METH_VARARGS, "" }, - { "insert", _wrap_VectorString_insert, METH_VARARGS, "" }, - { "reserve", _wrap_VectorString_reserve, METH_O, "" }, - { "capacity", _wrap_VectorString_capacity, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__std__basic_iostreamT_char_t_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { +static PyHeapTypeObject SwigPyBuiltin__std__basic_iostreamT_char_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -51082,15 +46769,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.VectorString", /* tp_name */ + "btllib.iostream", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_VectorString_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_iostream_destructor_closure, /* tp_dealloc */ (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 @@ -51099,36 +46782,36 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__vectorT_std__string_t_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__std__vectorT_std__string_t_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__std__vectorT_std__string_t_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__std__basic_iostreamT_char_t_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__std__basic_iostreamT_char_t_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__std__basic_iostreamT_char_t_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__vectorT_std__string_t_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__std__basic_iostreamT_char_t_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "std::vector< std::string >", /* tp_doc */ + "std::basic_iostream< char >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__vectorT_std__string_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__std__basic_iostreamT_char_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_VectorString_iterator_getiterfunc_closure, /* tp_iter */ + (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__vectorT_std__string_t_methods, /* tp_methods */ + SwigPyBuiltin__std__basic_iostreamT_char_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__std__vectorT_std__string_t_getset, /* tp_getset */ + SwigPyBuiltin__std__basic_iostreamT_char_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_VectorString, /* tp_init */ + _wrap_new_iostream, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -51162,9 +46845,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -51180,7 +46860,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_VectorString___nonzero___inquiry_closure, /* nb_nonzero */ + (inquiry) 0, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -51226,11 +46906,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { }, { (lenfunc) 0, /* mp_length */ - _wrap_VectorString___getitem___binaryfunc_closure, /* mp_subscript */ - _wrap_VectorString___setitem___objobjargproc_closure, /* mp_ass_subscript */ + (binaryfunc) 0, /* mp_subscript */ + (objobjargproc) 0, /* mp_ass_subscript */ }, { - _wrap_VectorString___len___lenfunc_closure, /* sq_length */ + (lenfunc) 0, /* sq_length */ (binaryfunc) 0, /* sq_concat */ (ssizeargfunc) 0, /* sq_repeat */ (ssizeargfunc) 0, /* sq_item */ @@ -51265,28 +46945,24 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_std__string_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_std__string_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_iostreamT_char_t_type}; -static SwigPyGetSet VectorInt___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_int_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorInt___dict___getset }, +static SwigPyGetSet SwigPyIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__swig__SwigPyIterator_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SwigPyIterator___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__std__vectorT_int_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__swig__SwigPyIterator_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; + switch (op) { + case Py_EQ : result = _wrap_SwigPyIterator___eq__(self, other); break; + case Py_NE : result = _wrap_SwigPyIterator___ne__(self, other); break; + default : break; + } if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); @@ -51298,42 +46974,27 @@ SwigPyBuiltin__std__vectorT_int_t_richcompare(PyObject *self, PyObject *other, i return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_int_t_methods[] = { - { "iterator", _wrap_VectorInt_iterator, METH_NOARGS, "" }, - { "__nonzero__", _wrap_VectorInt___nonzero__, METH_NOARGS, "" }, - { "__bool__", _wrap_VectorInt___bool__, METH_NOARGS, "" }, - { "__len__", _wrap_VectorInt___len__, METH_NOARGS, "" }, - { "__getslice__", _wrap_VectorInt___getslice__, METH_VARARGS, "" }, - { "__setslice__", _wrap_VectorInt___setslice__, METH_VARARGS, "" }, - { "__delslice__", _wrap_VectorInt___delslice__, METH_VARARGS, "" }, - { "__delitem__", _wrap_VectorInt___delitem__, METH_VARARGS, "" }, - { "__getitem__", _wrap_VectorInt___getitem__, METH_VARARGS, "" }, - { "__setitem__", _wrap_VectorInt___setitem__, METH_VARARGS, "" }, - { "pop", _wrap_VectorInt_pop, METH_NOARGS, "" }, - { "append", _wrap_VectorInt_append, METH_O, "" }, - { "empty", _wrap_VectorInt_empty, METH_NOARGS, "" }, - { "size", _wrap_VectorInt_size, METH_NOARGS, "" }, - { "swap", _wrap_VectorInt_swap, METH_O, "" }, - { "begin", _wrap_VectorInt_begin, METH_NOARGS, "" }, - { "end", _wrap_VectorInt_end, METH_NOARGS, "" }, - { "rbegin", _wrap_VectorInt_rbegin, METH_NOARGS, "" }, - { "rend", _wrap_VectorInt_rend, METH_NOARGS, "" }, - { "clear", _wrap_VectorInt_clear, METH_NOARGS, "" }, - { "get_allocator", _wrap_VectorInt_get_allocator, METH_NOARGS, "" }, - { "pop_back", _wrap_VectorInt_pop_back, METH_NOARGS, "" }, - { "resize", _wrap_VectorInt_resize, METH_VARARGS, "" }, - { "erase", _wrap_VectorInt_erase, METH_VARARGS, "" }, - { "push_back", _wrap_VectorInt_push_back, METH_O, "" }, - { "front", _wrap_VectorInt_front, METH_NOARGS, "" }, - { "back", _wrap_VectorInt_back, METH_NOARGS, "" }, - { "assign", _wrap_VectorInt_assign, METH_VARARGS, "" }, - { "insert", _wrap_VectorInt_insert, METH_VARARGS, "" }, - { "reserve", _wrap_VectorInt_reserve, METH_O, "" }, - { "capacity", _wrap_VectorInt_capacity, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__swig__SwigPyIterator_methods[] = { + { "value", _wrap_SwigPyIterator_value, METH_NOARGS, "" }, + { "incr", _wrap_SwigPyIterator_incr, METH_VARARGS, "" }, + { "decr", _wrap_SwigPyIterator_decr, METH_VARARGS, "" }, + { "distance", _wrap_SwigPyIterator_distance, METH_O, "" }, + { "equal", _wrap_SwigPyIterator_equal, METH_O, "" }, + { "copy", _wrap_SwigPyIterator_copy, METH_NOARGS, "" }, + { "next", _wrap_SwigPyIterator_next, METH_NOARGS, "" }, + { "__next__", _wrap_SwigPyIterator___next__, METH_NOARGS, "" }, + { "previous", _wrap_SwigPyIterator_previous, METH_NOARGS, "" }, + { "advance", _wrap_SwigPyIterator_advance, METH_O, "" }, + { "__eq__", _wrap_SwigPyIterator___eq__, METH_O, "" }, + { "__ne__", _wrap_SwigPyIterator___ne__, METH_O, "" }, + { "__iadd__", _wrap_SwigPyIterator___iadd__, METH_O, "" }, + { "__isub__", _wrap_SwigPyIterator___isub__, METH_O, "" }, + { "__add__", _wrap_SwigPyIterator___add__, METH_O, "" }, + { "__sub__", _wrap_SwigPyIterator___sub__, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { +static PyHeapTypeObject SwigPyBuiltin__swig__SwigPyIterator_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -51341,15 +47002,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.VectorInt", /* tp_name */ + "btllib.SwigPyIterator", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_VectorInt_destructor_closure,/* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SwigPyIterator_destructor_closure, /* tp_dealloc */ (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 @@ -51358,36 +47015,36 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__vectorT_int_t_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__std__vectorT_int_t_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__std__vectorT_int_t_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__swig__SwigPyIterator_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__swig__SwigPyIterator_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__swig__SwigPyIterator_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__vectorT_int_t_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__swig__SwigPyIterator_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "std::vector< int >", /* tp_doc */ + "swig::SwigPyIterator", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__vectorT_int_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__swig__SwigPyIterator_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_VectorInt_iterator_getiterfunc_closure, /* tp_iter */ - (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__vectorT_int_t_methods,/* tp_methods */ + &swig::make_output_iterator_builtin, /* tp_iter */ + _wrap_SwigPyIterator___next___iternextfunc_closure, /* tp_iternext */ + SwigPyBuiltin__swig__SwigPyIterator_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__std__vectorT_int_t_getset, /* tp_getset */ + SwigPyBuiltin__swig__SwigPyIterator_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_VectorInt, /* tp_init */ + SwigPyBuiltin_BadInit, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -51421,14 +47078,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { - (binaryfunc) 0, /* nb_add */ - (binaryfunc) 0, /* nb_subtract */ + _wrap_SwigPyIterator___add__, /* nb_add */ + _wrap_SwigPyIterator___sub___binaryfunc_closure, /* nb_subtract */ (binaryfunc) 0, /* nb_multiply */ #if PY_VERSION_HEX < 0x03000000 (binaryfunc) 0, /* nb_divide */ @@ -51439,7 +47093,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_VectorInt___nonzero___inquiry_closure, /* nb_nonzero */ + (inquiry) 0, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -51460,8 +47114,8 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { (unaryfunc) 0, /* nb_oct */ (unaryfunc) 0, /* nb_hex */ #endif - (binaryfunc) 0, /* nb_inplace_add */ - (binaryfunc) 0, /* nb_inplace_subtract */ + _wrap_SwigPyIterator___iadd__, /* nb_inplace_add */ + _wrap_SwigPyIterator___isub__, /* nb_inplace_subtract */ (binaryfunc) 0, /* nb_inplace_multiply */ #if PY_VERSION_HEX < 0x03000000 (binaryfunc) 0, /* nb_inplace_divide */ @@ -51485,11 +47139,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { }, { (lenfunc) 0, /* mp_length */ - _wrap_VectorInt___getitem___binaryfunc_closure, /* mp_subscript */ - _wrap_VectorInt___setitem___objobjargproc_closure, /* mp_ass_subscript */ + (binaryfunc) 0, /* mp_subscript */ + (objobjargproc) 0, /* mp_ass_subscript */ }, { - _wrap_VectorInt___len___lenfunc_closure, /* sq_length */ + (lenfunc) 0, /* sq_length */ (binaryfunc) 0, /* sq_concat */ (ssizeargfunc) 0, /* sq_repeat */ (ssizeargfunc) 0, /* sq_item */ @@ -51524,27 +47178,18 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_int_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_int_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__swig__SwigPyIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__swig__SwigPyIterator_type}; -static SwigPyGetSet VectorUnsigned___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_unsigned_int_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorUnsigned___dict___getset }, +static SwigPyGetSet VectorString___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_std__string_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorString___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__std__vectorT_unsigned_int_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__std__vectorT_std__string_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -51557,42 +47202,42 @@ SwigPyBuiltin__std__vectorT_unsigned_int_t_richcompare(PyObject *self, PyObject return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_unsigned_int_t_methods[] = { - { "iterator", _wrap_VectorUnsigned_iterator, METH_NOARGS, "" }, - { "__nonzero__", _wrap_VectorUnsigned___nonzero__, METH_NOARGS, "" }, - { "__bool__", _wrap_VectorUnsigned___bool__, METH_NOARGS, "" }, - { "__len__", _wrap_VectorUnsigned___len__, METH_NOARGS, "" }, - { "__getslice__", _wrap_VectorUnsigned___getslice__, METH_VARARGS, "" }, - { "__setslice__", _wrap_VectorUnsigned___setslice__, METH_VARARGS, "" }, - { "__delslice__", _wrap_VectorUnsigned___delslice__, METH_VARARGS, "" }, - { "__delitem__", _wrap_VectorUnsigned___delitem__, METH_VARARGS, "" }, - { "__getitem__", _wrap_VectorUnsigned___getitem__, METH_VARARGS, "" }, - { "__setitem__", _wrap_VectorUnsigned___setitem__, METH_VARARGS, "" }, - { "pop", _wrap_VectorUnsigned_pop, METH_NOARGS, "" }, - { "append", _wrap_VectorUnsigned_append, METH_O, "" }, - { "empty", _wrap_VectorUnsigned_empty, METH_NOARGS, "" }, - { "size", _wrap_VectorUnsigned_size, METH_NOARGS, "" }, - { "swap", _wrap_VectorUnsigned_swap, METH_O, "" }, - { "begin", _wrap_VectorUnsigned_begin, METH_NOARGS, "" }, - { "end", _wrap_VectorUnsigned_end, METH_NOARGS, "" }, - { "rbegin", _wrap_VectorUnsigned_rbegin, METH_NOARGS, "" }, - { "rend", _wrap_VectorUnsigned_rend, METH_NOARGS, "" }, - { "clear", _wrap_VectorUnsigned_clear, METH_NOARGS, "" }, - { "get_allocator", _wrap_VectorUnsigned_get_allocator, METH_NOARGS, "" }, - { "pop_back", _wrap_VectorUnsigned_pop_back, METH_NOARGS, "" }, - { "resize", _wrap_VectorUnsigned_resize, METH_VARARGS, "" }, - { "erase", _wrap_VectorUnsigned_erase, METH_VARARGS, "" }, - { "push_back", _wrap_VectorUnsigned_push_back, METH_O, "" }, - { "front", _wrap_VectorUnsigned_front, METH_NOARGS, "" }, - { "back", _wrap_VectorUnsigned_back, METH_NOARGS, "" }, - { "assign", _wrap_VectorUnsigned_assign, METH_VARARGS, "" }, - { "insert", _wrap_VectorUnsigned_insert, METH_VARARGS, "" }, - { "reserve", _wrap_VectorUnsigned_reserve, METH_O, "" }, - { "capacity", _wrap_VectorUnsigned_capacity, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_std__string_t_methods[] = { + { "iterator", _wrap_VectorString_iterator, METH_NOARGS, "" }, + { "__nonzero__", _wrap_VectorString___nonzero__, METH_NOARGS, "" }, + { "__bool__", _wrap_VectorString___bool__, METH_NOARGS, "" }, + { "__len__", _wrap_VectorString___len__, METH_NOARGS, "" }, + { "__getslice__", _wrap_VectorString___getslice__, METH_VARARGS, "" }, + { "__setslice__", _wrap_VectorString___setslice__, METH_VARARGS, "" }, + { "__delslice__", _wrap_VectorString___delslice__, METH_VARARGS, "" }, + { "__delitem__", _wrap_VectorString___delitem__, METH_VARARGS, "" }, + { "__getitem__", _wrap_VectorString___getitem__, METH_VARARGS, "" }, + { "__setitem__", _wrap_VectorString___setitem__, METH_VARARGS, "" }, + { "pop", _wrap_VectorString_pop, METH_NOARGS, "" }, + { "append", _wrap_VectorString_append, METH_O, "" }, + { "empty", _wrap_VectorString_empty, METH_NOARGS, "" }, + { "size", _wrap_VectorString_size, METH_NOARGS, "" }, + { "swap", _wrap_VectorString_swap, METH_O, "" }, + { "begin", _wrap_VectorString_begin, METH_NOARGS, "" }, + { "end", _wrap_VectorString_end, METH_NOARGS, "" }, + { "rbegin", _wrap_VectorString_rbegin, METH_NOARGS, "" }, + { "rend", _wrap_VectorString_rend, METH_NOARGS, "" }, + { "clear", _wrap_VectorString_clear, METH_NOARGS, "" }, + { "get_allocator", _wrap_VectorString_get_allocator, METH_NOARGS, "" }, + { "pop_back", _wrap_VectorString_pop_back, METH_NOARGS, "" }, + { "resize", _wrap_VectorString_resize, METH_VARARGS, "" }, + { "erase", _wrap_VectorString_erase, METH_VARARGS, "" }, + { "push_back", _wrap_VectorString_push_back, METH_O, "" }, + { "front", _wrap_VectorString_front, METH_NOARGS, "" }, + { "back", _wrap_VectorString_back, METH_NOARGS, "" }, + { "assign", _wrap_VectorString_assign, METH_VARARGS, "" }, + { "insert", _wrap_VectorString_insert, METH_VARARGS, "" }, + { "reserve", _wrap_VectorString_reserve, METH_O, "" }, + { "capacity", _wrap_VectorString_capacity, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { +static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -51600,15 +47245,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.VectorUnsigned", /* tp_name */ + "btllib.VectorString", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_VectorUnsigned_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_VectorString_destructor_closure, /* tp_dealloc */ (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 @@ -51617,36 +47258,36 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__vectorT_unsigned_int_t_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__std__vectorT_unsigned_int_t_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__std__vectorT_unsigned_int_t_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__std__vectorT_std__string_t_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__std__vectorT_std__string_t_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__std__vectorT_std__string_t_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__vectorT_unsigned_int_t_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__std__vectorT_std__string_t_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "std::vector< unsigned int >", /* tp_doc */ + "std::vector< std::string >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__vectorT_unsigned_int_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__std__vectorT_std__string_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_VectorUnsigned_iterator_getiterfunc_closure, /* tp_iter */ + _wrap_VectorString_iterator_getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__vectorT_unsigned_int_t_methods, /* tp_methods */ + SwigPyBuiltin__std__vectorT_std__string_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__std__vectorT_unsigned_int_t_getset, /* tp_getset */ + SwigPyBuiltin__std__vectorT_std__string_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_VectorUnsigned, /* tp_init */ + _wrap_new_VectorString, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -51680,9 +47321,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -51698,7 +47336,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_VectorUnsigned___nonzero___inquiry_closure, /* nb_nonzero */ + _wrap_VectorString___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -51744,11 +47382,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { }, { (lenfunc) 0, /* mp_length */ - _wrap_VectorUnsigned___getitem___binaryfunc_closure, /* mp_subscript */ - _wrap_VectorUnsigned___setitem___objobjargproc_closure, /* mp_ass_subscript */ + _wrap_VectorString___getitem___binaryfunc_closure, /* mp_subscript */ + _wrap_VectorString___setitem___objobjargproc_closure, /* mp_ass_subscript */ }, { - _wrap_VectorUnsigned___len___lenfunc_closure, /* sq_length */ + _wrap_VectorString___len___lenfunc_closure, /* sq_length */ (binaryfunc) 0, /* sq_concat */ (ssizeargfunc) 0, /* sq_repeat */ (ssizeargfunc) 0, /* sq_item */ @@ -51783,27 +47421,18 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_unsigned_int_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_std__string_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_std__string_t_type}; -static SwigPyGetSet VectorDouble___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_double_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorDouble___dict___getset }, +static SwigPyGetSet VectorInt___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_int_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorInt___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__std__vectorT_double_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__std__vectorT_int_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -51816,42 +47445,42 @@ SwigPyBuiltin__std__vectorT_double_t_richcompare(PyObject *self, PyObject *other return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_double_t_methods[] = { - { "iterator", _wrap_VectorDouble_iterator, METH_NOARGS, "" }, - { "__nonzero__", _wrap_VectorDouble___nonzero__, METH_NOARGS, "" }, - { "__bool__", _wrap_VectorDouble___bool__, METH_NOARGS, "" }, - { "__len__", _wrap_VectorDouble___len__, METH_NOARGS, "" }, - { "__getslice__", _wrap_VectorDouble___getslice__, METH_VARARGS, "" }, - { "__setslice__", _wrap_VectorDouble___setslice__, METH_VARARGS, "" }, - { "__delslice__", _wrap_VectorDouble___delslice__, METH_VARARGS, "" }, - { "__delitem__", _wrap_VectorDouble___delitem__, METH_VARARGS, "" }, - { "__getitem__", _wrap_VectorDouble___getitem__, METH_VARARGS, "" }, - { "__setitem__", _wrap_VectorDouble___setitem__, METH_VARARGS, "" }, - { "pop", _wrap_VectorDouble_pop, METH_NOARGS, "" }, - { "append", _wrap_VectorDouble_append, METH_O, "" }, - { "empty", _wrap_VectorDouble_empty, METH_NOARGS, "" }, - { "size", _wrap_VectorDouble_size, METH_NOARGS, "" }, - { "swap", _wrap_VectorDouble_swap, METH_O, "" }, - { "begin", _wrap_VectorDouble_begin, METH_NOARGS, "" }, - { "end", _wrap_VectorDouble_end, METH_NOARGS, "" }, - { "rbegin", _wrap_VectorDouble_rbegin, METH_NOARGS, "" }, - { "rend", _wrap_VectorDouble_rend, METH_NOARGS, "" }, - { "clear", _wrap_VectorDouble_clear, METH_NOARGS, "" }, - { "get_allocator", _wrap_VectorDouble_get_allocator, METH_NOARGS, "" }, - { "pop_back", _wrap_VectorDouble_pop_back, METH_NOARGS, "" }, - { "resize", _wrap_VectorDouble_resize, METH_VARARGS, "" }, - { "erase", _wrap_VectorDouble_erase, METH_VARARGS, "" }, - { "push_back", _wrap_VectorDouble_push_back, METH_O, "" }, - { "front", _wrap_VectorDouble_front, METH_NOARGS, "" }, - { "back", _wrap_VectorDouble_back, METH_NOARGS, "" }, - { "assign", _wrap_VectorDouble_assign, METH_VARARGS, "" }, - { "insert", _wrap_VectorDouble_insert, METH_VARARGS, "" }, - { "reserve", _wrap_VectorDouble_reserve, METH_O, "" }, - { "capacity", _wrap_VectorDouble_capacity, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_int_t_methods[] = { + { "iterator", _wrap_VectorInt_iterator, METH_NOARGS, "" }, + { "__nonzero__", _wrap_VectorInt___nonzero__, METH_NOARGS, "" }, + { "__bool__", _wrap_VectorInt___bool__, METH_NOARGS, "" }, + { "__len__", _wrap_VectorInt___len__, METH_NOARGS, "" }, + { "__getslice__", _wrap_VectorInt___getslice__, METH_VARARGS, "" }, + { "__setslice__", _wrap_VectorInt___setslice__, METH_VARARGS, "" }, + { "__delslice__", _wrap_VectorInt___delslice__, METH_VARARGS, "" }, + { "__delitem__", _wrap_VectorInt___delitem__, METH_VARARGS, "" }, + { "__getitem__", _wrap_VectorInt___getitem__, METH_VARARGS, "" }, + { "__setitem__", _wrap_VectorInt___setitem__, METH_VARARGS, "" }, + { "pop", _wrap_VectorInt_pop, METH_NOARGS, "" }, + { "append", _wrap_VectorInt_append, METH_O, "" }, + { "empty", _wrap_VectorInt_empty, METH_NOARGS, "" }, + { "size", _wrap_VectorInt_size, METH_NOARGS, "" }, + { "swap", _wrap_VectorInt_swap, METH_O, "" }, + { "begin", _wrap_VectorInt_begin, METH_NOARGS, "" }, + { "end", _wrap_VectorInt_end, METH_NOARGS, "" }, + { "rbegin", _wrap_VectorInt_rbegin, METH_NOARGS, "" }, + { "rend", _wrap_VectorInt_rend, METH_NOARGS, "" }, + { "clear", _wrap_VectorInt_clear, METH_NOARGS, "" }, + { "get_allocator", _wrap_VectorInt_get_allocator, METH_NOARGS, "" }, + { "pop_back", _wrap_VectorInt_pop_back, METH_NOARGS, "" }, + { "resize", _wrap_VectorInt_resize, METH_VARARGS, "" }, + { "erase", _wrap_VectorInt_erase, METH_VARARGS, "" }, + { "push_back", _wrap_VectorInt_push_back, METH_O, "" }, + { "front", _wrap_VectorInt_front, METH_NOARGS, "" }, + { "back", _wrap_VectorInt_back, METH_NOARGS, "" }, + { "assign", _wrap_VectorInt_assign, METH_VARARGS, "" }, + { "insert", _wrap_VectorInt_insert, METH_VARARGS, "" }, + { "reserve", _wrap_VectorInt_reserve, METH_O, "" }, + { "capacity", _wrap_VectorInt_capacity, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { +static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -51859,15 +47488,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.VectorDouble", /* tp_name */ + "btllib.VectorInt", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_VectorDouble_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_VectorInt_destructor_closure,/* tp_dealloc */ (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 @@ -51876,36 +47501,36 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__vectorT_double_t_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__std__vectorT_double_t_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__std__vectorT_double_t_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__std__vectorT_int_t_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__std__vectorT_int_t_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__std__vectorT_int_t_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__vectorT_double_t_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__std__vectorT_int_t_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "std::vector< double >", /* tp_doc */ + "std::vector< int >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__vectorT_double_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__std__vectorT_int_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_VectorDouble_iterator_getiterfunc_closure, /* tp_iter */ + _wrap_VectorInt_iterator_getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__vectorT_double_t_methods, /* tp_methods */ + SwigPyBuiltin__std__vectorT_int_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__std__vectorT_double_t_getset, /* tp_getset */ + SwigPyBuiltin__std__vectorT_int_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_VectorDouble, /* tp_init */ + _wrap_new_VectorInt, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -51939,9 +47564,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -51957,7 +47579,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_VectorDouble___nonzero___inquiry_closure, /* nb_nonzero */ + _wrap_VectorInt___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -52003,11 +47625,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { }, { (lenfunc) 0, /* mp_length */ - _wrap_VectorDouble___getitem___binaryfunc_closure, /* mp_subscript */ - _wrap_VectorDouble___setitem___objobjargproc_closure, /* mp_ass_subscript */ + _wrap_VectorInt___getitem___binaryfunc_closure, /* mp_subscript */ + _wrap_VectorInt___setitem___objobjargproc_closure, /* mp_ass_subscript */ }, { - _wrap_VectorDouble___len___lenfunc_closure, /* sq_length */ + _wrap_VectorInt___len___lenfunc_closure, /* sq_length */ (binaryfunc) 0, /* sq_concat */ (ssizeargfunc) 0, /* sq_repeat */ (ssizeargfunc) 0, /* sq_item */ @@ -52042,27 +47664,18 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_double_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_double_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_int_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_int_t_type}; -static SwigPyGetSet VectorUint64t___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_uint64_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorUint64t___dict___getset }, +static SwigPyGetSet VectorUnsigned___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_unsigned_int_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorUnsigned___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__std__vectorT_uint64_t_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__std__vectorT_unsigned_int_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -52075,42 +47688,42 @@ SwigPyBuiltin__std__vectorT_uint64_t_t_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_uint64_t_t_methods[] = { - { "iterator", _wrap_VectorUint64t_iterator, METH_NOARGS, "" }, - { "__nonzero__", _wrap_VectorUint64t___nonzero__, METH_NOARGS, "" }, - { "__bool__", _wrap_VectorUint64t___bool__, METH_NOARGS, "" }, - { "__len__", _wrap_VectorUint64t___len__, METH_NOARGS, "" }, - { "__getslice__", _wrap_VectorUint64t___getslice__, METH_VARARGS, "" }, - { "__setslice__", _wrap_VectorUint64t___setslice__, METH_VARARGS, "" }, - { "__delslice__", _wrap_VectorUint64t___delslice__, METH_VARARGS, "" }, - { "__delitem__", _wrap_VectorUint64t___delitem__, METH_VARARGS, "" }, - { "__getitem__", _wrap_VectorUint64t___getitem__, METH_VARARGS, "" }, - { "__setitem__", _wrap_VectorUint64t___setitem__, METH_VARARGS, "" }, - { "pop", _wrap_VectorUint64t_pop, METH_NOARGS, "" }, - { "append", _wrap_VectorUint64t_append, METH_O, "" }, - { "empty", _wrap_VectorUint64t_empty, METH_NOARGS, "" }, - { "size", _wrap_VectorUint64t_size, METH_NOARGS, "" }, - { "swap", _wrap_VectorUint64t_swap, METH_O, "" }, - { "begin", _wrap_VectorUint64t_begin, METH_NOARGS, "" }, - { "end", _wrap_VectorUint64t_end, METH_NOARGS, "" }, - { "rbegin", _wrap_VectorUint64t_rbegin, METH_NOARGS, "" }, - { "rend", _wrap_VectorUint64t_rend, METH_NOARGS, "" }, - { "clear", _wrap_VectorUint64t_clear, METH_NOARGS, "" }, - { "get_allocator", _wrap_VectorUint64t_get_allocator, METH_NOARGS, "" }, - { "pop_back", _wrap_VectorUint64t_pop_back, METH_NOARGS, "" }, - { "resize", _wrap_VectorUint64t_resize, METH_VARARGS, "" }, - { "erase", _wrap_VectorUint64t_erase, METH_VARARGS, "" }, - { "push_back", _wrap_VectorUint64t_push_back, METH_O, "" }, - { "front", _wrap_VectorUint64t_front, METH_NOARGS, "" }, - { "back", _wrap_VectorUint64t_back, METH_NOARGS, "" }, - { "assign", _wrap_VectorUint64t_assign, METH_VARARGS, "" }, - { "insert", _wrap_VectorUint64t_insert, METH_VARARGS, "" }, - { "reserve", _wrap_VectorUint64t_reserve, METH_O, "" }, - { "capacity", _wrap_VectorUint64t_capacity, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_unsigned_int_t_methods[] = { + { "iterator", _wrap_VectorUnsigned_iterator, METH_NOARGS, "" }, + { "__nonzero__", _wrap_VectorUnsigned___nonzero__, METH_NOARGS, "" }, + { "__bool__", _wrap_VectorUnsigned___bool__, METH_NOARGS, "" }, + { "__len__", _wrap_VectorUnsigned___len__, METH_NOARGS, "" }, + { "__getslice__", _wrap_VectorUnsigned___getslice__, METH_VARARGS, "" }, + { "__setslice__", _wrap_VectorUnsigned___setslice__, METH_VARARGS, "" }, + { "__delslice__", _wrap_VectorUnsigned___delslice__, METH_VARARGS, "" }, + { "__delitem__", _wrap_VectorUnsigned___delitem__, METH_VARARGS, "" }, + { "__getitem__", _wrap_VectorUnsigned___getitem__, METH_VARARGS, "" }, + { "__setitem__", _wrap_VectorUnsigned___setitem__, METH_VARARGS, "" }, + { "pop", _wrap_VectorUnsigned_pop, METH_NOARGS, "" }, + { "append", _wrap_VectorUnsigned_append, METH_O, "" }, + { "empty", _wrap_VectorUnsigned_empty, METH_NOARGS, "" }, + { "size", _wrap_VectorUnsigned_size, METH_NOARGS, "" }, + { "swap", _wrap_VectorUnsigned_swap, METH_O, "" }, + { "begin", _wrap_VectorUnsigned_begin, METH_NOARGS, "" }, + { "end", _wrap_VectorUnsigned_end, METH_NOARGS, "" }, + { "rbegin", _wrap_VectorUnsigned_rbegin, METH_NOARGS, "" }, + { "rend", _wrap_VectorUnsigned_rend, METH_NOARGS, "" }, + { "clear", _wrap_VectorUnsigned_clear, METH_NOARGS, "" }, + { "get_allocator", _wrap_VectorUnsigned_get_allocator, METH_NOARGS, "" }, + { "pop_back", _wrap_VectorUnsigned_pop_back, METH_NOARGS, "" }, + { "resize", _wrap_VectorUnsigned_resize, METH_VARARGS, "" }, + { "erase", _wrap_VectorUnsigned_erase, METH_VARARGS, "" }, + { "push_back", _wrap_VectorUnsigned_push_back, METH_O, "" }, + { "front", _wrap_VectorUnsigned_front, METH_NOARGS, "" }, + { "back", _wrap_VectorUnsigned_back, METH_NOARGS, "" }, + { "assign", _wrap_VectorUnsigned_assign, METH_VARARGS, "" }, + { "insert", _wrap_VectorUnsigned_insert, METH_VARARGS, "" }, + { "reserve", _wrap_VectorUnsigned_reserve, METH_O, "" }, + { "capacity", _wrap_VectorUnsigned_capacity, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { +static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -52118,15 +47731,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.VectorUint64t", /* tp_name */ + "btllib.VectorUnsigned", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_VectorUint64t_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_VectorUnsigned_destructor_closure, /* tp_dealloc */ (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 @@ -52135,36 +47744,36 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__std__vectorT_unsigned_int_t_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__std__vectorT_unsigned_int_t_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__std__vectorT_unsigned_int_t_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__std__vectorT_unsigned_int_t_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "std::vector< uint64_t >", /* tp_doc */ + "std::vector< unsigned int >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__vectorT_uint64_t_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__std__vectorT_unsigned_int_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_VectorUint64t_iterator_getiterfunc_closure, /* tp_iter */ + _wrap_VectorUnsigned_iterator_getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__vectorT_uint64_t_t_methods, /* tp_methods */ + SwigPyBuiltin__std__vectorT_unsigned_int_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__std__vectorT_uint64_t_t_getset, /* tp_getset */ + SwigPyBuiltin__std__vectorT_unsigned_int_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_VectorUint64t, /* tp_init */ + _wrap_new_VectorUnsigned, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -52198,9 +47807,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -52216,7 +47822,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_VectorUint64t___nonzero___inquiry_closure, /* nb_nonzero */ + _wrap_VectorUnsigned___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -52262,11 +47868,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { }, { (lenfunc) 0, /* mp_length */ - _wrap_VectorUint64t___getitem___binaryfunc_closure, /* mp_subscript */ - _wrap_VectorUint64t___setitem___objobjargproc_closure, /* mp_ass_subscript */ + _wrap_VectorUnsigned___getitem___binaryfunc_closure, /* mp_subscript */ + _wrap_VectorUnsigned___setitem___objobjargproc_closure, /* mp_ass_subscript */ }, { - _wrap_VectorUint64t___len___lenfunc_closure, /* sq_length */ + _wrap_VectorUnsigned___len___lenfunc_closure, /* sq_length */ (binaryfunc) 0, /* sq_concat */ (ssizeargfunc) 0, /* sq_repeat */ (ssizeargfunc) 0, /* sq_item */ @@ -52301,27 +47907,18 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_uint64_t_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_unsigned_int_t_type}; -static SwigPyGetSet VectorMinimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorMinimizer___dict___getset }, +static SwigPyGetSet VectorDouble___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_double_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorDouble___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__std__vectorT_double_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -52334,42 +47931,42 @@ SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_richcompare(PyObject *s return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_methods[] = { - { "iterator", _wrap_VectorMinimizer_iterator, METH_NOARGS, "" }, - { "__nonzero__", _wrap_VectorMinimizer___nonzero__, METH_NOARGS, "" }, - { "__bool__", _wrap_VectorMinimizer___bool__, METH_NOARGS, "" }, - { "__len__", _wrap_VectorMinimizer___len__, METH_NOARGS, "" }, - { "__getslice__", _wrap_VectorMinimizer___getslice__, METH_VARARGS, "" }, - { "__setslice__", _wrap_VectorMinimizer___setslice__, METH_VARARGS, "" }, - { "__delslice__", _wrap_VectorMinimizer___delslice__, METH_VARARGS, "" }, - { "__delitem__", _wrap_VectorMinimizer___delitem__, METH_VARARGS, "" }, - { "__getitem__", _wrap_VectorMinimizer___getitem__, METH_VARARGS, "" }, - { "__setitem__", _wrap_VectorMinimizer___setitem__, METH_VARARGS, "" }, - { "pop", _wrap_VectorMinimizer_pop, METH_NOARGS, "" }, - { "append", _wrap_VectorMinimizer_append, METH_O, "" }, - { "empty", _wrap_VectorMinimizer_empty, METH_NOARGS, "" }, - { "size", _wrap_VectorMinimizer_size, METH_NOARGS, "" }, - { "swap", _wrap_VectorMinimizer_swap, METH_O, "" }, - { "begin", _wrap_VectorMinimizer_begin, METH_NOARGS, "" }, - { "end", _wrap_VectorMinimizer_end, METH_NOARGS, "" }, - { "rbegin", _wrap_VectorMinimizer_rbegin, METH_NOARGS, "" }, - { "rend", _wrap_VectorMinimizer_rend, METH_NOARGS, "" }, - { "clear", _wrap_VectorMinimizer_clear, METH_NOARGS, "" }, - { "get_allocator", _wrap_VectorMinimizer_get_allocator, METH_NOARGS, "" }, - { "pop_back", _wrap_VectorMinimizer_pop_back, METH_NOARGS, "" }, - { "resize", _wrap_VectorMinimizer_resize, METH_VARARGS, "" }, - { "erase", _wrap_VectorMinimizer_erase, METH_VARARGS, "" }, - { "push_back", _wrap_VectorMinimizer_push_back, METH_O, "" }, - { "front", _wrap_VectorMinimizer_front, METH_NOARGS, "" }, - { "back", _wrap_VectorMinimizer_back, METH_NOARGS, "" }, - { "assign", _wrap_VectorMinimizer_assign, METH_VARARGS, "" }, - { "insert", _wrap_VectorMinimizer_insert, METH_VARARGS, "" }, - { "reserve", _wrap_VectorMinimizer_reserve, METH_O, "" }, - { "capacity", _wrap_VectorMinimizer_capacity, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_double_t_methods[] = { + { "iterator", _wrap_VectorDouble_iterator, METH_NOARGS, "" }, + { "__nonzero__", _wrap_VectorDouble___nonzero__, METH_NOARGS, "" }, + { "__bool__", _wrap_VectorDouble___bool__, METH_NOARGS, "" }, + { "__len__", _wrap_VectorDouble___len__, METH_NOARGS, "" }, + { "__getslice__", _wrap_VectorDouble___getslice__, METH_VARARGS, "" }, + { "__setslice__", _wrap_VectorDouble___setslice__, METH_VARARGS, "" }, + { "__delslice__", _wrap_VectorDouble___delslice__, METH_VARARGS, "" }, + { "__delitem__", _wrap_VectorDouble___delitem__, METH_VARARGS, "" }, + { "__getitem__", _wrap_VectorDouble___getitem__, METH_VARARGS, "" }, + { "__setitem__", _wrap_VectorDouble___setitem__, METH_VARARGS, "" }, + { "pop", _wrap_VectorDouble_pop, METH_NOARGS, "" }, + { "append", _wrap_VectorDouble_append, METH_O, "" }, + { "empty", _wrap_VectorDouble_empty, METH_NOARGS, "" }, + { "size", _wrap_VectorDouble_size, METH_NOARGS, "" }, + { "swap", _wrap_VectorDouble_swap, METH_O, "" }, + { "begin", _wrap_VectorDouble_begin, METH_NOARGS, "" }, + { "end", _wrap_VectorDouble_end, METH_NOARGS, "" }, + { "rbegin", _wrap_VectorDouble_rbegin, METH_NOARGS, "" }, + { "rend", _wrap_VectorDouble_rend, METH_NOARGS, "" }, + { "clear", _wrap_VectorDouble_clear, METH_NOARGS, "" }, + { "get_allocator", _wrap_VectorDouble_get_allocator, METH_NOARGS, "" }, + { "pop_back", _wrap_VectorDouble_pop_back, METH_NOARGS, "" }, + { "resize", _wrap_VectorDouble_resize, METH_VARARGS, "" }, + { "erase", _wrap_VectorDouble_erase, METH_VARARGS, "" }, + { "push_back", _wrap_VectorDouble_push_back, METH_O, "" }, + { "front", _wrap_VectorDouble_front, METH_NOARGS, "" }, + { "back", _wrap_VectorDouble_back, METH_NOARGS, "" }, + { "assign", _wrap_VectorDouble_assign, METH_VARARGS, "" }, + { "insert", _wrap_VectorDouble_insert, METH_VARARGS, "" }, + { "reserve", _wrap_VectorDouble_reserve, METH_O, "" }, + { "capacity", _wrap_VectorDouble_capacity, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type = { +static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -52377,15 +47974,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.VectorMinimizer", /* tp_name */ + "btllib.VectorDouble", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_VectorMinimizer_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_VectorDouble_destructor_closure, /* tp_dealloc */ (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 @@ -52394,36 +47987,36 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__std__vectorT_double_t_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__std__vectorT_double_t_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__std__vectorT_double_t_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__std__vectorT_double_t_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "std::vector< btllib::Indexlr::Minimizer >", /* tp_doc */ + "std::vector< double >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_richcompare,/* tp_richcompare */ + SwigPyBuiltin__std__vectorT_double_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_VectorMinimizer_iterator_getiterfunc_closure, /* tp_iter */ + _wrap_VectorDouble_iterator_getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_methods,/* tp_methods */ + SwigPyBuiltin__std__vectorT_double_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_getset,/* tp_getset */ + SwigPyBuiltin__std__vectorT_double_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_VectorMinimizer, /* tp_init */ + _wrap_new_VectorDouble, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -52457,9 +48050,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -52475,7 +48065,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_VectorMinimizer___nonzero___inquiry_closure, /* nb_nonzero */ + _wrap_VectorDouble___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -52521,11 +48111,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t }, { (lenfunc) 0, /* mp_length */ - _wrap_VectorMinimizer___getitem___binaryfunc_closure, /* mp_subscript */ - _wrap_VectorMinimizer___setitem___objobjargproc_closure, /* mp_ass_subscript */ + _wrap_VectorDouble___getitem___binaryfunc_closure, /* mp_subscript */ + _wrap_VectorDouble___setitem___objobjargproc_closure, /* mp_ass_subscript */ }, { - _wrap_VectorMinimizer___len___lenfunc_closure, /* sq_length */ + _wrap_VectorDouble___len___lenfunc_closure, /* sq_length */ (binaryfunc) 0, /* sq_concat */ (ssizeargfunc) 0, /* sq_repeat */ (ssizeargfunc) 0, /* sq_item */ @@ -52560,27 +48150,18 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_double_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_double_t_type}; -static SwigPyGetSet VectorSpacedSeed___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorSpacedSeed___dict___getset }, +static SwigPyGetSet VectorUint64t___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_uint64_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorUint64t___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__std__vectorT_uint64_t_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -52593,42 +48174,42 @@ SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_richcompare(PyObject *self, PyO return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_methods[] = { - { "iterator", _wrap_VectorSpacedSeed_iterator, METH_NOARGS, "" }, - { "__nonzero__", _wrap_VectorSpacedSeed___nonzero__, METH_NOARGS, "" }, - { "__bool__", _wrap_VectorSpacedSeed___bool__, METH_NOARGS, "" }, - { "__len__", _wrap_VectorSpacedSeed___len__, METH_NOARGS, "" }, - { "__getslice__", _wrap_VectorSpacedSeed___getslice__, METH_VARARGS, "" }, - { "__setslice__", _wrap_VectorSpacedSeed___setslice__, METH_VARARGS, "" }, - { "__delslice__", _wrap_VectorSpacedSeed___delslice__, METH_VARARGS, "" }, - { "__delitem__", _wrap_VectorSpacedSeed___delitem__, METH_VARARGS, "" }, - { "__getitem__", _wrap_VectorSpacedSeed___getitem__, METH_VARARGS, "" }, - { "__setitem__", _wrap_VectorSpacedSeed___setitem__, METH_VARARGS, "" }, - { "pop", _wrap_VectorSpacedSeed_pop, METH_NOARGS, "" }, - { "append", _wrap_VectorSpacedSeed_append, METH_O, "" }, - { "empty", _wrap_VectorSpacedSeed_empty, METH_NOARGS, "" }, - { "size", _wrap_VectorSpacedSeed_size, METH_NOARGS, "" }, - { "swap", _wrap_VectorSpacedSeed_swap, METH_O, "" }, - { "begin", _wrap_VectorSpacedSeed_begin, METH_NOARGS, "" }, - { "end", _wrap_VectorSpacedSeed_end, METH_NOARGS, "" }, - { "rbegin", _wrap_VectorSpacedSeed_rbegin, METH_NOARGS, "" }, - { "rend", _wrap_VectorSpacedSeed_rend, METH_NOARGS, "" }, - { "clear", _wrap_VectorSpacedSeed_clear, METH_NOARGS, "" }, - { "get_allocator", _wrap_VectorSpacedSeed_get_allocator, METH_NOARGS, "" }, - { "pop_back", _wrap_VectorSpacedSeed_pop_back, METH_NOARGS, "" }, - { "resize", _wrap_VectorSpacedSeed_resize, METH_VARARGS, "" }, - { "erase", _wrap_VectorSpacedSeed_erase, METH_VARARGS, "" }, - { "push_back", _wrap_VectorSpacedSeed_push_back, METH_O, "" }, - { "front", _wrap_VectorSpacedSeed_front, METH_NOARGS, "" }, - { "back", _wrap_VectorSpacedSeed_back, METH_NOARGS, "" }, - { "assign", _wrap_VectorSpacedSeed_assign, METH_VARARGS, "" }, - { "insert", _wrap_VectorSpacedSeed_insert, METH_VARARGS, "" }, - { "reserve", _wrap_VectorSpacedSeed_reserve, METH_O, "" }, - { "capacity", _wrap_VectorSpacedSeed_capacity, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_uint64_t_t_methods[] = { + { "iterator", _wrap_VectorUint64t_iterator, METH_NOARGS, "" }, + { "__nonzero__", _wrap_VectorUint64t___nonzero__, METH_NOARGS, "" }, + { "__bool__", _wrap_VectorUint64t___bool__, METH_NOARGS, "" }, + { "__len__", _wrap_VectorUint64t___len__, METH_NOARGS, "" }, + { "__getslice__", _wrap_VectorUint64t___getslice__, METH_VARARGS, "" }, + { "__setslice__", _wrap_VectorUint64t___setslice__, METH_VARARGS, "" }, + { "__delslice__", _wrap_VectorUint64t___delslice__, METH_VARARGS, "" }, + { "__delitem__", _wrap_VectorUint64t___delitem__, METH_VARARGS, "" }, + { "__getitem__", _wrap_VectorUint64t___getitem__, METH_VARARGS, "" }, + { "__setitem__", _wrap_VectorUint64t___setitem__, METH_VARARGS, "" }, + { "pop", _wrap_VectorUint64t_pop, METH_NOARGS, "" }, + { "append", _wrap_VectorUint64t_append, METH_O, "" }, + { "empty", _wrap_VectorUint64t_empty, METH_NOARGS, "" }, + { "size", _wrap_VectorUint64t_size, METH_NOARGS, "" }, + { "swap", _wrap_VectorUint64t_swap, METH_O, "" }, + { "begin", _wrap_VectorUint64t_begin, METH_NOARGS, "" }, + { "end", _wrap_VectorUint64t_end, METH_NOARGS, "" }, + { "rbegin", _wrap_VectorUint64t_rbegin, METH_NOARGS, "" }, + { "rend", _wrap_VectorUint64t_rend, METH_NOARGS, "" }, + { "clear", _wrap_VectorUint64t_clear, METH_NOARGS, "" }, + { "get_allocator", _wrap_VectorUint64t_get_allocator, METH_NOARGS, "" }, + { "pop_back", _wrap_VectorUint64t_pop_back, METH_NOARGS, "" }, + { "resize", _wrap_VectorUint64t_resize, METH_VARARGS, "" }, + { "erase", _wrap_VectorUint64t_erase, METH_VARARGS, "" }, + { "push_back", _wrap_VectorUint64t_push_back, METH_O, "" }, + { "front", _wrap_VectorUint64t_front, METH_NOARGS, "" }, + { "back", _wrap_VectorUint64t_back, METH_NOARGS, "" }, + { "assign", _wrap_VectorUint64t_assign, METH_VARARGS, "" }, + { "insert", _wrap_VectorUint64t_insert, METH_VARARGS, "" }, + { "reserve", _wrap_VectorUint64t_reserve, METH_O, "" }, + { "capacity", _wrap_VectorUint64t_capacity, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = { +static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -52636,15 +48217,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.VectorSpacedSeed", /* tp_name */ + "btllib.VectorUint64t", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_VectorSpacedSeed_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_VectorUint64t_destructor_closure, /* tp_dealloc */ (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 @@ -52653,36 +48230,36 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "std::vector< btllib::SpacedSeed >", /* tp_doc */ + "std::vector< uint64_t >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_richcompare, /* tp_richcompare */ + SwigPyBuiltin__std__vectorT_uint64_t_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_VectorSpacedSeed_iterator_getiterfunc_closure, /* tp_iter */ + _wrap_VectorUint64t_iterator_getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_methods, /* tp_methods */ + SwigPyBuiltin__std__vectorT_uint64_t_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_getset, /* tp_getset */ + SwigPyBuiltin__std__vectorT_uint64_t_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_VectorSpacedSeed, /* tp_init */ + _wrap_new_VectorUint64t, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -52716,9 +48293,6 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -52734,7 +48308,7 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_VectorSpacedSeed___nonzero___inquiry_closure, /* nb_nonzero */ + _wrap_VectorUint64t___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -52780,11 +48354,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = }, { (lenfunc) 0, /* mp_length */ - _wrap_VectorSpacedSeed___getitem___binaryfunc_closure, /* mp_subscript */ - _wrap_VectorSpacedSeed___setitem___objobjargproc_closure, /* mp_ass_subscript */ + _wrap_VectorUint64t___getitem___binaryfunc_closure, /* mp_subscript */ + _wrap_VectorUint64t___setitem___objobjargproc_closure, /* mp_ass_subscript */ }, { - _wrap_VectorSpacedSeed___len___lenfunc_closure, /* sq_length */ + _wrap_VectorUint64t___len___lenfunc_closure, /* sq_length */ (binaryfunc) 0, /* sq_concat */ (ssizeargfunc) 0, /* sq_repeat */ (ssizeargfunc) 0, /* sq_item */ @@ -52819,27 +48393,18 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_uint64_t_t_type}; -static SwigPyGetSet SeqWriter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqWriter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqWriter___dict___getset }, +static SwigPyGetSet VectorMinimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorMinimizer___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqWriter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -52852,15 +48417,42 @@ SwigPyBuiltin__btllib__SeqWriter_richcompare(PyObject *self, PyObject *other, in return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqWriter_methods[] = { - { "close", _wrap_SeqWriter_close, METH_NOARGS, "" }, - { "write", _wrap_SeqWriter_write, METH_VARARGS, "" }, - { "__enter__", _wrap_SeqWriter___enter__, METH_NOARGS, "" }, - { "__exit__", _wrap_SeqWriter___exit__, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_methods[] = { + { "iterator", _wrap_VectorMinimizer_iterator, METH_NOARGS, "" }, + { "__nonzero__", _wrap_VectorMinimizer___nonzero__, METH_NOARGS, "" }, + { "__bool__", _wrap_VectorMinimizer___bool__, METH_NOARGS, "" }, + { "__len__", _wrap_VectorMinimizer___len__, METH_NOARGS, "" }, + { "__getslice__", _wrap_VectorMinimizer___getslice__, METH_VARARGS, "" }, + { "__setslice__", _wrap_VectorMinimizer___setslice__, METH_VARARGS, "" }, + { "__delslice__", _wrap_VectorMinimizer___delslice__, METH_VARARGS, "" }, + { "__delitem__", _wrap_VectorMinimizer___delitem__, METH_VARARGS, "" }, + { "__getitem__", _wrap_VectorMinimizer___getitem__, METH_VARARGS, "" }, + { "__setitem__", _wrap_VectorMinimizer___setitem__, METH_VARARGS, "" }, + { "pop", _wrap_VectorMinimizer_pop, METH_NOARGS, "" }, + { "append", _wrap_VectorMinimizer_append, METH_O, "" }, + { "empty", _wrap_VectorMinimizer_empty, METH_NOARGS, "" }, + { "size", _wrap_VectorMinimizer_size, METH_NOARGS, "" }, + { "swap", _wrap_VectorMinimizer_swap, METH_O, "" }, + { "begin", _wrap_VectorMinimizer_begin, METH_NOARGS, "" }, + { "end", _wrap_VectorMinimizer_end, METH_NOARGS, "" }, + { "rbegin", _wrap_VectorMinimizer_rbegin, METH_NOARGS, "" }, + { "rend", _wrap_VectorMinimizer_rend, METH_NOARGS, "" }, + { "clear", _wrap_VectorMinimizer_clear, METH_NOARGS, "" }, + { "get_allocator", _wrap_VectorMinimizer_get_allocator, METH_NOARGS, "" }, + { "pop_back", _wrap_VectorMinimizer_pop_back, METH_NOARGS, "" }, + { "resize", _wrap_VectorMinimizer_resize, METH_VARARGS, "" }, + { "erase", _wrap_VectorMinimizer_erase, METH_VARARGS, "" }, + { "push_back", _wrap_VectorMinimizer_push_back, METH_O, "" }, + { "front", _wrap_VectorMinimizer_front, METH_NOARGS, "" }, + { "back", _wrap_VectorMinimizer_back, METH_NOARGS, "" }, + { "assign", _wrap_VectorMinimizer_assign, METH_VARARGS, "" }, + { "insert", _wrap_VectorMinimizer_insert, METH_VARARGS, "" }, + { "reserve", _wrap_VectorMinimizer_reserve, METH_O, "" }, + { "capacity", _wrap_VectorMinimizer_capacity, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { +static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -52868,15 +48460,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqWriter", /* tp_name */ + "btllib.VectorMinimizer", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqWriter_destructor_closure,/* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_VectorMinimizer_destructor_closure, /* tp_dealloc */ (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 @@ -52885,36 +48473,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqWriter", /* tp_doc */ + "std::vector< btllib::Indexlr::Minimizer >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqWriter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ + _wrap_VectorMinimizer_iterator_getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqWriter_methods, /* tp_methods */ + SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqWriter_getset, /* tp_getset */ + SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqWriter, /* tp_init */ + _wrap_new_VectorMinimizer, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -52948,9 +48536,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -52966,7 +48551,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ + _wrap_VectorMinimizer___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -53012,11 +48597,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { }, { (lenfunc) 0, /* mp_length */ - (binaryfunc) 0, /* mp_subscript */ - (objobjargproc) 0, /* mp_ass_subscript */ + _wrap_VectorMinimizer___getitem___binaryfunc_closure, /* mp_subscript */ + _wrap_VectorMinimizer___setitem___objobjargproc_closure, /* mp_ass_subscript */ }, { - (lenfunc) 0, /* sq_length */ + _wrap_VectorMinimizer___len___lenfunc_closure, /* sq_length */ (binaryfunc) 0, /* sq_concat */ (ssizeargfunc) 0, /* sq_repeat */ (ssizeargfunc) 0, /* sq_item */ @@ -53051,39 +48636,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqWriter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqWriter_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type}; -static SwigPyGetSet Datatype_read_cmds_getset = { _wrap_Datatype_read_cmds_get, _wrap_Datatype_read_cmds_set }; -static SwigPyGetSet Datatype___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet Datatype_write_cmds_getset = { _wrap_Datatype_write_cmds_get, _wrap_Datatype_write_cmds_set }; -static SwigPyGetSet Datatype_append_cmds_getset = { _wrap_Datatype_append_cmds_get, _wrap_Datatype_append_cmds_set }; -static SwigPyGetSet Datatype_cmds_check_existence_getset = { _wrap_Datatype_cmds_check_existence_get, _wrap_Datatype_cmds_check_existence_set }; -static SwigPyGetSet Datatype_suffixes_getset = { _wrap_Datatype_suffixes_get, _wrap_Datatype_suffixes_set }; -static SwigPyGetSet Datatype_prefixes_getset = { _wrap_Datatype_prefixes_get, _wrap_Datatype_prefixes_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Datatype_getset[] = { - { (char *)"read_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_read_cmds_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Datatype___dict___getset }, - { (char *)"write_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_write_cmds_getset }, - { (char *)"append_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_append_cmds_getset }, - { (char *)"cmds_check_existence", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_cmds_check_existence_getset }, - { (char *)"suffixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_suffixes_getset }, - { (char *)"prefixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_prefixes_getset }, +static SwigPyGetSet VectorSpacedSeed___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorSpacedSeed___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Datatype_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -53096,11 +48660,42 @@ SwigPyBuiltin__btllib__Datatype_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Datatype_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_methods[] = { + { "iterator", _wrap_VectorSpacedSeed_iterator, METH_NOARGS, "" }, + { "__nonzero__", _wrap_VectorSpacedSeed___nonzero__, METH_NOARGS, "" }, + { "__bool__", _wrap_VectorSpacedSeed___bool__, METH_NOARGS, "" }, + { "__len__", _wrap_VectorSpacedSeed___len__, METH_NOARGS, "" }, + { "__getslice__", _wrap_VectorSpacedSeed___getslice__, METH_VARARGS, "" }, + { "__setslice__", _wrap_VectorSpacedSeed___setslice__, METH_VARARGS, "" }, + { "__delslice__", _wrap_VectorSpacedSeed___delslice__, METH_VARARGS, "" }, + { "__delitem__", _wrap_VectorSpacedSeed___delitem__, METH_VARARGS, "" }, + { "__getitem__", _wrap_VectorSpacedSeed___getitem__, METH_VARARGS, "" }, + { "__setitem__", _wrap_VectorSpacedSeed___setitem__, METH_VARARGS, "" }, + { "pop", _wrap_VectorSpacedSeed_pop, METH_NOARGS, "" }, + { "append", _wrap_VectorSpacedSeed_append, METH_O, "" }, + { "empty", _wrap_VectorSpacedSeed_empty, METH_NOARGS, "" }, + { "size", _wrap_VectorSpacedSeed_size, METH_NOARGS, "" }, + { "swap", _wrap_VectorSpacedSeed_swap, METH_O, "" }, + { "begin", _wrap_VectorSpacedSeed_begin, METH_NOARGS, "" }, + { "end", _wrap_VectorSpacedSeed_end, METH_NOARGS, "" }, + { "rbegin", _wrap_VectorSpacedSeed_rbegin, METH_NOARGS, "" }, + { "rend", _wrap_VectorSpacedSeed_rend, METH_NOARGS, "" }, + { "clear", _wrap_VectorSpacedSeed_clear, METH_NOARGS, "" }, + { "get_allocator", _wrap_VectorSpacedSeed_get_allocator, METH_NOARGS, "" }, + { "pop_back", _wrap_VectorSpacedSeed_pop_back, METH_NOARGS, "" }, + { "resize", _wrap_VectorSpacedSeed_resize, METH_VARARGS, "" }, + { "erase", _wrap_VectorSpacedSeed_erase, METH_VARARGS, "" }, + { "push_back", _wrap_VectorSpacedSeed_push_back, METH_O, "" }, + { "front", _wrap_VectorSpacedSeed_front, METH_NOARGS, "" }, + { "back", _wrap_VectorSpacedSeed_back, METH_NOARGS, "" }, + { "assign", _wrap_VectorSpacedSeed_assign, METH_VARARGS, "" }, + { "insert", _wrap_VectorSpacedSeed_insert, METH_VARARGS, "" }, + { "reserve", _wrap_VectorSpacedSeed_reserve, METH_O, "" }, + { "capacity", _wrap_VectorSpacedSeed_capacity, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { +static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -53108,15 +48703,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Datatype", /* tp_name */ + "btllib.VectorSpacedSeed", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Datatype_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_VectorSpacedSeed_destructor_closure, /* tp_dealloc */ (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 @@ -53125,36 +48716,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Datatype_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Datatype_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Datatype_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Datatype_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Datatype", /* tp_doc */ + "std::vector< btllib::SpacedSeed >", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Datatype_richcompare, /* tp_richcompare */ + SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ + _wrap_VectorSpacedSeed_iterator_getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Datatype_methods, /* tp_methods */ + SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Datatype_getset, /* tp_getset */ + SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Datatype, /* tp_init */ + _wrap_new_VectorSpacedSeed, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -53188,9 +48779,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -53206,7 +48794,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ + _wrap_VectorSpacedSeed___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -53252,11 +48840,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { }, { (lenfunc) 0, /* mp_length */ - (binaryfunc) 0, /* mp_subscript */ - (objobjargproc) 0, /* mp_ass_subscript */ + _wrap_VectorSpacedSeed___getitem___binaryfunc_closure, /* mp_subscript */ + _wrap_VectorSpacedSeed___setitem___objobjargproc_closure, /* mp_ass_subscript */ }, { - (lenfunc) 0, /* sq_length */ + _wrap_VectorSpacedSeed___len___lenfunc_closure, /* sq_length */ (binaryfunc) 0, /* sq_concat */ (ssizeargfunc) 0, /* sq_repeat */ (ssizeargfunc) 0, /* sq_item */ @@ -53291,27 +48879,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Datatype_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Datatype_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type}; -static SwigPyGetSet DataSource___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSource_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSource___dict___getset }, +static SwigPyGetSet Indexlr___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Indexlr___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__DataSource_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Indexlr_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -53324,11 +48903,23 @@ SwigPyBuiltin__btllib__DataSource_richcompare(PyObject *self, PyObject *other, i return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSource_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr_methods[] = { + { "output_id", _wrap_Indexlr_output_id, METH_NOARGS, "" }, + { "output_bx", _wrap_Indexlr_output_bx, METH_NOARGS, "" }, + { "output_seq", _wrap_Indexlr_output_seq, METH_NOARGS, "" }, + { "filter_in", _wrap_Indexlr_filter_in, METH_NOARGS, "" }, + { "filter_out", _wrap_Indexlr_filter_out, METH_NOARGS, "" }, + { "short_mode", _wrap_Indexlr_short_mode, METH_NOARGS, "" }, + { "long_mode", _wrap_Indexlr_long_mode, METH_NOARGS, "" }, + { "read", _wrap_Indexlr_read, METH_NOARGS, "" }, + { "close", _wrap_Indexlr_close, METH_NOARGS, "" }, + { "__iter__", _wrap_Indexlr___iter__, METH_NOARGS, "" }, + { "__enter__", _wrap_Indexlr___enter__, METH_NOARGS, "" }, + { "__exit__", _wrap_Indexlr___exit__, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -53336,15 +48927,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.DataSource", /* tp_name */ + "btllib.Indexlr", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_DataSource_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_Indexlr_destructor_closure, /* tp_dealloc */ (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 @@ -53353,36 +48940,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__DataSource_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__DataSource_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__DataSource_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Indexlr_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Indexlr_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Indexlr_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__DataSource_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Indexlr_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::DataSource", /* tp_doc */ + "btllib::Indexlr", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__DataSource_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Indexlr_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ + _wrap_Indexlr___iter___getiterfunc_closure, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__DataSource_methods,/* tp_methods */ + SwigPyBuiltin__btllib__Indexlr_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__DataSource_getset, /* tp_getset */ + SwigPyBuiltin__btllib__Indexlr_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_DataSource, /* tp_init */ + _wrap_new_Indexlr, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -53416,9 +49003,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -53519,27 +49103,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSource_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSource_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr_type}; -static SwigPyGetSet DataSink___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSink_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSink___dict___getset }, +static SwigPyGetSet IndexlrFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Flag_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrFlag___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__DataSink_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Indexlr__Flag_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -53552,11 +49127,11 @@ SwigPyBuiltin__btllib__DataSink_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSink_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__Flag_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -53564,15 +49139,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.DataSink", /* tp_name */ + "btllib.IndexlrFlag", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_DataSink_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_IndexlrFlag_destructor_closure, /* tp_dealloc */ (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 @@ -53581,36 +49152,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__DataSink_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__DataSink_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__DataSink_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__DataSink_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::DataSink", /* tp_doc */ + "btllib::Indexlr::Flag", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__DataSink_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Indexlr__Flag_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__DataSink_methods, /* tp_methods */ + SwigPyBuiltin__btllib__Indexlr__Flag_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__DataSink_getset, /* tp_getset */ + SwigPyBuiltin__btllib__Indexlr__Flag_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_DataSink, /* tp_init */ + _wrap_new_IndexlrFlag, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -53644,9 +49215,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -53747,27 +49315,28 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSink_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSink_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Flag_type}; -static SwigPyGetSet BloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BloomFilter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BloomFilter___dict___getset }, +static SwigPyGetSet Minimizer_pos_getset = { _wrap_Minimizer_pos_get, _wrap_Minimizer_pos_set }; +static SwigPyGetSet Minimizer_forward_getset = { _wrap_Minimizer_forward_get, _wrap_Minimizer_forward_set }; +static SwigPyGetSet Minimizer_out_hash_getset = { _wrap_Minimizer_out_hash_get, _wrap_Minimizer_out_hash_set }; +static SwigPyGetSet Minimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet Minimizer_min_hash_getset = { _wrap_Minimizer_min_hash_get, _wrap_Minimizer_min_hash_set }; +static SwigPyGetSet Minimizer_seq_getset = { _wrap_Minimizer_seq_get, _wrap_Minimizer_seq_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Minimizer_getset[] = { + { (char *)"pos", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_pos_getset }, + { (char *)"forward", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_forward_getset }, + { (char *)"out_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_out_hash_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Minimizer___dict___getset }, + { (char *)"min_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_min_hash_getset }, + { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_seq_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__BloomFilter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Indexlr__Minimizer_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -53780,23 +49349,11 @@ SwigPyBuiltin__btllib__BloomFilter_richcompare(PyObject *self, PyObject *other, return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BloomFilter_methods[] = { - { "insert", _wrap_BloomFilter_insert, METH_VARARGS, "" }, - { "contains", _wrap_BloomFilter_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_BloomFilter_contains_insert, METH_VARARGS, "" }, - { "get_bytes", _wrap_BloomFilter_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_BloomFilter_get_pop_cnt, METH_NOARGS, "" }, - { "get_occupancy", _wrap_BloomFilter_get_occupancy, METH_NOARGS, "" }, - { "get_hash_num", _wrap_BloomFilter_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_BloomFilter_get_fpr, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_BloomFilter_get_hash_fn, METH_NOARGS, "" }, - { "save", _wrap_BloomFilter_save, METH_VARARGS, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_BloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, - { "check_file_signature", (PyCFunction)(void(*)(void))_wrap_BloomFilter_check_file_signature, METH_STATIC|METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__Minimizer_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -53804,15 +49361,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.BloomFilter", /* tp_name */ + "btllib.Minimizer", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_BloomFilter_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_Minimizer_destructor_closure,/* tp_dealloc */ (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 @@ -53821,36 +49374,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__BloomFilter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::BloomFilter", /* tp_doc */ + "btllib::Indexlr::Minimizer", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__BloomFilter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Indexlr__Minimizer_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__BloomFilter_methods, /* tp_methods */ + SwigPyBuiltin__btllib__Indexlr__Minimizer_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__BloomFilter_getset,/* tp_getset */ + SwigPyBuiltin__btllib__Indexlr__Minimizer_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_BloomFilter, /* tp_init */ + _wrap_new_Minimizer, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -53884,9 +49437,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -53987,27 +49537,28 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BloomFilter_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Minimizer_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Minimizer_type}; -static SwigPyGetSet KmerBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerBloomFilter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerBloomFilter___dict___getset }, +static SwigPyGetSet IndexlrRecord_minimizers_getset = { _wrap_IndexlrRecord_minimizers_get, _wrap_IndexlrRecord_minimizers_set }; +static SwigPyGetSet IndexlrRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet IndexlrRecord_num_getset = { _wrap_IndexlrRecord_num_get, _wrap_IndexlrRecord_num_set }; +static SwigPyGetSet IndexlrRecord_id_getset = { _wrap_IndexlrRecord_id_get, _wrap_IndexlrRecord_id_set }; +static SwigPyGetSet IndexlrRecord_readlen_getset = { _wrap_IndexlrRecord_readlen_get, _wrap_IndexlrRecord_readlen_set }; +static SwigPyGetSet IndexlrRecord_barcode_getset = { _wrap_IndexlrRecord_barcode_get, _wrap_IndexlrRecord_barcode_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Record_getset[] = { + { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_minimizers_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecord___dict___getset }, + { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_num_getset }, + { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_id_getset }, + { (char *)"readlen", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_readlen_getset }, + { (char *)"barcode", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_barcode_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__KmerBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Indexlr__Record_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -54020,24 +49571,12 @@ SwigPyBuiltin__btllib__KmerBloomFilter_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerBloomFilter_methods[] = { - { "insert", _wrap_KmerBloomFilter_insert, METH_VARARGS, "" }, - { "contains", _wrap_KmerBloomFilter_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_KmerBloomFilter_contains_insert, METH_VARARGS, "" }, - { "get_bytes", _wrap_KmerBloomFilter_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_KmerBloomFilter_get_pop_cnt, METH_NOARGS, "" }, - { "get_occupancy", _wrap_KmerBloomFilter_get_occupancy, METH_NOARGS, "" }, - { "get_hash_num", _wrap_KmerBloomFilter_get_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_KmerBloomFilter_get_fpr, METH_NOARGS, "" }, - { "get_k", _wrap_KmerBloomFilter_get_k, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_KmerBloomFilter_get_hash_fn, METH_NOARGS, "" }, - { "get_bloom_filter", _wrap_KmerBloomFilter_get_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_KmerBloomFilter_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__Record_methods[] = { + { "__nonzero__", _wrap_IndexlrRecord___nonzero__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -54045,15 +49584,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.KmerBloomFilter", /* tp_name */ + "btllib.IndexlrRecord", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_KmerBloomFilter_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_IndexlrRecord_destructor_closure, /* tp_dealloc */ (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 @@ -54062,36 +49597,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Indexlr__Record_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Indexlr__Record_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Indexlr__Record_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Indexlr__Record_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::KmerBloomFilter", /* tp_doc */ + "btllib::Indexlr::Record", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__KmerBloomFilter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Indexlr__Record_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__KmerBloomFilter_methods, /* tp_methods */ + SwigPyBuiltin__btllib__Indexlr__Record_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__KmerBloomFilter_getset, /* tp_getset */ + SwigPyBuiltin__btllib__Indexlr__Record_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_KmerBloomFilter, /* tp_init */ + _wrap_new_IndexlrRecord, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -54125,9 +49660,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -54143,7 +49675,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ + _wrap_IndexlrRecord___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -54228,27 +49760,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerBloomFilter_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Record_type}; -static SwigPyGetSet SeedBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedBloomFilter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedBloomFilter___dict___getset }, +static SwigPyGetSet IndexlrRecordIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__RecordIterator_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecordIterator___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeedBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Indexlr__RecordIterator_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -54261,28 +49784,12 @@ SwigPyBuiltin__btllib__SeedBloomFilter_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedBloomFilter_methods[] = { - { "insert", _wrap_SeedBloomFilter_insert, METH_VARARGS, "" }, - { "contains", _wrap_SeedBloomFilter_contains, METH_VARARGS, "" }, - { "contains_insert", _wrap_SeedBloomFilter_contains_insert, METH_VARARGS, "" }, - { "get_bytes", _wrap_SeedBloomFilter_get_bytes, METH_NOARGS, "" }, - { "get_pop_cnt", _wrap_SeedBloomFilter_get_pop_cnt, METH_NOARGS, "" }, - { "get_occupancy", _wrap_SeedBloomFilter_get_occupancy, METH_NOARGS, "" }, - { "get_total_hash_num", _wrap_SeedBloomFilter_get_total_hash_num, METH_NOARGS, "" }, - { "get_fpr", _wrap_SeedBloomFilter_get_fpr, METH_NOARGS, "" }, - { "get_k", _wrap_SeedBloomFilter_get_k, METH_NOARGS, "" }, - { "get_seeds", _wrap_SeedBloomFilter_get_seeds, METH_NOARGS, "" }, - { "get_parsed_seeds", _wrap_SeedBloomFilter_get_parsed_seeds, METH_NOARGS, "" }, - { "get_hash_num_per_seed", _wrap_SeedBloomFilter_get_hash_num_per_seed, METH_NOARGS, "" }, - { "get_hash_num", _wrap_SeedBloomFilter_get_hash_num, METH_NOARGS, "" }, - { "get_hash_fn", _wrap_SeedBloomFilter_get_hash_fn, METH_NOARGS, "" }, - { "get_kmer_bloom_filter", _wrap_SeedBloomFilter_get_kmer_bloom_filter, METH_NOARGS, "" }, - { "save", _wrap_SeedBloomFilter_save, METH_O, "" }, - { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_SeedBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__RecordIterator_methods[] = { + { "__next__", _wrap_IndexlrRecordIterator___next__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -54290,15 +49797,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeedBloomFilter", /* tp_name */ + "btllib.IndexlrRecordIterator", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeedBloomFilter_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_IndexlrRecordIterator_destructor_closure, /* tp_dealloc */ (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 @@ -54307,36 +49810,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeedBloomFilter", /* tp_doc */ + "btllib::Indexlr::RecordIterator", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeedBloomFilter_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Indexlr__RecordIterator_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ - (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeedBloomFilter_methods, /* tp_methods */ + _wrap_IndexlrRecordIterator___next___iternextfunc_closure, /* tp_iternext */ + SwigPyBuiltin__btllib__Indexlr__RecordIterator_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeedBloomFilter_getset, /* tp_getset */ + SwigPyBuiltin__btllib__Indexlr__RecordIterator_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeedBloomFilter, /* tp_init */ + SwigPyBuiltin_BadInit, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -54370,9 +49873,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -54473,27 +49973,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedBloomFilter_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__RecordIterator_type}; -static SwigPyGetSet SeqReader___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReader___dict___getset }, +static SwigPyGetSet BloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BloomFilter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BloomFilter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__BloomFilter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -54506,23 +49997,23 @@ SwigPyBuiltin__btllib__SeqReader_richcompare(PyObject *self, PyObject *other, in return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader_methods[] = { - { "close", _wrap_SeqReader_close, METH_NOARGS, "" }, - { "fold_case", _wrap_SeqReader_fold_case, METH_NOARGS, "" }, - { "trim_masked", _wrap_SeqReader_trim_masked, METH_NOARGS, "" }, - { "short_mode", _wrap_SeqReader_short_mode, METH_NOARGS, "" }, - { "long_mode", _wrap_SeqReader_long_mode, METH_NOARGS, "" }, - { "get_format", _wrap_SeqReader_get_format, METH_NOARGS, "" }, - { "read", _wrap_SeqReader_read, METH_NOARGS, "" }, - { "__iter__", _wrap_SeqReader___iter__, METH_NOARGS, "" }, - { "get_buffer_size", _wrap_SeqReader_get_buffer_size, METH_NOARGS, "" }, - { "get_block_size", _wrap_SeqReader_get_block_size, METH_NOARGS, "" }, - { "__enter__", _wrap_SeqReader___enter__, METH_NOARGS, "" }, - { "__exit__", _wrap_SeqReader___exit__, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BloomFilter_methods[] = { + { "insert", _wrap_BloomFilter_insert, METH_VARARGS, "" }, + { "contains", _wrap_BloomFilter_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_BloomFilter_contains_insert, METH_VARARGS, "" }, + { "get_bytes", _wrap_BloomFilter_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_BloomFilter_get_pop_cnt, METH_NOARGS, "" }, + { "get_occupancy", _wrap_BloomFilter_get_occupancy, METH_NOARGS, "" }, + { "get_hash_num", _wrap_BloomFilter_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_BloomFilter_get_fpr, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_BloomFilter_get_hash_fn, METH_NOARGS, "" }, + { "save", _wrap_BloomFilter_save, METH_VARARGS, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_BloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, + { "check_file_signature", (PyCFunction)(void(*)(void))_wrap_BloomFilter_check_file_signature, METH_STATIC|METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -54530,15 +50021,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReader", /* tp_name */ + "btllib.BloomFilter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReader_destructor_closure,/* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_BloomFilter_destructor_closure, /* tp_dealloc */ (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 @@ -54547,36 +50034,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__BloomFilter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader", /* tp_doc */ + "btllib::BloomFilter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__BloomFilter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_SeqReader___iter___getiterfunc_closure, /* tp_iter */ + (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader_methods, /* tp_methods */ + SwigPyBuiltin__btllib__BloomFilter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader_getset, /* tp_getset */ + SwigPyBuiltin__btllib__BloomFilter_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqReader, /* tp_init */ + _wrap_new_BloomFilter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -54610,9 +50097,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -54713,27 +50197,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BloomFilter_type}; -static SwigPyGetSet SeqReaderFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Flag_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderFlag___dict___getset }, +static SwigPyGetSet KmerBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__KmerBloomFilter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &KmerBloomFilter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader__Flag_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__KmerBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -54746,11 +50221,24 @@ SwigPyBuiltin__btllib__SeqReader__Flag_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Flag_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerBloomFilter_methods[] = { + { "insert", _wrap_KmerBloomFilter_insert, METH_VARARGS, "" }, + { "contains", _wrap_KmerBloomFilter_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_KmerBloomFilter_contains_insert, METH_VARARGS, "" }, + { "get_bytes", _wrap_KmerBloomFilter_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_KmerBloomFilter_get_pop_cnt, METH_NOARGS, "" }, + { "get_occupancy", _wrap_KmerBloomFilter_get_occupancy, METH_NOARGS, "" }, + { "get_hash_num", _wrap_KmerBloomFilter_get_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_KmerBloomFilter_get_fpr, METH_NOARGS, "" }, + { "get_k", _wrap_KmerBloomFilter_get_k, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_KmerBloomFilter_get_hash_fn, METH_NOARGS, "" }, + { "get_bloom_filter", _wrap_KmerBloomFilter_get_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_KmerBloomFilter_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_KmerBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -54758,15 +50246,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReaderFlag", /* tp_name */ + "btllib.KmerBloomFilter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReaderFlag_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_KmerBloomFilter_destructor_closure, /* tp_dealloc */ (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 @@ -54775,36 +50259,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__KmerBloomFilter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader::Flag", /* tp_doc */ + "btllib::KmerBloomFilter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader__Flag_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__KmerBloomFilter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader__Flag_methods, /* tp_methods */ + SwigPyBuiltin__btllib__KmerBloomFilter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader__Flag_getset, /* tp_getset */ + SwigPyBuiltin__btllib__KmerBloomFilter_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqReaderFlag, /* tp_init */ + _wrap_new_KmerBloomFilter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -54838,9 +50322,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -54941,37 +50422,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Flag_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerBloomFilter_type}; -static SwigPyGetSet SeqReaderRecord_num_getset = { _wrap_SeqReaderRecord_num_get, _wrap_SeqReaderRecord_num_set }; -static SwigPyGetSet SeqReaderRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet SeqReaderRecord_comment_getset = { _wrap_SeqReaderRecord_comment_get, _wrap_SeqReaderRecord_comment_set }; -static SwigPyGetSet SeqReaderRecord_seq_getset = { _wrap_SeqReaderRecord_seq_get, _wrap_SeqReaderRecord_seq_set }; -static SwigPyGetSet SeqReaderRecord_id_getset = { _wrap_SeqReaderRecord_id_get, _wrap_SeqReaderRecord_id_set }; -static SwigPyGetSet SeqReaderRecord_qual_getset = { _wrap_SeqReaderRecord_qual_get, _wrap_SeqReaderRecord_qual_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Record_getset[] = { - { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_num_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecord___dict___getset }, - { (char *)"comment", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_comment_getset }, - { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_seq_getset }, - { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_id_getset }, - { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_qual_getset }, +static SwigPyGetSet SeedBloomFilter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedBloomFilter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedBloomFilter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader__Record_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeedBloomFilter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -54984,12 +50446,28 @@ SwigPyBuiltin__btllib__SeqReader__Record_richcompare(PyObject *self, PyObject *o return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Record_methods[] = { - { "__nonzero__", _wrap_SeqReaderRecord___nonzero__, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedBloomFilter_methods[] = { + { "insert", _wrap_SeedBloomFilter_insert, METH_VARARGS, "" }, + { "contains", _wrap_SeedBloomFilter_contains, METH_VARARGS, "" }, + { "contains_insert", _wrap_SeedBloomFilter_contains_insert, METH_VARARGS, "" }, + { "get_bytes", _wrap_SeedBloomFilter_get_bytes, METH_NOARGS, "" }, + { "get_pop_cnt", _wrap_SeedBloomFilter_get_pop_cnt, METH_NOARGS, "" }, + { "get_occupancy", _wrap_SeedBloomFilter_get_occupancy, METH_NOARGS, "" }, + { "get_total_hash_num", _wrap_SeedBloomFilter_get_total_hash_num, METH_NOARGS, "" }, + { "get_fpr", _wrap_SeedBloomFilter_get_fpr, METH_NOARGS, "" }, + { "get_k", _wrap_SeedBloomFilter_get_k, METH_NOARGS, "" }, + { "get_seeds", _wrap_SeedBloomFilter_get_seeds, METH_NOARGS, "" }, + { "get_parsed_seeds", _wrap_SeedBloomFilter_get_parsed_seeds, METH_NOARGS, "" }, + { "get_hash_num_per_seed", _wrap_SeedBloomFilter_get_hash_num_per_seed, METH_NOARGS, "" }, + { "get_hash_num", _wrap_SeedBloomFilter_get_hash_num, METH_NOARGS, "" }, + { "get_hash_fn", _wrap_SeedBloomFilter_get_hash_fn, METH_NOARGS, "" }, + { "get_kmer_bloom_filter", _wrap_SeedBloomFilter_get_kmer_bloom_filter, METH_NOARGS, "" }, + { "save", _wrap_SeedBloomFilter_save, METH_O, "" }, + { "is_bloom_file", (PyCFunction)(void(*)(void))_wrap_SeedBloomFilter_is_bloom_file, METH_STATIC|METH_O, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -54997,15 +50475,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReaderRecord", /* tp_name */ + "btllib.SeedBloomFilter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReaderRecord_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeedBloomFilter_destructor_closure, /* tp_dealloc */ (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 @@ -55014,36 +50488,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader__Record_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeedBloomFilter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader::Record", /* tp_doc */ + "btllib::SeedBloomFilter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader__Record_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeedBloomFilter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader__Record_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeedBloomFilter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader__Record_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeedBloomFilter_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqReaderRecord, /* tp_init */ + _wrap_new_SeedBloomFilter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -55077,9 +50551,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -55095,7 +50566,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_SeqReaderRecord___nonzero___inquiry_closure, /* nb_nonzero */ + (inquiry) 0, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -55180,27 +50651,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Record_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedBloomFilter_type}; -static SwigPyGetSet SeqReaderRecordIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecordIterator___dict___getset }, +static SwigPyGetSet SeqReader___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReader___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -55213,12 +50675,23 @@ SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare(PyObject *self, PyO return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods[] = { - { "__next__", _wrap_SeqReaderRecordIterator___next__, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader_methods[] = { + { "close", _wrap_SeqReader_close, METH_NOARGS, "" }, + { "fold_case", _wrap_SeqReader_fold_case, METH_NOARGS, "" }, + { "trim_masked", _wrap_SeqReader_trim_masked, METH_NOARGS, "" }, + { "short_mode", _wrap_SeqReader_short_mode, METH_NOARGS, "" }, + { "long_mode", _wrap_SeqReader_long_mode, METH_NOARGS, "" }, + { "get_format", _wrap_SeqReader_get_format, METH_NOARGS, "" }, + { "read", _wrap_SeqReader_read, METH_NOARGS, "" }, + { "__iter__", _wrap_SeqReader___iter__, METH_NOARGS, "" }, + { "get_buffer_size", _wrap_SeqReader_get_buffer_size, METH_NOARGS, "" }, + { "get_block_size", _wrap_SeqReader_get_block_size, METH_NOARGS, "" }, + { "__enter__", _wrap_SeqReader___enter__, METH_NOARGS, "" }, + { "__exit__", _wrap_SeqReader___exit__, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -55226,15 +50699,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeqReaderRecordIterator", /* tp_name */ + "btllib.SeqReader", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeqReaderRecordIterator_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeqReader_destructor_closure,/* tp_dealloc */ (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 @@ -55243,36 +50712,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeqReader::RecordIterator", /* tp_doc */ + "btllib::SeqReader", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ - _wrap_SeqReaderRecordIterator___next___iternextfunc_closure, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods, /* tp_methods */ + _wrap_SeqReader___iter___getiterfunc_closure, /* tp_iter */ + (iternextfunc) 0, /* tp_iternext */ + SwigPyBuiltin__btllib__SeqReader_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqReader_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - SwigPyBuiltin_BadInit, /* tp_init */ + _wrap_new_SeqReader, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -55306,9 +50775,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -55409,27 +50875,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__RecordIterator_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader_type}; -static SwigPyGetSet Indexlr___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Indexlr___dict___getset }, +static SwigPyGetSet SeqReaderFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Flag_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderFlag___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Indexlr_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader__Flag_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -55442,24 +50899,11 @@ SwigPyBuiltin__btllib__Indexlr_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr_methods[] = { - { "output_id", _wrap_Indexlr_output_id, METH_NOARGS, "" }, - { "output_bx", _wrap_Indexlr_output_bx, METH_NOARGS, "" }, - { "output_seq", _wrap_Indexlr_output_seq, METH_NOARGS, "" }, - { "output_qual", _wrap_Indexlr_output_qual, METH_NOARGS, "" }, - { "filter_in", _wrap_Indexlr_filter_in, METH_NOARGS, "" }, - { "filter_out", _wrap_Indexlr_filter_out, METH_NOARGS, "" }, - { "short_mode", _wrap_Indexlr_short_mode, METH_NOARGS, "" }, - { "long_mode", _wrap_Indexlr_long_mode, METH_NOARGS, "" }, - { "read", _wrap_Indexlr_read, METH_NOARGS, "" }, - { "close", _wrap_Indexlr_close, METH_NOARGS, "" }, - { "__iter__", _wrap_Indexlr___iter__, METH_NOARGS, "" }, - { "__enter__", _wrap_Indexlr___enter__, METH_NOARGS, "" }, - { "__exit__", _wrap_Indexlr___exit__, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Flag_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -55467,15 +50911,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Indexlr", /* tp_name */ + "btllib.SeqReaderFlag", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Indexlr_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeqReaderFlag_destructor_closure, /* tp_dealloc */ (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 @@ -55484,36 +50924,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Indexlr_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Indexlr_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Indexlr_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Indexlr_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader__Flag_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr", /* tp_doc */ + "btllib::SeqReader::Flag", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Indexlr_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader__Flag_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ - _wrap_Indexlr___iter___getiterfunc_closure, /* tp_iter */ + (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Indexlr_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeqReader__Flag_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Indexlr_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqReader__Flag_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Indexlr, /* tp_init */ + _wrap_new_SeqReaderFlag, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -55547,9 +50987,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -55650,27 +51087,28 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Flag_type}; -static SwigPyGetSet IndexlrFlag___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Flag_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrFlag___dict___getset }, +static SwigPyGetSet SeqReaderRecord_qual_getset = { _wrap_SeqReaderRecord_qual_get, _wrap_SeqReaderRecord_qual_set }; +static SwigPyGetSet SeqReaderRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet SeqReaderRecord_num_getset = { _wrap_SeqReaderRecord_num_get, _wrap_SeqReaderRecord_num_set }; +static SwigPyGetSet SeqReaderRecord_id_getset = { _wrap_SeqReaderRecord_id_get, _wrap_SeqReaderRecord_id_set }; +static SwigPyGetSet SeqReaderRecord_comment_getset = { _wrap_SeqReaderRecord_comment_get, _wrap_SeqReaderRecord_comment_set }; +static SwigPyGetSet SeqReaderRecord_seq_getset = { _wrap_SeqReaderRecord_seq_get, _wrap_SeqReaderRecord_seq_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Record_getset[] = { + { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_qual_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecord___dict___getset }, + { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_num_getset }, + { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_id_getset }, + { (char *)"comment", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_comment_getset }, + { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_seq_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Indexlr__Flag_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader__Record_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -55683,11 +51121,12 @@ SwigPyBuiltin__btllib__Indexlr__Flag_richcompare(PyObject *self, PyObject *other return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__Flag_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__Record_methods[] = { + { "__nonzero__", _wrap_SeqReaderRecord___nonzero__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -55695,15 +51134,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.IndexlrFlag", /* tp_name */ + "btllib.SeqReaderRecord", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_IndexlrFlag_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeqReaderRecord_destructor_closure, /* tp_dealloc */ (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 @@ -55712,36 +51147,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Indexlr__Flag_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader__Record_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr::Flag", /* tp_doc */ + "btllib::SeqReader::Record", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Indexlr__Flag_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader__Record_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Indexlr__Flag_methods, /* tp_methods */ + SwigPyBuiltin__btllib__SeqReader__Record_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Indexlr__Flag_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqReader__Record_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_IndexlrFlag, /* tp_init */ + _wrap_new_SeqReaderRecord, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -55775,9 +51210,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -55793,7 +51225,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ + _wrap_SeqReaderRecord___nonzero___inquiry_closure, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -55878,39 +51310,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Flag_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Record_type}; -static SwigPyGetSet Minimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet Minimizer_min_hash_getset = { _wrap_Minimizer_min_hash_get, _wrap_Minimizer_min_hash_set }; -static SwigPyGetSet Minimizer_seq_getset = { _wrap_Minimizer_seq_get, _wrap_Minimizer_seq_set }; -static SwigPyGetSet Minimizer_out_hash_getset = { _wrap_Minimizer_out_hash_get, _wrap_Minimizer_out_hash_set }; -static SwigPyGetSet Minimizer_forward_getset = { _wrap_Minimizer_forward_get, _wrap_Minimizer_forward_set }; -static SwigPyGetSet Minimizer_pos_getset = { _wrap_Minimizer_pos_get, _wrap_Minimizer_pos_set }; -static SwigPyGetSet Minimizer_qual_getset = { _wrap_Minimizer_qual_get, _wrap_Minimizer_qual_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Minimizer_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Minimizer___dict___getset }, - { (char *)"min_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_min_hash_getset }, - { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_seq_getset }, - { (char *)"out_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_out_hash_getset }, - { (char *)"forward", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_forward_getset }, - { (char *)"pos", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_pos_getset }, - { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_qual_getset }, +static SwigPyGetSet SeqReaderRecordIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecordIterator___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Indexlr__Minimizer_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -55923,11 +51334,12 @@ SwigPyBuiltin__btllib__Indexlr__Minimizer_richcompare(PyObject *self, PyObject * return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__Minimizer_methods[] = { +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods[] = { + { "__next__", _wrap_SeqReaderRecordIterator___next__, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -55935,15 +51347,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Minimizer", /* tp_name */ + "btllib.SeqReaderRecordIterator", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Minimizer_destructor_closure,/* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeqReaderRecordIterator_destructor_closure, /* tp_dealloc */ (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 @@ -55952,36 +51360,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_mapping,/* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Indexlr__Minimizer_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqReader__RecordIterator_type.as_buffer,/* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr::Minimizer", /* tp_doc */ + "btllib::SeqReader::RecordIterator", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Indexlr__Minimizer_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqReader__RecordIterator_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ - (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Indexlr__Minimizer_methods, /* tp_methods */ + _wrap_SeqReaderRecordIterator___next___iternextfunc_closure, /* tp_iternext */ + SwigPyBuiltin__btllib__SeqReader__RecordIterator_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Indexlr__Minimizer_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqReader__RecordIterator_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Minimizer, /* tp_init */ + SwigPyBuiltin_BadInit, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -56015,9 +51423,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -56118,37 +51523,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Minimizer_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Minimizer_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__RecordIterator_type}; -static SwigPyGetSet IndexlrRecord_num_getset = { _wrap_IndexlrRecord_num_get, _wrap_IndexlrRecord_num_set }; -static SwigPyGetSet IndexlrRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet IndexlrRecord_minimizers_getset = { _wrap_IndexlrRecord_minimizers_get, _wrap_IndexlrRecord_minimizers_set }; -static SwigPyGetSet IndexlrRecord_readlen_getset = { _wrap_IndexlrRecord_readlen_get, _wrap_IndexlrRecord_readlen_set }; -static SwigPyGetSet IndexlrRecord_id_getset = { _wrap_IndexlrRecord_id_get, _wrap_IndexlrRecord_id_set }; -static SwigPyGetSet IndexlrRecord_barcode_getset = { _wrap_IndexlrRecord_barcode_get, _wrap_IndexlrRecord_barcode_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Record_getset[] = { - { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_num_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecord___dict___getset }, - { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_minimizers_getset }, - { (char *)"readlen", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_readlen_getset }, - { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_id_getset }, - { (char *)"barcode", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_barcode_getset }, +static SwigPyGetSet Barrier___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Barrier_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Barrier___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Indexlr__Record_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Barrier_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -56161,12 +51547,12 @@ SwigPyBuiltin__btllib__Indexlr__Record_richcompare(PyObject *self, PyObject *oth return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__Record_methods[] = { - { "__nonzero__", _wrap_IndexlrRecord___nonzero__, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Barrier_methods[] = { + { "wait", _wrap_Barrier_wait, METH_NOARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -56174,15 +51560,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.IndexlrRecord", /* tp_name */ + "btllib.Barrier", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_IndexlrRecord_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_Barrier_destructor_closure, /* tp_dealloc */ (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 @@ -56191,36 +51573,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__Barrier_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Barrier_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Barrier_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__Barrier_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr::Record", /* tp_doc */ + "btllib::Barrier", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Indexlr__Record_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Barrier_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Indexlr__Record_methods, /* tp_methods */ + SwigPyBuiltin__btllib__Barrier_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Indexlr__Record_getset, /* tp_getset */ + SwigPyBuiltin__btllib__Barrier_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_IndexlrRecord, /* tp_init */ + _wrap_new_Barrier, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -56254,9 +51636,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -56272,7 +51651,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { (unaryfunc) 0, /* nb_negative */ (unaryfunc) 0, /* nb_positive */ (unaryfunc) 0, /* nb_absolute */ - _wrap_IndexlrRecord___nonzero___inquiry_closure, /* nb_nonzero */ + (inquiry) 0, /* nb_nonzero */ (unaryfunc) 0, /* nb_invert */ (binaryfunc) 0, /* nb_lshift */ (binaryfunc) 0, /* nb_rshift */ @@ -56357,27 +51736,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Record_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Barrier_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Barrier_type}; -static SwigPyGetSet IndexlrRecordIterator___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__RecordIterator_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecordIterator___dict___getset }, +static SwigPyGetSet SeqWriter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqWriter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqWriter___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Indexlr__RecordIterator_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__SeqWriter_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -56390,12 +51760,15 @@ SwigPyBuiltin__btllib__Indexlr__RecordIterator_richcompare(PyObject *self, PyObj return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__RecordIterator_methods[] = { - { "__next__", _wrap_IndexlrRecordIterator___next__, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqWriter_methods[] = { + { "close", _wrap_SeqWriter_close, METH_NOARGS, "" }, + { "write", _wrap_SeqWriter_write, METH_VARARGS, "" }, + { "__enter__", _wrap_SeqWriter___enter__, METH_NOARGS, "" }, + { "__exit__", _wrap_SeqWriter___exit__, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -56403,15 +51776,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.IndexlrRecordIterator", /* tp_name */ + "btllib.SeqWriter", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_IndexlrRecordIterator_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_SeqWriter_destructor_closure,/* tp_dealloc */ (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 @@ -56420,36 +51789,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Indexlr__RecordIterator_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Indexlr::RecordIterator", /* tp_doc */ + "btllib::SeqWriter", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Indexlr__RecordIterator_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__SeqWriter_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ - _wrap_IndexlrRecordIterator___next___iternextfunc_closure, /* tp_iternext */ - SwigPyBuiltin__btllib__Indexlr__RecordIterator_methods, /* tp_methods */ + (iternextfunc) 0, /* tp_iternext */ + SwigPyBuiltin__btllib__SeqWriter_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Indexlr__RecordIterator_getset, /* tp_getset */ + SwigPyBuiltin__btllib__SeqWriter_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - SwigPyBuiltin_BadInit, /* tp_init */ + _wrap_new_SeqWriter, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -56483,9 +51852,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -56586,27 +51952,30 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__RecordIterator_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqWriter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqWriter_type}; -static SwigPyGetSet RandomSequenceGenerator___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__RandomSequenceGenerator_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &RandomSequenceGenerator___dict___getset }, +static SwigPyGetSet Datatype_prefixes_getset = { _wrap_Datatype_prefixes_get, _wrap_Datatype_prefixes_set }; +static SwigPyGetSet Datatype_cmds_check_existence_getset = { _wrap_Datatype_cmds_check_existence_get, _wrap_Datatype_cmds_check_existence_set }; +static SwigPyGetSet Datatype___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet Datatype_suffixes_getset = { _wrap_Datatype_suffixes_get, _wrap_Datatype_suffixes_set }; +static SwigPyGetSet Datatype_append_cmds_getset = { _wrap_Datatype_append_cmds_get, _wrap_Datatype_append_cmds_set }; +static SwigPyGetSet Datatype_write_cmds_getset = { _wrap_Datatype_write_cmds_get, _wrap_Datatype_write_cmds_set }; +static SwigPyGetSet Datatype_read_cmds_getset = { _wrap_Datatype_read_cmds_get, _wrap_Datatype_read_cmds_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Datatype_getset[] = { + { (char *)"prefixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_prefixes_getset }, + { (char *)"cmds_check_existence", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_cmds_check_existence_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Datatype___dict___getset }, + { (char *)"suffixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_suffixes_getset }, + { (char *)"append_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_append_cmds_getset }, + { (char *)"write_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_write_cmds_getset }, + { (char *)"read_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_read_cmds_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__RandomSequenceGenerator_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__Datatype_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -56619,12 +51988,11 @@ SwigPyBuiltin__btllib__RandomSequenceGenerator_richcompare(PyObject *self, PyObj return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__RandomSequenceGenerator_methods[] = { - { "generate", _wrap_RandomSequenceGenerator_generate, METH_O, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Datatype_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__RandomSequenceGenerator_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -56632,15 +52000,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandomSequenceGenerator_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.RandomSequenceGenerator", /* tp_name */ + "btllib.Datatype", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_RandomSequenceGenerator_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_Datatype_destructor_closure, /* tp_dealloc */ (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 @@ -56649,36 +52013,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandomSequenceGenerator_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__RandomSequenceGenerator_type.as_number,/* tp_as_number */ - &SwigPyBuiltin__btllib__RandomSequenceGenerator_type.as_sequence,/* tp_as_sequence */ - &SwigPyBuiltin__btllib__RandomSequenceGenerator_type.as_mapping,/* tp_as_mapping */ + &SwigPyBuiltin__btllib__Datatype_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Datatype_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Datatype_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__RandomSequenceGenerator_type.as_buffer,/* tp_as_buffer */ + &SwigPyBuiltin__btllib__Datatype_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::RandomSequenceGenerator", /* tp_doc */ + "btllib::Datatype", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__RandomSequenceGenerator_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__Datatype_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__RandomSequenceGenerator_methods, /* tp_methods */ + SwigPyBuiltin__btllib__Datatype_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__RandomSequenceGenerator_getset, /* tp_getset */ + SwigPyBuiltin__btllib__Datatype_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_RandomSequenceGenerator, /* tp_init */ + _wrap_new_Datatype, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -56712,9 +52076,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandomSequenceGenerator_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -56815,27 +52176,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__RandomSequenceGenerator_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__RandomSequenceGenerator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__RandomSequenceGenerator_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Datatype_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Datatype_type}; -static SwigPyGetSet Barrier___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Barrier_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Barrier___dict___getset }, +static SwigPyGetSet DataSource___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSource_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSource___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Barrier_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__DataSource_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -56848,12 +52200,11 @@ SwigPyBuiltin__btllib__Barrier_richcompare(PyObject *self, PyObject *other, int return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Barrier_methods[] = { - { "wait", _wrap_Barrier_wait, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSource_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -56861,15 +52212,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.Barrier", /* tp_name */ + "btllib.DataSource", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_Barrier_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_DataSource_destructor_closure, /* tp_dealloc */ (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 @@ -56878,36 +52225,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Barrier_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Barrier_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Barrier_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__DataSource_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__DataSource_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__DataSource_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Barrier_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__DataSource_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::Barrier", /* tp_doc */ + "btllib::DataSource", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Barrier_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__DataSource_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Barrier_methods, /* tp_methods */ + SwigPyBuiltin__btllib__DataSource_methods,/* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__Barrier_getset, /* tp_getset */ + SwigPyBuiltin__btllib__DataSource_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_Barrier, /* tp_init */ + _wrap_new_DataSource, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -56941,9 +52288,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -57044,27 +52388,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Barrier_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Barrier_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSource_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSource_type}; -static SwigPyGetSet NtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__NtHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &NtHash___dict___getset }, +static SwigPyGetSet DataSink___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__DataSink_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &DataSink___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__NtHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__DataSink_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -57077,24 +52412,11 @@ SwigPyBuiltin__btllib__NtHash_richcompare(PyObject *self, PyObject *other, int o return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__NtHash_methods[] = { - { "roll", _wrap_NtHash_roll, METH_NOARGS, "" }, - { "roll_back", _wrap_NtHash_roll_back, METH_NOARGS, "" }, - { "peek", _wrap_NtHash_peek, METH_VARARGS, "" }, - { "peek_back", _wrap_NtHash_peek_back, METH_VARARGS, "" }, - { "sub", _wrap_NtHash_sub, METH_VARARGS, "" }, - { "hashes", _wrap_NtHash_hashes, METH_NOARGS, "" }, - { "get_pos", _wrap_NtHash_get_pos, METH_NOARGS, "" }, - { "forward", _wrap_NtHash_forward, METH_NOARGS, "" }, - { "get_hash_num", _wrap_NtHash_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_NtHash_get_k, METH_NOARGS, "" }, - { "get_forward_hash", _wrap_NtHash_get_forward_hash, METH_NOARGS, "" }, - { "get_reverse_hash", _wrap_NtHash_get_reverse_hash, METH_NOARGS, "" }, - { "change_seq", _wrap_NtHash_change_seq, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__DataSink_methods[] = { { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -57102,15 +52424,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.NtHash", /* tp_name */ + "btllib.DataSink", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_NtHash_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_DataSink_destructor_closure, /* tp_dealloc */ (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 @@ -57119,36 +52437,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__NtHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__NtHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__NtHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__DataSink_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__DataSink_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__DataSink_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__NtHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__DataSink_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::NtHash", /* tp_doc */ + "btllib::DataSink", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__NtHash_richcompare,/* tp_richcompare */ + SwigPyBuiltin__btllib__DataSink_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__NtHash_methods, /* tp_methods */ + SwigPyBuiltin__btllib__DataSink_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__NtHash_getset, /* tp_getset */ + SwigPyBuiltin__btllib__DataSink_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_NtHash, /* tp_init */ + _wrap_new_DataSink, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -57182,9 +52500,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -57285,27 +52600,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__NtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__NtHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSink_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSink_type}; -static SwigPyGetSet BlindNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BlindNtHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BlindNtHash___dict___getset }, +static SwigPyGetSet NtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__NtHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &NtHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__BlindNtHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__NtHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -57318,24 +52624,24 @@ SwigPyBuiltin__btllib__BlindNtHash_richcompare(PyObject *self, PyObject *other, return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BlindNtHash_methods[] = { - { "roll", _wrap_BlindNtHash_roll, METH_O, "" }, - { "roll_back", _wrap_BlindNtHash_roll_back, METH_O, "" }, - { "peek", _wrap_BlindNtHash_peek, METH_O, "" }, - { "peek_back", _wrap_BlindNtHash_peek_back, METH_O, "" }, - { "sub", _wrap_BlindNtHash_sub, METH_VARARGS, "" }, - { "hashes", _wrap_BlindNtHash_hashes, METH_NOARGS, "" }, - { "get_pos", _wrap_BlindNtHash_get_pos, METH_NOARGS, "" }, - { "forward", _wrap_BlindNtHash_forward, METH_NOARGS, "" }, - { "get_hash_num", _wrap_BlindNtHash_get_hash_num, METH_NOARGS, "" }, - { "get_k", _wrap_BlindNtHash_get_k, METH_NOARGS, "" }, - { "get_forward_hash", _wrap_BlindNtHash_get_forward_hash, METH_NOARGS, "" }, - { "get_reverse_hash", _wrap_BlindNtHash_get_reverse_hash, METH_NOARGS, "" }, - { "change_seq", _wrap_BlindNtHash_change_seq, METH_VARARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__NtHash_methods[] = { + { "roll", _wrap_NtHash_roll, METH_NOARGS, "" }, + { "roll_back", _wrap_NtHash_roll_back, METH_NOARGS, "" }, + { "peek", _wrap_NtHash_peek, METH_VARARGS, "" }, + { "peek_back", _wrap_NtHash_peek_back, METH_VARARGS, "" }, + { "sub", _wrap_NtHash_sub, METH_VARARGS, "" }, + { "hashes", _wrap_NtHash_hashes, METH_NOARGS, "" }, + { "get_pos", _wrap_NtHash_get_pos, METH_NOARGS, "" }, + { "forward", _wrap_NtHash_forward, METH_NOARGS, "" }, + { "get_hash_num", _wrap_NtHash_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_NtHash_get_k, METH_NOARGS, "" }, + { "get_forward_hash", _wrap_NtHash_get_forward_hash, METH_NOARGS, "" }, + { "get_reverse_hash", _wrap_NtHash_get_reverse_hash, METH_NOARGS, "" }, + { "change_seq", _wrap_NtHash_change_seq, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -57343,15 +52649,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.BlindNtHash", /* tp_name */ + "btllib.NtHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_BlindNtHash_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_NtHash_destructor_closure, /* tp_dealloc */ (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 @@ -57360,36 +52662,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__NtHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__NtHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__NtHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__BlindNtHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__NtHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::BlindNtHash", /* tp_doc */ + "btllib::NtHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__BlindNtHash_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__NtHash_richcompare,/* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__BlindNtHash_methods, /* tp_methods */ + SwigPyBuiltin__btllib__NtHash_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__BlindNtHash_getset,/* tp_getset */ + SwigPyBuiltin__btllib__NtHash_getset, /* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_BlindNtHash, /* tp_init */ + _wrap_new_NtHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -57423,9 +52725,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -57526,27 +52825,18 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BlindNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BlindNtHash_type}; +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__NtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__NtHash_type}; -static SwigPyGetSet SeedNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedNtHash_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedNtHash___dict___getset }, +static SwigPyGetSet BlindNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__BlindNtHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &BlindNtHash___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeedNtHash_richcompare(PyObject *self, PyObject *other, int op) { +SwigPyBuiltin__btllib__BlindNtHash_richcompare(PyObject *self, PyObject *other, int op) { PyObject *result = NULL; if (!result) { if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { @@ -57559,24 +52849,24 @@ SwigPyBuiltin__btllib__SeedNtHash_richcompare(PyObject *self, PyObject *other, i return result; } -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedNtHash_methods[] = { - { "roll", _wrap_SeedNtHash_roll, METH_NOARGS, "" }, - { "roll_back", _wrap_SeedNtHash_roll_back, METH_NOARGS, "" }, - { "peek", _wrap_SeedNtHash_peek, METH_VARARGS, "" }, - { "peek_back", _wrap_SeedNtHash_peek_back, METH_VARARGS, "" }, - { "hashes", _wrap_SeedNtHash_hashes, METH_NOARGS, "" }, - { "change_seq", _wrap_SeedNtHash_change_seq, METH_VARARGS, "" }, - { "get_pos", _wrap_SeedNtHash_get_pos, METH_NOARGS, "" }, - { "forward", _wrap_SeedNtHash_forward, METH_NOARGS, "" }, - { "get_hash_num", _wrap_SeedNtHash_get_hash_num, METH_NOARGS, "" }, - { "get_hash_num_per_seed", _wrap_SeedNtHash_get_hash_num_per_seed, METH_NOARGS, "" }, - { "get_k", _wrap_SeedNtHash_get_k, METH_NOARGS, "" }, - { "get_forward_hash", _wrap_SeedNtHash_get_forward_hash, METH_NOARGS, "" }, - { "get_reverse_hash", _wrap_SeedNtHash_get_reverse_hash, METH_NOARGS, "" }, +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__BlindNtHash_methods[] = { + { "roll", _wrap_BlindNtHash_roll, METH_O, "" }, + { "roll_back", _wrap_BlindNtHash_roll_back, METH_O, "" }, + { "peek", _wrap_BlindNtHash_peek, METH_O, "" }, + { "peek_back", _wrap_BlindNtHash_peek_back, METH_O, "" }, + { "sub", _wrap_BlindNtHash_sub, METH_VARARGS, "" }, + { "hashes", _wrap_BlindNtHash_hashes, METH_NOARGS, "" }, + { "get_pos", _wrap_BlindNtHash_get_pos, METH_NOARGS, "" }, + { "forward", _wrap_BlindNtHash_forward, METH_NOARGS, "" }, + { "get_hash_num", _wrap_BlindNtHash_get_hash_num, METH_NOARGS, "" }, + { "get_k", _wrap_BlindNtHash_get_k, METH_NOARGS, "" }, + { "get_forward_hash", _wrap_BlindNtHash_get_forward_hash, METH_NOARGS, "" }, + { "get_reverse_hash", _wrap_BlindNtHash_get_reverse_hash, METH_NOARGS, "" }, + { "change_seq", _wrap_BlindNtHash_change_seq, METH_VARARGS, "" }, { NULL, NULL, 0, NULL } /* Sentinel */ }; -static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { +static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { { #if PY_VERSION_HEX >= 0x03000000 PyVarObject_HEAD_INIT(NULL, 0) @@ -57584,15 +52874,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { PyObject_HEAD_INIT(NULL) 0, /* ob_size */ #endif - "btllib.SeedNtHash", /* tp_name */ + "btllib.BlindNtHash", /* tp_name */ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ - _wrap_delete_SeedNtHash_destructor_closure, /* tp_dealloc */ -#if PY_VERSION_HEX < 0x030800b4 + _wrap_delete_BlindNtHash_destructor_closure, /* tp_dealloc */ (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 @@ -57601,36 +52887,36 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { (cmpfunc) 0, /* tp_compare */ #endif (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_mapping, /* tp_as_mapping */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_mapping, /* tp_as_mapping */ SwigPyObject_hash, /* tp_hash */ (ternaryfunc) 0, /* tp_call */ (reprfunc) 0, /* tp_str */ (getattrofunc) 0, /* tp_getattro */ (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeedNtHash_type.as_buffer, /* tp_as_buffer */ + &SwigPyBuiltin__btllib__BlindNtHash_type.as_buffer, /* tp_as_buffer */ #if PY_VERSION_HEX >= 0x03000000 Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ #else Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ #endif - "btllib::SeedNtHash", /* tp_doc */ + "btllib::BlindNtHash", /* tp_doc */ (traverseproc) 0, /* tp_traverse */ (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeedNtHash_richcompare, /* tp_richcompare */ + SwigPyBuiltin__btllib__BlindNtHash_richcompare, /* tp_richcompare */ 0, /* tp_weaklistoffset */ (getiterfunc) 0, /* tp_iter */ (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeedNtHash_methods,/* tp_methods */ + SwigPyBuiltin__btllib__BlindNtHash_methods, /* tp_methods */ 0, /* tp_members */ - SwigPyBuiltin__btllib__SeedNtHash_getset, /* tp_getset */ + SwigPyBuiltin__btllib__BlindNtHash_getset,/* tp_getset */ 0, /* tp_base */ 0, /* tp_dict */ (descrgetfunc) 0, /* tp_descr_get */ (descrsetfunc) 0, /* tp_descr_set */ offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeedNtHash, /* tp_init */ + _wrap_new_BlindNtHash, /* tp_init */ (allocfunc) 0, /* tp_alloc */ (newfunc) 0, /* tp_new */ (freefunc) 0, /* tp_free */ @@ -57664,9 +52950,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -57767,14 +53050,230 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ +}; + +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BlindNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BlindNtHash_type}; + +static SwigPyGetSet SeedNtHash___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeedNtHash_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeedNtHash___dict___getset }, + { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ +}; + +SWIGINTERN PyObject * +SwigPyBuiltin__btllib__SeedNtHash_richcompare(PyObject *self, PyObject *other, int op) { + PyObject *result = NULL; + if (!result) { + if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { + result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); + } else { + result = Py_NotImplemented; + Py_INCREF(result); + } + } + return result; +} + +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeedNtHash_methods[] = { + { "roll", _wrap_SeedNtHash_roll, METH_NOARGS, "" }, + { "roll_back", _wrap_SeedNtHash_roll_back, METH_NOARGS, "" }, + { "peek", _wrap_SeedNtHash_peek, METH_VARARGS, "" }, + { "peek_back", _wrap_SeedNtHash_peek_back, METH_VARARGS, "" }, + { "hashes", _wrap_SeedNtHash_hashes, METH_NOARGS, "" }, + { "change_seq", _wrap_SeedNtHash_change_seq, METH_VARARGS, "" }, + { "get_pos", _wrap_SeedNtHash_get_pos, METH_NOARGS, "" }, + { "forward", _wrap_SeedNtHash_forward, METH_NOARGS, "" }, + { "get_hash_num", _wrap_SeedNtHash_get_hash_num, METH_NOARGS, "" }, + { "get_hash_num_per_seed", _wrap_SeedNtHash_get_hash_num_per_seed, METH_NOARGS, "" }, + { "get_k", _wrap_SeedNtHash_get_k, METH_NOARGS, "" }, + { "get_forward_hash", _wrap_SeedNtHash_get_forward_hash, METH_NOARGS, "" }, + { "get_reverse_hash", _wrap_SeedNtHash_get_reverse_hash, METH_NOARGS, "" }, + { NULL, NULL, 0, NULL } /* Sentinel */ +}; + +static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { + { +#if PY_VERSION_HEX >= 0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ #endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ + "btllib.SeedNtHash", /* tp_name */ + sizeof(SwigPyObject), /* tp_basicsize */ + 0, /* tp_itemsize */ + _wrap_delete_SeedNtHash_destructor_closure, /* tp_dealloc */ + (printfunc) 0, /* tp_print */ + (getattrfunc) 0, /* tp_getattr */ + (setattrfunc) 0, /* tp_setattr */ +#if PY_VERSION_HEX >= 0x03000000 + 0, /* tp_compare */ +#else + (cmpfunc) 0, /* tp_compare */ +#endif + (reprfunc) 0, /* tp_repr */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_mapping, /* tp_as_mapping */ + SwigPyObject_hash, /* tp_hash */ + (ternaryfunc) 0, /* tp_call */ + (reprfunc) 0, /* tp_str */ + (getattrofunc) 0, /* tp_getattro */ + (setattrofunc) 0, /* tp_setattro */ + &SwigPyBuiltin__btllib__SeedNtHash_type.as_buffer, /* tp_as_buffer */ +#if PY_VERSION_HEX >= 0x03000000 + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ +#else + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ +#endif + "btllib::SeedNtHash", /* tp_doc */ + (traverseproc) 0, /* tp_traverse */ + (inquiry) 0, /* tp_clear */ + SwigPyBuiltin__btllib__SeedNtHash_richcompare, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + (getiterfunc) 0, /* tp_iter */ + (iternextfunc) 0, /* tp_iternext */ + SwigPyBuiltin__btllib__SeedNtHash_methods,/* tp_methods */ + 0, /* tp_members */ + SwigPyBuiltin__btllib__SeedNtHash_getset, /* tp_getset */ + 0, /* tp_base */ + 0, /* tp_dict */ + (descrgetfunc) 0, /* tp_descr_get */ + (descrsetfunc) 0, /* tp_descr_set */ + offsetof(SwigPyObject, dict), /* tp_dictoffset */ + _wrap_new_SeedNtHash, /* tp_init */ + (allocfunc) 0, /* tp_alloc */ + (newfunc) 0, /* tp_new */ + (freefunc) 0, /* tp_free */ + (inquiry) 0, /* tp_is_gc */ + (PyObject *) 0, /* tp_bases */ + (PyObject *) 0, /* tp_mro */ + (PyObject *) 0, /* tp_cache */ + (PyObject *) 0, /* tp_subclasses */ + (PyObject *) 0, /* tp_weaklist */ + (destructor) 0, /* tp_del */ + (int) 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + (destructor) 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + (vectorcallfunc) 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + (Py_ssize_t) 0, /* tp_allocs */ + (Py_ssize_t) 0, /* tp_frees */ + (Py_ssize_t) 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0, /* tp_next */ +#endif + }, +#if PY_VERSION_HEX >= 0x03050000 { - (PyObject *) 0, /* getitem */ - } + (unaryfunc) 0, /* am_await */ + (unaryfunc) 0, /* am_aiter */ + (unaryfunc) 0, /* am_anext */ + }, +#endif + { + (binaryfunc) 0, /* nb_add */ + (binaryfunc) 0, /* nb_subtract */ + (binaryfunc) 0, /* nb_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_divide */ +#endif + (binaryfunc) 0, /* nb_remainder */ + (binaryfunc) 0, /* nb_divmod */ + (ternaryfunc) 0, /* nb_power */ + (unaryfunc) 0, /* nb_negative */ + (unaryfunc) 0, /* nb_positive */ + (unaryfunc) 0, /* nb_absolute */ + (inquiry) 0, /* nb_nonzero */ + (unaryfunc) 0, /* nb_invert */ + (binaryfunc) 0, /* nb_lshift */ + (binaryfunc) 0, /* nb_rshift */ + (binaryfunc) 0, /* nb_and */ + (binaryfunc) 0, /* nb_xor */ + (binaryfunc) 0, /* nb_or */ +#if PY_VERSION_HEX < 0x03000000 + (coercion) 0, /* nb_coerce */ +#endif + (unaryfunc) 0, /* nb_int */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* nb_reserved */ +#else + (unaryfunc) 0, /* nb_long */ +#endif + (unaryfunc) 0, /* nb_float */ +#if PY_VERSION_HEX < 0x03000000 + (unaryfunc) 0, /* nb_oct */ + (unaryfunc) 0, /* nb_hex */ +#endif + (binaryfunc) 0, /* nb_inplace_add */ + (binaryfunc) 0, /* nb_inplace_subtract */ + (binaryfunc) 0, /* nb_inplace_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_inplace_divide */ +#endif + (binaryfunc) 0, /* nb_inplace_remainder */ + (ternaryfunc) 0, /* nb_inplace_power */ + (binaryfunc) 0, /* nb_inplace_lshift */ + (binaryfunc) 0, /* nb_inplace_rshift */ + (binaryfunc) 0, /* nb_inplace_and */ + (binaryfunc) 0, /* nb_inplace_xor */ + (binaryfunc) 0, /* nb_inplace_or */ + (binaryfunc) 0, /* nb_floor_divide */ + (binaryfunc) 0, /* nb_true_divide */ + (binaryfunc) 0, /* nb_inplace_floor_divide */ + (binaryfunc) 0, /* nb_inplace_true_divide */ + (unaryfunc) 0, /* nb_index */ +#if PY_VERSION_HEX >= 0x03050000 + (binaryfunc) 0, /* nb_matrix_multiply */ + (binaryfunc) 0, /* nb_inplace_matrix_multiply */ +#endif + }, + { + (lenfunc) 0, /* mp_length */ + (binaryfunc) 0, /* mp_subscript */ + (objobjargproc) 0, /* mp_ass_subscript */ + }, + { + (lenfunc) 0, /* sq_length */ + (binaryfunc) 0, /* sq_concat */ + (ssizeargfunc) 0, /* sq_repeat */ + (ssizeargfunc) 0, /* sq_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_slice */ +#else + (ssizessizeargfunc) 0, /* sq_slice */ +#endif + (ssizeobjargproc) 0, /* sq_ass_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_ass_slice */ +#else + (ssizessizeobjargproc) 0, /* sq_ass_slice */ +#endif + (objobjproc) 0, /* sq_contains */ + (binaryfunc) 0, /* sq_inplace_concat */ + (ssizeargfunc) 0, /* sq_inplace_repeat */ + }, + { +#if PY_VERSION_HEX < 0x03000000 + (readbufferproc) 0, /* bf_getreadbuffer */ + (writebufferproc) 0, /* bf_getwritebuffer */ + (segcountproc) 0, /* bf_getsegcount */ + (charbufferproc) 0, /* bf_getcharbuffer */ +#endif + (getbufferproc) 0, /* bf_getbuffer */ + (releasebufferproc) 0, /* bf_releasebuffer */ + }, + (PyObject *) 0, /* ht_name */ + (PyObject *) 0, /* ht_slots */ +#if PY_VERSION_HEX >= 0x03030000 + (PyObject *) 0, /* ht_qualname */ + 0, /* ht_cached_keys */ #endif }; @@ -57802,8 +53301,6 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare(PyObject *self SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_methods[] = { { "insert", _wrap_CountingBloomFilter8_insert, METH_VARARGS, "" }, - { "remove", _wrap_CountingBloomFilter8_remove, METH_VARARGS, "" }, - { "clear", _wrap_CountingBloomFilter8_clear, METH_VARARGS, "" }, { "contains", _wrap_CountingBloomFilter8_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_CountingBloomFilter8_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_CountingBloomFilter8_insert_contains, METH_VARARGS, "" }, @@ -57832,11 +53329,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_CountingBloomFilter8_destructor_closure, /* tp_dealloc */ -#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 @@ -57908,9 +53401,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -58011,15 +53501,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type}; @@ -58046,8 +53527,6 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare(PyObject *sel SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_methods[] = { { "insert", _wrap_CountingBloomFilter16_insert, METH_VARARGS, "" }, - { "remove", _wrap_CountingBloomFilter16_remove, METH_VARARGS, "" }, - { "clear", _wrap_CountingBloomFilter16_clear, METH_VARARGS, "" }, { "contains", _wrap_CountingBloomFilter16_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_CountingBloomFilter16_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_CountingBloomFilter16_insert_contains, METH_VARARGS, "" }, @@ -58076,11 +53555,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_CountingBloomFilter16_destructor_closure, /* tp_dealloc */ -#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 @@ -58152,9 +53627,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -58255,15 +53727,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type}; @@ -58290,8 +53753,6 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare(PyObject *sel SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_methods[] = { { "insert", _wrap_CountingBloomFilter32_insert, METH_VARARGS, "" }, - { "remove", _wrap_CountingBloomFilter32_remove, METH_VARARGS, "" }, - { "clear", _wrap_CountingBloomFilter32_clear, METH_VARARGS, "" }, { "contains", _wrap_CountingBloomFilter32_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_CountingBloomFilter32_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_CountingBloomFilter32_insert_contains, METH_VARARGS, "" }, @@ -58320,11 +53781,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_CountingBloomFilter32_destructor_closure, /* tp_dealloc */ -#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 @@ -58396,9 +53853,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -58499,15 +53953,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type}; @@ -58534,8 +53979,6 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare(PyObject * SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_methods[] = { { "insert", _wrap_KmerCountingBloomFilter8_insert, METH_VARARGS, "" }, - { "remove", _wrap_KmerCountingBloomFilter8_remove, METH_VARARGS, "" }, - { "clear", _wrap_KmerCountingBloomFilter8_clear, METH_VARARGS, "" }, { "contains", _wrap_KmerCountingBloomFilter8_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_KmerCountingBloomFilter8_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_KmerCountingBloomFilter8_insert_contains, METH_VARARGS, "" }, @@ -58566,11 +54009,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_KmerCountingBloomFilter8_destructor_closure, /* tp_dealloc */ -#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 @@ -58642,9 +54081,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -58745,15 +54181,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type}; @@ -58780,8 +54207,6 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare(PyObject SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_methods[] = { { "insert", _wrap_KmerCountingBloomFilter16_insert, METH_VARARGS, "" }, - { "remove", _wrap_KmerCountingBloomFilter16_remove, METH_VARARGS, "" }, - { "clear", _wrap_KmerCountingBloomFilter16_clear, METH_VARARGS, "" }, { "contains", _wrap_KmerCountingBloomFilter16_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_KmerCountingBloomFilter16_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_KmerCountingBloomFilter16_insert_contains, METH_VARARGS, "" }, @@ -58812,11 +54237,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_KmerCountingBloomFilter16_destructor_closure, /* tp_dealloc */ -#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 @@ -58888,9 +54309,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -58991,15 +54409,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type}; @@ -59026,8 +54435,6 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare(PyObject SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_methods[] = { { "insert", _wrap_KmerCountingBloomFilter32_insert, METH_VARARGS, "" }, - { "remove", _wrap_KmerCountingBloomFilter32_remove, METH_VARARGS, "" }, - { "clear", _wrap_KmerCountingBloomFilter32_clear, METH_VARARGS, "" }, { "contains", _wrap_KmerCountingBloomFilter32_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_KmerCountingBloomFilter32_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_KmerCountingBloomFilter32_insert_contains, METH_VARARGS, "" }, @@ -59058,11 +54465,7 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_KmerCountingBloomFilter32_destructor_closure, /* tp_dealloc */ -#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 @@ -59134,9 +54537,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ -# if PY_VERSION_HEX >= 0x030a0000 - (sendfunc) 0, /* am_send */ -# endif }, #endif { @@ -59237,15 +54637,6 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -#if PY_VERSION_HEX >= 0x03090000 - (PyObject *) 0, /* ht_module */ -#endif -#if PY_VERSION_HEX >= 0x030b0000 - (char *) 0, /* _ht_tpname */ - { - (PyObject *) 0, /* getitem */ - } -#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type}; @@ -59253,65 +54644,65 @@ SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ +static void *_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +} +static void *_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +} +static void *_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +} +static void *_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) ((std::basic_ios< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +} +static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); +} +static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); +} +static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); +} +static void *_p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) ((std::basic_ios< char,std::char_traits< char > > *) x)); +} static void *_p_btllib__DataSinkTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((btllib::DataStream *) ((btllib::DataSink *) x)); } static void *_p_btllib__DataSourceTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((btllib::DataStream *) ((btllib::DataSource *) x)); } -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); -} -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); -} -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); -} static void *_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) x)); } static void *_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) x)); } -static void *_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) ((std::basic_ios< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > *) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); +static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); } static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); } -static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); +static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > *) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_istream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } -static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ostream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); -} -static void *_p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) ((std::basic_ios< char,std::char_traits< char > > *) x)); +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); } -static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); } -static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); } -static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); +static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ostream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } static swig_type_info _swigt__p_HashedKmer = {"_p_HashedKmer", "HashedKmer *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_SwigPyObject = {"_p_SwigPyObject", "SwigPyObject *", 0, 0, (void*)0, 0}; @@ -59321,24 +54712,23 @@ static swig_type_info _swigt__p_btllib__Barrier = {"_p_btllib__Barrier", "btllib static swig_type_info _swigt__p_btllib__BlindNtHash = {"_p_btllib__BlindNtHash", "btllib::BlindNtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__BlindNtHash_clientdata, 0}; static swig_type_info _swigt__p_btllib__BloomFilter = {"_p_btllib__BloomFilter", "btllib::BloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__BloomFilter_clientdata, 0}; static swig_type_info _swigt__p_btllib__CString = {"_p_btllib__CString", "btllib::CString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_char_t = {"_p_btllib__CountingBloomFilterT_unsigned_char_t", "btllib::CountingBloomFilter8 *|btllib::CountingBloomFilter< uint8_t > *|btllib::CountingBloomFilter< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_char_t = {"_p_btllib__CountingBloomFilterT_unsigned_char_t", "btllib::CountingBloomFilter< unsigned char > *|btllib::CountingBloomFilter8 *|btllib::CountingBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_int_t = {"_p_btllib__CountingBloomFilterT_unsigned_int_t", "btllib::CountingBloomFilter32 *|btllib::CountingBloomFilter< uint32_t > *|btllib::CountingBloomFilter< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_short_t = {"_p_btllib__CountingBloomFilterT_unsigned_short_t", "btllib::CountingBloomFilter16 *|btllib::CountingBloomFilter< uint16_t > *|btllib::CountingBloomFilter< unsigned short > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_short_t = {"_p_btllib__CountingBloomFilterT_unsigned_short_t", "btllib::CountingBloomFilter< unsigned short > *|btllib::CountingBloomFilter16 *|btllib::CountingBloomFilter< uint16_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataSink = {"_p_btllib__DataSink", "btllib::DataSink *", 0, 0, (void*)&SwigPyBuiltin__btllib__DataSink_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataSource = {"_p_btllib__DataSource", "btllib::DataSource *", 0, 0, (void*)&SwigPyBuiltin__btllib__DataSource_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataStream = {"_p_btllib__DataStream", "btllib::DataStream *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_btllib__Datatype = {"_p_btllib__Datatype", "btllib::Datatype *", 0, 0, (void*)&SwigPyBuiltin__btllib__Datatype_clientdata, 0}; static swig_type_info _swigt__p_btllib__Indexlr = {"_p_btllib__Indexlr", "btllib::Indexlr *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr_clientdata, 0}; static swig_type_info _swigt__p_btllib__Indexlr__Flag = {"_p_btllib__Indexlr__Flag", "btllib::Indexlr::Flag *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__Flag_clientdata, 0}; -static swig_type_info _swigt__p_btllib__Indexlr__Minimizer = {"_p_btllib__Indexlr__Minimizer", "std::vector< btllib::Indexlr::Minimizer >::value_type *|btllib::Indexlr::Minimizer *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__Minimizer_clientdata, 0}; +static swig_type_info _swigt__p_btllib__Indexlr__Minimizer = {"_p_btllib__Indexlr__Minimizer", "btllib::Indexlr::Minimizer *|std::vector< btllib::Indexlr::Minimizer >::value_type *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__Minimizer_clientdata, 0}; static swig_type_info _swigt__p_btllib__Indexlr__Record = {"_p_btllib__Indexlr__Record", "btllib::Indexlr::Record *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__Record_clientdata, 0}; static swig_type_info _swigt__p_btllib__Indexlr__RecordIterator = {"_p_btllib__Indexlr__RecordIterator", "btllib::Indexlr::RecordIterator *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__RecordIterator_clientdata, 0}; static swig_type_info _swigt__p_btllib__KmerBloomFilter = {"_p_btllib__KmerBloomFilter", "btllib::KmerBloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerBloomFilter_clientdata, 0}; -static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_char_t", "btllib::KmerCountingBloomFilter8 *|btllib::KmerCountingBloomFilter< uint8_t > *|btllib::KmerCountingBloomFilter< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_char_t", "btllib::KmerCountingBloomFilter< unsigned char > *|btllib::KmerCountingBloomFilter8 *|btllib::KmerCountingBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_int_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_int_t", "btllib::KmerCountingBloomFilter32 *|btllib::KmerCountingBloomFilter< uint32_t > *|btllib::KmerCountingBloomFilter< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_short_t", "btllib::KmerCountingBloomFilter16 *|btllib::KmerCountingBloomFilter< uint16_t > *|btllib::KmerCountingBloomFilter< unsigned short > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_short_t", "btllib::KmerCountingBloomFilter< unsigned short > *|btllib::KmerCountingBloomFilter16 *|btllib::KmerCountingBloomFilter< uint16_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__NtHash = {"_p_btllib__NtHash", "btllib::NtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__NtHash_clientdata, 0}; -static swig_type_info _swigt__p_btllib__RandomSequenceGenerator = {"_p_btllib__RandomSequenceGenerator", "btllib::RandomSequenceGenerator *", 0, 0, (void*)&SwigPyBuiltin__btllib__RandomSequenceGenerator_clientdata, 0}; static swig_type_info _swigt__p_btllib__SeedBloomFilter = {"_p_btllib__SeedBloomFilter", "btllib::SeedBloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__SeedBloomFilter_clientdata, 0}; static swig_type_info _swigt__p_btllib__SeedNtHash = {"_p_btllib__SeedNtHash", "btllib::SeedNtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__SeedNtHash_clientdata, 0}; static swig_type_info _swigt__p_btllib__SeqReader = {"_p_btllib__SeqReader", "btllib::SeqReader *", 0, 0, (void*)&SwigPyBuiltin__btllib__SeqReader_clientdata, 0}; @@ -59351,28 +54741,28 @@ static swig_type_info _swigt__p_char_type = {"_p_char_type", "char_type *", 0, 0 static swig_type_info _swigt__p_cpptoml__table = {"_p_cpptoml__table", "cpptoml::table *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_difference_type = {"_p_difference_type", "difference_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void = {"_p_f_enum_std__ios_base__event_r_std__ios_base_int__void", "std::ios_base::event_callback|void (*)(enum std::ios_base::event,std::ios_base &,int)", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void = {"_p_f_enum_std__ios_base__event_r_std__ios_base_int__void", "void (*)(enum std::ios_base::event,std::ios_base &,int)|std::ios_base::event_callback", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__ios_base = {"_p_f_r_std__ios_base__r_std__ios_base", "std::ios_base &(*)(std::ios_base &)", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_fmtflags = {"_p_fmtflags", "fmtflags *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int = {"_p_int", "int32_t *|int_fast16_t *|int_fast32_t *|int_least32_t *|intptr_t *|int *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "intptr_t *|int *|int_least32_t *|int_fast32_t *|int32_t *|int_fast16_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_int_type = {"_p_int_type", "int_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_iostate = {"_p_iostate", "iostate *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long_double = {"_p_long_double", "long double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_long_long = {"_p_long_long", "int64_t *|int_fast64_t *|int_least64_t *|intmax_t *|long long *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_long_long = {"_p_long_long", "int_least64_t *|int_fast64_t *|int64_t *|long long *|intmax_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_off_type = {"_p_off_type", "off_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_openmode = {"_p_openmode", "openmode *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_PyObject = {"_p_p_PyObject", "PyObject **", 0, 0, (void*)0, 0}; @@ -59380,46 +54770,46 @@ static swig_type_info _swigt__p_p_unsigned_long_long = {"_p_p_unsigned_long_long static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_pos_type = {"_p_pos_type", "pos_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_seekdir = {"_p_seekdir", "seekdir *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_short = {"_p_short", "int16_t *|int_least16_t *|short *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "int8_t *|int_fast8_t *|int_least8_t *|signed char *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_short = {"_p_short", "short *|int_least16_t *|int16_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "signed char *|int_least8_t *|int_fast8_t *|int8_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_size_t = {"_p_size_t", "std::streamsize *|size_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_state_type = {"_p_state_type", "state_type *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__allocatorT_btllib__Indexlr__Minimizer_t = {"_p_std__allocatorT_btllib__Indexlr__Minimizer_t", "std::vector< btllib::Indexlr::Minimizer >::allocator_type *|std::allocator< btllib::Indexlr::Minimizer > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__allocatorT_btllib__Indexlr__Minimizer_t = {"_p_std__allocatorT_btllib__Indexlr__Minimizer_t", "std::allocator< btllib::Indexlr::Minimizer > *|std::vector< btllib::Indexlr::Minimizer >::allocator_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_double_t = {"_p_std__allocatorT_double_t", "std::vector< double >::allocator_type *|std::allocator< double > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_int_t = {"_p_std__allocatorT_int_t", "std::vector< int >::allocator_type *|std::allocator< int > *", 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_unsigned_int_std__allocatorT_unsigned_int_t_t_t = {"_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t", "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type *|std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t = {"_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t", "std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_unsigned_int_t = {"_p_std__allocatorT_unsigned_int_t", "std::vector< unsigned int >::allocator_type *|std::allocator< unsigned int > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__allocatorT_unsigned_long_long_t = {"_p_std__allocatorT_unsigned_long_long_t", "std::vector< uint64_t >::allocator_type *|std::allocator< uint64_t > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char,std::char_traits< char > > *|std::ios *|std::basic_ios< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iosT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t", "std::basic_iostream< char,std::char_traits< char > > *|std::iostream *|std::basic_iostream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char,std::char_traits< char > > *|std::istream *|std::basic_istream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_istreamT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char,std::char_traits< char > > *|std::ostream *|std::basic_ostream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__allocatorT_unsigned_long_long_t = {"_p_std__allocatorT_unsigned_long_long_t", "std::allocator< uint64_t > *|std::vector< uint64_t >::allocator_type *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char > *|std::basic_ios< char,std::char_traits< char > > *|std::ios *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iosT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t", "std::basic_iostream< char,std::char_traits< char > > *|std::basic_iostream< char > *|std::iostream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char > *|std::basic_istream< char,std::char_traits< char > > *|std::istream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_istreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char > *|std::basic_ostream< char,std::char_traits< char > > *|std::ostream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata, 0}; static swig_type_info _swigt__p_std__basic_streambufT_char_std__char_traitsT_char_t_t = {"_p_std__basic_streambufT_char_std__char_traitsT_char_t_t", "std::basic_streambuf< char,std::char_traits< char > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t = {"_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t", "std::basic_string< char,std::char_traits< char >,std::allocator< char > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__ios_base = {"_p_std__ios_base", "std::ios_base *", 0, 0, (void*)&SwigPyBuiltin__std__ios_base_clientdata, 0}; static swig_type_info _swigt__p_std__locale = {"_p_std__locale", "std::locale *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t = {"_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t", "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *|std::vector< btllib::Indexlr::Minimizer > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t = {"_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t", "std::vector< btllib::Indexlr::Minimizer > *|std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_clientdata, 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 > > *|std::vector< double > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_double_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_int_std__allocatorT_int_t_t = {"_p_std__vectorT_int_std__allocatorT_int_t_t", "std::vector< int,std::allocator< int > > *|std::vector< int > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_int_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t = {"_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t", "btllib::SpacedSeedBlocks *|std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > *", 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*)&SwigPyBuiltin__std__vectorT_std__string_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t = {"_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t", "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *|std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t = {"_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t", "std::vector< btllib::SpacedSeed > *|std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t = {"_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t", "std::vector< btllib::SpacedSeed > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > *|std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t = {"_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t", "std::vector< unsigned char,std::allocator< unsigned char > > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t = {"_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t", "btllib::SpacedSeed *|btllib::SpacedSeedMonomers *|std::vector< unsigned int,std::allocator< unsigned int > > *|std::vector< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata, 0}; -static swig_type_info _swigt__p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t = {"_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t", "std::vector< uint64_t > *|std::vector< uint64_t,std::allocator< uint64_t > > *|std::vector< uint64_t > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata, 0}; -static swig_type_info _swigt__p_streamoff = {"_p_streamoff", "std::basic_istream< char >::off_type *|std::basic_ostream< char >::off_type *|streamoff *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_streampos = {"_p_streampos", "std::basic_istream< char >::pos_type *|std::basic_ostream< char >::pos_type *|streampos *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t = {"_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t", "btllib::SpacedSeed *|std::vector< unsigned int,std::allocator< unsigned int > > *|std::vector< unsigned int > *|btllib::SpacedSeedMonomers *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t = {"_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t", "std::vector< uint64_t > *|std::vector< uint64_t > *|std::vector< uint64_t,std::allocator< uint64_t > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata, 0}; +static swig_type_info _swigt__p_streamoff = {"_p_streamoff", "std::basic_ostream< char >::off_type *|std::basic_istream< char >::off_type *|streamoff *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_streampos = {"_p_streampos", "std::basic_ostream< char >::pos_type *|std::basic_istream< char >::pos_type *|streampos *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_swig__SwigPyIterator = {"_p_swig__SwigPyIterator", "swig::SwigPyIterator *", 0, 0, (void*)&SwigPyBuiltin__swig__SwigPyIterator_clientdata, 0}; static swig_type_info _swigt__p_traits_type = {"_p_traits_type", "traits_type *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "btllib::NTHASH_HASH_NUM_TYPE *|uint8_t *|uint_fast8_t *|uint_least8_t *|unsigned char *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uint32_t *|uint_fast16_t *|uint_fast32_t *|uint_least32_t *|uintptr_t *|unsigned int *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "btllib::PipeId *|btllib::PipelineId *|unsigned long *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint64_t *|uint_fast64_t *|uint_least64_t *|uintmax_t *|uint64_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "btllib::NTHASH_K_TYPE *|uint16_t *|uint_least16_t *|unsigned short *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|btllib::NTHASH_HASH_NUM_TYPE *|uint_least8_t *|uint_fast8_t *|uint8_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uintptr_t *|uint_least32_t *|uint_fast32_t *|uint32_t *|unsigned int *|uint_fast16_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "btllib::PipelineId *|unsigned long *|btllib::PipeId *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint_least64_t *|uint_fast64_t *|uint64_t *|uint64_t *|uintmax_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "btllib::NTHASH_K_TYPE *|unsigned short *|uint_least16_t *|uint16_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0}; static swig_type_info *swig_type_initial[] = { @@ -59448,7 +54838,6 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_int_t, &_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t, &_swigt__p_btllib__NtHash, - &_swigt__p_btllib__RandomSequenceGenerator, &_swigt__p_btllib__SeedBloomFilter, &_swigt__p_btllib__SeedNtHash, &_swigt__p_btllib__SeqReader, @@ -59558,7 +54947,6 @@ static swig_cast_info _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_char_t static swig_cast_info _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_int_t[] = { {&_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_short_t[] = { {&_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__NtHash[] = { {&_swigt__p_btllib__NtHash, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_btllib__RandomSequenceGenerator[] = { {&_swigt__p_btllib__RandomSequenceGenerator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__SeedBloomFilter[] = { {&_swigt__p_btllib__SeedBloomFilter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__SeedNtHash[] = { {&_swigt__p_btllib__SeedNtHash, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__SeqReader[] = { {&_swigt__p_btllib__SeqReader, 0, 0, 0},{0, 0, 0, 0}}; @@ -59572,19 +54960,19 @@ static swig_cast_info _swigc__p_cpptoml__table[] = { {&_swigt__p_cpptoml__table static swig_cast_info _swigc__p_difference_type[] = { {&_swigt__p_difference_type, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_enum_std__ios_base__event_r_std__ios_base_int__void[] = { {&_swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__ios_base[] = { {&_swigt__p_f_r_std__ios_base__r_std__ios_base, 0, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__ios_base[] = { {&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__ios_base, 0, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_fmtflags[] = { {&_swigt__p_fmtflags, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; @@ -59612,13 +55000,13 @@ static swig_cast_info _swigc__p_std__allocatorT_std__string_t[] = { {&_swigt__p static swig_cast_info _swigc__p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t[] = { {&_swigt__p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_unsigned_int_t[] = { {&_swigt__p_std__allocatorT_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_unsigned_long_long_t[] = { {&_swigt__p_std__allocatorT_unsigned_long_long_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_streambufT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t[] = { {&_swigt__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__ios_base[] = { {&_swigt__p_std__ios_base, 0, 0, 0}, {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__ios_base[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__ios_base, 0, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__locale[] = { {&_swigt__p_std__locale, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__string[] = { {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t[] = { {&_swigt__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -59668,7 +55056,6 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_int_t, _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_short_t, _swigc__p_btllib__NtHash, - _swigc__p_btllib__RandomSequenceGenerator, _swigc__p_btllib__SeedBloomFilter, _swigc__p_btllib__SeedNtHash, _swigc__p_btllib__SeqReader, @@ -59819,12 +55206,9 @@ extern "C" { #define SWIGRUNTIME_DEBUG #endif -#ifndef SWIG_INIT_CLIENT_DATA_TYPE -#define SWIG_INIT_CLIENT_DATA_TYPE void * -#endif SWIGRUNTIME void -SWIG_InitializeModule(SWIG_INIT_CLIENT_DATA_TYPE clientdata) { +SWIG_InitializeModule(void *clientdata) { size_t i; swig_module_info *module_head, *iter; int init; @@ -60007,6 +55391,220 @@ 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 +#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; + } + + SWIGINTERN PyObject * + SWIG_globals(void) { + static PyObject *globals = 0; + if (!globals) { + globals = SWIG_newvarlink(); + } + return globals; + } + /* ----------------------------------------------------------------------------- * constants/methods manipulation * ----------------------------------------------------------------------------- */ @@ -60035,12 +55633,15 @@ extern "C" { } } - /* ----------------------------------------------------------------------------- - * Patch %callback methods' docstrings to hold the callback ptrs - * -----------------------------------------------------------------------------*/ + /* -----------------------------------------------------------------------------*/ + /* Fix SwigMethods to carry the callback ptrs when needed */ + /* -----------------------------------------------------------------------------*/ SWIGINTERN void - SWIG_Python_FixMethods(PyMethodDef *methods, const swig_const_info *const_table, swig_type_info **types, swig_type_info **types_initial) { + SWIG_Python_FixMethods(PyMethodDef *methods, + 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; @@ -60048,7 +55649,7 @@ extern "C" { c = strstr(c, "swig_ptr: "); if (c) { int j; - const swig_const_info *ci = 0; + 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, @@ -60080,13 +55681,68 @@ 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 * -----------------------------------------------------------------------------*/ @@ -60236,6 +55892,7 @@ SWIG_init(void) { #endif } PyDict_SetItemString(md, "cvar", globals); + Py_DECREF(globals); SwigPyBuiltin_AddPublicSymbol(public_interface, "cvar"); SWIG_addvarlink(globals, "ios_base_boolalpha", Swig_var_ios_base_boolalpha_get, Swig_var_ios_base_boolalpha_set); SWIG_addvarlink(globals, "ios_base_dec", Swig_var_ios_base_dec_get, Swig_var_ios_base_dec_set); @@ -60278,97 +55935,97 @@ SWIG_init(void) { SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_scientific_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ios_base_in_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_floatfield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_basefield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_failbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ate_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_hex_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_unitbuf_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_right_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_out_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_basefield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_app_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_trunc_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_beg_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_end_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_cur_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_left_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_oct_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpoint_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_uppercase_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpos_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_internal_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_boolalpha_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_eofbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_eofbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_skipws_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_out_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_failbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_unitbuf_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpoint_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_oct_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpos_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_internal_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_dec_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_binary_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ios_base_in_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_hex_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_skipws_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showbase_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_uppercase_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_right_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_cur_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_boolalpha_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_goodbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_app_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_end_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_dec_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_left_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_adjustfield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_badbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_fixed_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ate_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_scientific_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_beg_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_adjustfield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showbase_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_floatfield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_badbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_trunc_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); if (PyType_Ready(builtin_pytype) < 0) { @@ -60734,11 +56391,10 @@ SWIG_init(void) { SwigPyBuiltin_AddPublicSymbol(public_interface, "VectorSpacedSeed"); d = md; - /* type 'btllib::SeqWriter' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__SeqWriter_type; + /* type 'btllib::Indexlr' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr_type; builtin_pytype->tp_dict = d = PyDict_New(); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FASTA",SWIG_From_int(static_cast< int >(btllib::SeqWriter::FASTA))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FASTQ",SWIG_From_int(static_cast< int >(btllib::SeqWriter::FASTQ))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "MAX_SIMULTANEOUS_INDEXLRS",SWIG_From_size_t(static_cast< size_t >(btllib::Indexlr::MAX_SIMULTANEOUS_INDEXLRS))); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; builtin_base_count = 0; @@ -60747,7 +56403,7 @@ SWIG_init(void) { PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'SeqWriter'."); + PyErr_SetString(PyExc_TypeError, "Could not create type 'Indexlr'."); #if PY_VERSION_HEX >= 0x03000000 return NULL; #else @@ -60755,19 +56411,20 @@ SWIG_init(void) { #endif } Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "SeqWriter", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "SeqWriter"); + PyModule_AddObject(m, "Indexlr", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "Indexlr"); d = md; - SWIG_addvarlink(globals, "COUNTING_BLOOM_FILTER_SIGNATURE", Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_get, Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_set); - PyDict_SetItemString(md, "COUNTING_BLOOM_FILTER_SIGNATURE", PyObject_GetAttrString(globals, "COUNTING_BLOOM_FILTER_SIGNATURE")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "COUNTING_BLOOM_FILTER_SIGNATURE"); - SWIG_addvarlink(globals, "KMER_COUNTING_BLOOM_FILTER_SIGNATURE", Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_get, Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_set); - PyDict_SetItemString(md, "KMER_COUNTING_BLOOM_FILTER_SIGNATURE", PyObject_GetAttrString(globals, "KMER_COUNTING_BLOOM_FILTER_SIGNATURE")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "KMER_COUNTING_BLOOM_FILTER_SIGNATURE"); - /* type 'btllib::Datatype' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Datatype_type; + /* type 'btllib::Indexlr::Flag' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Flag_type; builtin_pytype->tp_dict = d = PyDict_New(); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "NO_ID",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::NO_ID))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "BX",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::BX))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SEQ",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::SEQ))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FILTER_IN",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::FILTER_IN))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FILTER_OUT",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::FILTER_OUT))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SHORT_MODE",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::SHORT_MODE))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "LONG_MODE",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::LONG_MODE))); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; builtin_base_count = 0; @@ -60776,7 +56433,7 @@ SWIG_init(void) { PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'Datatype'."); + PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrFlag'."); #if PY_VERSION_HEX >= 0x03000000 return NULL; #else @@ -60784,15 +56441,12 @@ SWIG_init(void) { #endif } Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "Datatype", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "Datatype"); + PyModule_AddObject(m, "IndexlrFlag", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrFlag"); d = md; - SWIG_addvarlink(globals, "DATATYPES", Swig_var_DATATYPES_get, Swig_var_DATATYPES_set); - PyDict_SetItemString(md, "DATATYPES", PyObject_GetAttrString(globals, "DATATYPES")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "DATATYPES"); - /* type 'btllib::DataSource' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__DataSource_type; + /* type 'btllib::Indexlr::Minimizer' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Minimizer_type; builtin_pytype->tp_dict = d = PyDict_New(); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; @@ -60802,7 +56456,7 @@ SWIG_init(void) { PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'DataSource'."); + PyErr_SetString(PyExc_TypeError, "Could not create type 'Minimizer'."); #if PY_VERSION_HEX >= 0x03000000 return NULL; #else @@ -60810,12 +56464,12 @@ SWIG_init(void) { #endif } Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "DataSource", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "DataSource"); + PyModule_AddObject(m, "Minimizer", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "Minimizer"); d = md; - /* type 'btllib::DataSink' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__DataSink_type; + /* type 'btllib::Indexlr::Record' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Record_type; builtin_pytype->tp_dict = d = PyDict_New(); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; @@ -60825,7 +56479,7 @@ SWIG_init(void) { PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'DataSink'."); + PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrRecord'."); #if PY_VERSION_HEX >= 0x03000000 return NULL; #else @@ -60833,8 +56487,31 @@ SWIG_init(void) { #endif } Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "DataSink", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "DataSink"); + PyModule_AddObject(m, "IndexlrRecord", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrRecord"); + d = md; + + /* type 'btllib::Indexlr::RecordIterator' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__RecordIterator_type; + builtin_pytype->tp_dict = d = PyDict_New(); + SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); + builtin_pytype->tp_new = PyType_GenericNew; + builtin_base_count = 0; + builtin_bases[builtin_base_count] = NULL; + SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); + PyDict_SetItemString(d, "this", this_descr); + PyDict_SetItemString(d, "thisown", thisown_descr); + if (PyType_Ready(builtin_pytype) < 0) { + PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrRecordIterator'."); +#if PY_VERSION_HEX >= 0x03000000 + return NULL; +#else + return; +#endif + } + Py_INCREF(builtin_pytype); + PyModule_AddObject(m, "IndexlrRecordIterator", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrRecordIterator"); d = md; SWIG_addvarlink(globals, "BIT_MASKS", Swig_var_BIT_MASKS_get, Swig_var_BIT_MASKS_set); PyDict_SetItemString(md, "BIT_MASKS", PyObject_GetAttrString(globals, "BIT_MASKS")); @@ -60926,6 +56603,12 @@ SWIG_init(void) { PyModule_AddObject(m, "SeedBloomFilter", (PyObject *)builtin_pytype); SwigPyBuiltin_AddPublicSymbol(public_interface, "SeedBloomFilter"); d = md; + SWIG_addvarlink(globals, "COUNTING_BLOOM_FILTER_SIGNATURE", Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_get, Swig_var_COUNTING_BLOOM_FILTER_SIGNATURE_set); + PyDict_SetItemString(md, "COUNTING_BLOOM_FILTER_SIGNATURE", PyObject_GetAttrString(globals, "COUNTING_BLOOM_FILTER_SIGNATURE")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "COUNTING_BLOOM_FILTER_SIGNATURE"); + SWIG_addvarlink(globals, "KMER_COUNTING_BLOOM_FILTER_SIGNATURE", Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_get, Swig_var_KMER_COUNTING_BLOOM_FILTER_SIGNATURE_set); + PyDict_SetItemString(md, "KMER_COUNTING_BLOOM_FILTER_SIGNATURE", PyObject_GetAttrString(globals, "KMER_COUNTING_BLOOM_FILTER_SIGNATURE")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "KMER_COUNTING_BLOOM_FILTER_SIGNATURE"); /* type 'btllib::SeqReader' */ builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader_type; @@ -61035,63 +56718,8 @@ SWIG_init(void) { SwigPyBuiltin_AddPublicSymbol(public_interface, "SeqReaderRecordIterator"); d = md; - /* type 'btllib::Indexlr' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr_type; - builtin_pytype->tp_dict = d = PyDict_New(); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "MAX_SIMULTANEOUS_INDEXLRS",SWIG_From_size_t(static_cast< size_t >(btllib::Indexlr::MAX_SIMULTANEOUS_INDEXLRS))); - SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); - builtin_pytype->tp_new = PyType_GenericNew; - builtin_base_count = 0; - builtin_bases[builtin_base_count] = NULL; - SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); - PyDict_SetItemString(d, "this", this_descr); - PyDict_SetItemString(d, "thisown", thisown_descr); - if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'Indexlr'."); -#if PY_VERSION_HEX >= 0x03000000 - return NULL; -#else - return; -#endif - } - Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "Indexlr", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "Indexlr"); - d = md; - - /* type 'btllib::Indexlr::Flag' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Flag_type; - builtin_pytype->tp_dict = d = PyDict_New(); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "NO_ID",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::NO_ID))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "BX",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::BX))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SEQ",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::SEQ))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FILTER_IN",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::FILTER_IN))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FILTER_OUT",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::FILTER_OUT))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SHORT_MODE",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::SHORT_MODE))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "LONG_MODE",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::LONG_MODE))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "QUAL",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::QUAL))); - SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); - builtin_pytype->tp_new = PyType_GenericNew; - builtin_base_count = 0; - builtin_bases[builtin_base_count] = NULL; - SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); - PyDict_SetItemString(d, "this", this_descr); - PyDict_SetItemString(d, "thisown", thisown_descr); - if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrFlag'."); -#if PY_VERSION_HEX >= 0x03000000 - return NULL; -#else - return; -#endif - } - Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "IndexlrFlag", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrFlag"); - d = md; - - /* type 'btllib::Indexlr::Minimizer' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Minimizer_type; + /* type 'btllib::Barrier' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Barrier_type; builtin_pytype->tp_dict = d = PyDict_New(); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; @@ -61101,7 +56729,7 @@ SWIG_init(void) { PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'Minimizer'."); + PyErr_SetString(PyExc_TypeError, "Could not create type 'Barrier'."); #if PY_VERSION_HEX >= 0x03000000 return NULL; #else @@ -61109,13 +56737,15 @@ SWIG_init(void) { #endif } Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "Minimizer", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "Minimizer"); + PyModule_AddObject(m, "Barrier", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "Barrier"); d = md; - /* type 'btllib::Indexlr::Record' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Record_type; + /* type 'btllib::SeqWriter' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__SeqWriter_type; builtin_pytype->tp_dict = d = PyDict_New(); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FASTA",SWIG_From_int(static_cast< int >(btllib::SeqWriter::FASTA))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FASTQ",SWIG_From_int(static_cast< int >(btllib::SeqWriter::FASTQ))); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; builtin_base_count = 0; @@ -61124,7 +56754,7 @@ SWIG_init(void) { PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrRecord'."); + PyErr_SetString(PyExc_TypeError, "Could not create type 'SeqWriter'."); #if PY_VERSION_HEX >= 0x03000000 return NULL; #else @@ -61132,12 +56762,99 @@ SWIG_init(void) { #endif } Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "IndexlrRecord", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrRecord"); + PyModule_AddObject(m, "SeqWriter", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "SeqWriter"); d = md; + SWIG_addvarlink(globals, "COMPLEMENTS", Swig_var_COMPLEMENTS_get, Swig_var_COMPLEMENTS_set); + PyDict_SetItemString(md, "COMPLEMENTS", PyObject_GetAttrString(globals, "COMPLEMENTS")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "COMPLEMENTS"); + SWIG_addvarlink(globals, "CAPITALS", Swig_var_CAPITALS_get, Swig_var_CAPITALS_set); + PyDict_SetItemString(md, "CAPITALS", PyObject_GetAttrString(globals, "CAPITALS")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "CAPITALS"); + SWIG_addvarlink(globals, "CP_OFF", Swig_var_CP_OFF_get, Swig_var_CP_OFF_set); + PyDict_SetItemString(md, "CP_OFF", PyObject_GetAttrString(globals, "CP_OFF")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "CP_OFF"); + SWIG_addvarlink(globals, "MULTISHIFT", Swig_var_MULTISHIFT_get, Swig_var_MULTISHIFT_set); + PyDict_SetItemString(md, "MULTISHIFT", PyObject_GetAttrString(globals, "MULTISHIFT")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "MULTISHIFT"); + SWIG_addvarlink(globals, "MULTISEED", Swig_var_MULTISEED_get, Swig_var_MULTISEED_set); + PyDict_SetItemString(md, "MULTISEED", PyObject_GetAttrString(globals, "MULTISEED")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "MULTISEED"); + SWIG_addvarlink(globals, "SEED_A", Swig_var_SEED_A_get, Swig_var_SEED_A_set); + PyDict_SetItemString(md, "SEED_A", PyObject_GetAttrString(globals, "SEED_A")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_A"); + SWIG_addvarlink(globals, "SEED_C", Swig_var_SEED_C_get, Swig_var_SEED_C_set); + PyDict_SetItemString(md, "SEED_C", PyObject_GetAttrString(globals, "SEED_C")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_C"); + SWIG_addvarlink(globals, "SEED_G", Swig_var_SEED_G_get, Swig_var_SEED_G_set); + PyDict_SetItemString(md, "SEED_G", PyObject_GetAttrString(globals, "SEED_G")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_G"); + SWIG_addvarlink(globals, "SEED_T", Swig_var_SEED_T_get, Swig_var_SEED_T_set); + PyDict_SetItemString(md, "SEED_T", PyObject_GetAttrString(globals, "SEED_T")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_T"); + SWIG_addvarlink(globals, "SEED_N", Swig_var_SEED_N_get, Swig_var_SEED_N_set); + PyDict_SetItemString(md, "SEED_N", PyObject_GetAttrString(globals, "SEED_N")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_N"); + SWIG_addvarlink(globals, "ASCII_SIZE", Swig_var_ASCII_SIZE_get, Swig_var_ASCII_SIZE_set); + PyDict_SetItemString(md, "ASCII_SIZE", PyObject_GetAttrString(globals, "ASCII_SIZE")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "ASCII_SIZE"); + SWIG_addvarlink(globals, "SEED_TAB", Swig_var_SEED_TAB_get, Swig_var_SEED_TAB_set); + PyDict_SetItemString(md, "SEED_TAB", PyObject_GetAttrString(globals, "SEED_TAB")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_TAB"); + SWIG_addvarlink(globals, "A33R", Swig_var_A33R_get, Swig_var_A33R_set); + PyDict_SetItemString(md, "A33R", PyObject_GetAttrString(globals, "A33R")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "A33R"); + SWIG_addvarlink(globals, "A31L", Swig_var_A31L_get, Swig_var_A31L_set); + PyDict_SetItemString(md, "A31L", PyObject_GetAttrString(globals, "A31L")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "A31L"); + SWIG_addvarlink(globals, "C33R", Swig_var_C33R_get, Swig_var_C33R_set); + PyDict_SetItemString(md, "C33R", PyObject_GetAttrString(globals, "C33R")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "C33R"); + SWIG_addvarlink(globals, "C31L", Swig_var_C31L_get, Swig_var_C31L_set); + PyDict_SetItemString(md, "C31L", PyObject_GetAttrString(globals, "C31L")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "C31L"); + SWIG_addvarlink(globals, "G33R", Swig_var_G33R_get, Swig_var_G33R_set); + PyDict_SetItemString(md, "G33R", PyObject_GetAttrString(globals, "G33R")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "G33R"); + SWIG_addvarlink(globals, "G31L", Swig_var_G31L_get, Swig_var_G31L_set); + PyDict_SetItemString(md, "G31L", PyObject_GetAttrString(globals, "G31L")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "G31L"); + SWIG_addvarlink(globals, "T33R", Swig_var_T33R_get, Swig_var_T33R_set); + PyDict_SetItemString(md, "T33R", PyObject_GetAttrString(globals, "T33R")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "T33R"); + SWIG_addvarlink(globals, "T31L", Swig_var_T31L_get, Swig_var_T31L_set); + PyDict_SetItemString(md, "T31L", PyObject_GetAttrString(globals, "T31L")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "T31L"); + SWIG_addvarlink(globals, "N33R", Swig_var_N33R_get, Swig_var_N33R_set); + PyDict_SetItemString(md, "N33R", PyObject_GetAttrString(globals, "N33R")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "N33R"); + SWIG_addvarlink(globals, "N31L", Swig_var_N31L_get, Swig_var_N31L_set); + PyDict_SetItemString(md, "N31L", PyObject_GetAttrString(globals, "N31L")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "N31L"); + SWIG_addvarlink(globals, "MS_TAB_33R", Swig_var_MS_TAB_33R_get, Swig_var_MS_TAB_33R_set); + PyDict_SetItemString(md, "MS_TAB_33R", PyObject_GetAttrString(globals, "MS_TAB_33R")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "MS_TAB_33R"); + SWIG_addvarlink(globals, "MS_TAB_31L", Swig_var_MS_TAB_31L_get, Swig_var_MS_TAB_31L_set); + PyDict_SetItemString(md, "MS_TAB_31L", PyObject_GetAttrString(globals, "MS_TAB_31L")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "MS_TAB_31L"); + SWIG_addvarlink(globals, "CONVERT_TAB", Swig_var_CONVERT_TAB_get, Swig_var_CONVERT_TAB_set); + PyDict_SetItemString(md, "CONVERT_TAB", PyObject_GetAttrString(globals, "CONVERT_TAB")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "CONVERT_TAB"); + SWIG_addvarlink(globals, "RC_CONVERT_TAB", Swig_var_RC_CONVERT_TAB_get, Swig_var_RC_CONVERT_TAB_set); + PyDict_SetItemString(md, "RC_CONVERT_TAB", PyObject_GetAttrString(globals, "RC_CONVERT_TAB")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "RC_CONVERT_TAB"); + SWIG_addvarlink(globals, "DIMER_TAB", Swig_var_DIMER_TAB_get, Swig_var_DIMER_TAB_set); + PyDict_SetItemString(md, "DIMER_TAB", PyObject_GetAttrString(globals, "DIMER_TAB")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "DIMER_TAB"); + SWIG_addvarlink(globals, "TRIMER_TAB", Swig_var_TRIMER_TAB_get, Swig_var_TRIMER_TAB_set); + PyDict_SetItemString(md, "TRIMER_TAB", PyObject_GetAttrString(globals, "TRIMER_TAB")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "TRIMER_TAB"); + SWIG_addvarlink(globals, "TETRAMER_TAB", Swig_var_TETRAMER_TAB_get, Swig_var_TETRAMER_TAB_set); + PyDict_SetItemString(md, "TETRAMER_TAB", PyObject_GetAttrString(globals, "TETRAMER_TAB")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "TETRAMER_TAB"); - /* type 'btllib::Indexlr::RecordIterator' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__RecordIterator_type; + /* type 'btllib::Datatype' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Datatype_type; builtin_pytype->tp_dict = d = PyDict_New(); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; @@ -61147,7 +56864,7 @@ SWIG_init(void) { PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'IndexlrRecordIterator'."); + PyErr_SetString(PyExc_TypeError, "Could not create type 'Datatype'."); #if PY_VERSION_HEX >= 0x03000000 return NULL; #else @@ -61155,19 +56872,16 @@ SWIG_init(void) { #endif } Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "IndexlrRecordIterator", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "IndexlrRecordIterator"); + PyModule_AddObject(m, "Datatype", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "Datatype"); d = md; + SWIG_addvarlink(globals, "DATATYPES", Swig_var_DATATYPES_get, Swig_var_DATATYPES_set); + PyDict_SetItemString(md, "DATATYPES", PyObject_GetAttrString(globals, "DATATYPES")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "DATATYPES"); - /* type 'btllib::RandomSequenceGenerator' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__RandomSequenceGenerator_type; + /* type 'btllib::DataSource' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__DataSource_type; builtin_pytype->tp_dict = d = PyDict_New(); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SequenceType_DNA",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::SequenceType::DNA))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SequenceType_RNA",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::SequenceType::RNA))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SequenceType_PROTEIN",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::SequenceType::PROTEIN))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "Masking_NONE",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::Masking::NONE))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "Masking_SOFT",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::Masking::SOFT))); - SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "Masking_HARD",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::Masking::HARD))); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; builtin_base_count = 0; @@ -61176,7 +56890,7 @@ SWIG_init(void) { PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'RandomSequenceGenerator'."); + PyErr_SetString(PyExc_TypeError, "Could not create type 'DataSource'."); #if PY_VERSION_HEX >= 0x03000000 return NULL; #else @@ -61184,12 +56898,12 @@ SWIG_init(void) { #endif } Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "RandomSequenceGenerator", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "RandomSequenceGenerator"); + PyModule_AddObject(m, "DataSource", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "DataSource"); d = md; - /* type 'btllib::Barrier' */ - builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__Barrier_type; + /* type 'btllib::DataSink' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__DataSink_type; builtin_pytype->tp_dict = d = PyDict_New(); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; @@ -61199,7 +56913,7 @@ SWIG_init(void) { PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); if (PyType_Ready(builtin_pytype) < 0) { - PyErr_SetString(PyExc_TypeError, "Could not create type 'Barrier'."); + PyErr_SetString(PyExc_TypeError, "Could not create type 'DataSink'."); #if PY_VERSION_HEX >= 0x03000000 return NULL; #else @@ -61207,15 +56921,21 @@ SWIG_init(void) { #endif } Py_INCREF(builtin_pytype); - PyModule_AddObject(m, "Barrier", (PyObject *)builtin_pytype); - SwigPyBuiltin_AddPublicSymbol(public_interface, "Barrier"); + PyModule_AddObject(m, "DataSink", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "DataSink"); d = md; - SWIG_addvarlink(globals, "COMPLEMENTS", Swig_var_COMPLEMENTS_get, Swig_var_COMPLEMENTS_set); - PyDict_SetItemString(md, "COMPLEMENTS", PyObject_GetAttrString(globals, "COMPLEMENTS")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "COMPLEMENTS"); - SWIG_addvarlink(globals, "CAPITALS", Swig_var_CAPITALS_get, Swig_var_CAPITALS_set); - PyDict_SetItemString(md, "CAPITALS", PyObject_GetAttrString(globals, "CAPITALS")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "CAPITALS"); + SWIG_addvarlink(globals, "PRINT_COLOR_INFO", Swig_var_PRINT_COLOR_INFO_get, Swig_var_PRINT_COLOR_INFO_set); + PyDict_SetItemString(md, "PRINT_COLOR_INFO", PyObject_GetAttrString(globals, "PRINT_COLOR_INFO")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "PRINT_COLOR_INFO"); + SWIG_addvarlink(globals, "PRINT_COLOR_WARNING", Swig_var_PRINT_COLOR_WARNING_get, Swig_var_PRINT_COLOR_WARNING_set); + PyDict_SetItemString(md, "PRINT_COLOR_WARNING", PyObject_GetAttrString(globals, "PRINT_COLOR_WARNING")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "PRINT_COLOR_WARNING"); + SWIG_addvarlink(globals, "PRINT_COLOR_ERROR", Swig_var_PRINT_COLOR_ERROR_get, Swig_var_PRINT_COLOR_ERROR_set); + PyDict_SetItemString(md, "PRINT_COLOR_ERROR", PyObject_GetAttrString(globals, "PRINT_COLOR_ERROR")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "PRINT_COLOR_ERROR"); + SWIG_addvarlink(globals, "PRINT_COLOR_END", Swig_var_PRINT_COLOR_END_get, Swig_var_PRINT_COLOR_END_set); + PyDict_SetItemString(md, "PRINT_COLOR_END", PyObject_GetAttrString(globals, "PRINT_COLOR_END")); + SwigPyBuiltin_AddPublicSymbol(public_interface, "PRINT_COLOR_END"); SWIG_addvarlink(globals, "NTHASH_FN_NAME", Swig_var_NTHASH_FN_NAME_get, Swig_var_NTHASH_FN_NAME_set); PyDict_SetItemString(md, "NTHASH_FN_NAME", PyObject_GetAttrString(globals, "NTHASH_FN_NAME")); SwigPyBuiltin_AddPublicSymbol(public_interface, "NTHASH_FN_NAME"); @@ -61294,99 +57014,6 @@ SWIG_init(void) { PyModule_AddObject(m, "SeedNtHash", (PyObject *)builtin_pytype); SwigPyBuiltin_AddPublicSymbol(public_interface, "SeedNtHash"); d = md; - SWIG_addvarlink(globals, "PRINT_COLOR_INFO", Swig_var_PRINT_COLOR_INFO_get, Swig_var_PRINT_COLOR_INFO_set); - PyDict_SetItemString(md, "PRINT_COLOR_INFO", PyObject_GetAttrString(globals, "PRINT_COLOR_INFO")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "PRINT_COLOR_INFO"); - SWIG_addvarlink(globals, "PRINT_COLOR_WARNING", Swig_var_PRINT_COLOR_WARNING_get, Swig_var_PRINT_COLOR_WARNING_set); - PyDict_SetItemString(md, "PRINT_COLOR_WARNING", PyObject_GetAttrString(globals, "PRINT_COLOR_WARNING")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "PRINT_COLOR_WARNING"); - SWIG_addvarlink(globals, "PRINT_COLOR_ERROR", Swig_var_PRINT_COLOR_ERROR_get, Swig_var_PRINT_COLOR_ERROR_set); - PyDict_SetItemString(md, "PRINT_COLOR_ERROR", PyObject_GetAttrString(globals, "PRINT_COLOR_ERROR")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "PRINT_COLOR_ERROR"); - SWIG_addvarlink(globals, "PRINT_COLOR_END", Swig_var_PRINT_COLOR_END_get, Swig_var_PRINT_COLOR_END_set); - PyDict_SetItemString(md, "PRINT_COLOR_END", PyObject_GetAttrString(globals, "PRINT_COLOR_END")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "PRINT_COLOR_END"); - SWIG_addvarlink(globals, "CP_OFF", Swig_var_CP_OFF_get, Swig_var_CP_OFF_set); - PyDict_SetItemString(md, "CP_OFF", PyObject_GetAttrString(globals, "CP_OFF")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "CP_OFF"); - SWIG_addvarlink(globals, "MULTISHIFT", Swig_var_MULTISHIFT_get, Swig_var_MULTISHIFT_set); - PyDict_SetItemString(md, "MULTISHIFT", PyObject_GetAttrString(globals, "MULTISHIFT")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "MULTISHIFT"); - SWIG_addvarlink(globals, "MULTISEED", Swig_var_MULTISEED_get, Swig_var_MULTISEED_set); - PyDict_SetItemString(md, "MULTISEED", PyObject_GetAttrString(globals, "MULTISEED")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "MULTISEED"); - SWIG_addvarlink(globals, "SEED_A", Swig_var_SEED_A_get, Swig_var_SEED_A_set); - PyDict_SetItemString(md, "SEED_A", PyObject_GetAttrString(globals, "SEED_A")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_A"); - SWIG_addvarlink(globals, "SEED_C", Swig_var_SEED_C_get, Swig_var_SEED_C_set); - PyDict_SetItemString(md, "SEED_C", PyObject_GetAttrString(globals, "SEED_C")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_C"); - SWIG_addvarlink(globals, "SEED_G", Swig_var_SEED_G_get, Swig_var_SEED_G_set); - PyDict_SetItemString(md, "SEED_G", PyObject_GetAttrString(globals, "SEED_G")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_G"); - SWIG_addvarlink(globals, "SEED_T", Swig_var_SEED_T_get, Swig_var_SEED_T_set); - PyDict_SetItemString(md, "SEED_T", PyObject_GetAttrString(globals, "SEED_T")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_T"); - SWIG_addvarlink(globals, "SEED_N", Swig_var_SEED_N_get, Swig_var_SEED_N_set); - PyDict_SetItemString(md, "SEED_N", PyObject_GetAttrString(globals, "SEED_N")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_N"); - SWIG_addvarlink(globals, "ASCII_SIZE", Swig_var_ASCII_SIZE_get, Swig_var_ASCII_SIZE_set); - PyDict_SetItemString(md, "ASCII_SIZE", PyObject_GetAttrString(globals, "ASCII_SIZE")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "ASCII_SIZE"); - SWIG_addvarlink(globals, "SEED_TAB", Swig_var_SEED_TAB_get, Swig_var_SEED_TAB_set); - PyDict_SetItemString(md, "SEED_TAB", PyObject_GetAttrString(globals, "SEED_TAB")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "SEED_TAB"); - SWIG_addvarlink(globals, "A33R", Swig_var_A33R_get, Swig_var_A33R_set); - PyDict_SetItemString(md, "A33R", PyObject_GetAttrString(globals, "A33R")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "A33R"); - SWIG_addvarlink(globals, "A31L", Swig_var_A31L_get, Swig_var_A31L_set); - PyDict_SetItemString(md, "A31L", PyObject_GetAttrString(globals, "A31L")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "A31L"); - SWIG_addvarlink(globals, "C33R", Swig_var_C33R_get, Swig_var_C33R_set); - PyDict_SetItemString(md, "C33R", PyObject_GetAttrString(globals, "C33R")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "C33R"); - SWIG_addvarlink(globals, "C31L", Swig_var_C31L_get, Swig_var_C31L_set); - PyDict_SetItemString(md, "C31L", PyObject_GetAttrString(globals, "C31L")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "C31L"); - SWIG_addvarlink(globals, "G33R", Swig_var_G33R_get, Swig_var_G33R_set); - PyDict_SetItemString(md, "G33R", PyObject_GetAttrString(globals, "G33R")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "G33R"); - SWIG_addvarlink(globals, "G31L", Swig_var_G31L_get, Swig_var_G31L_set); - PyDict_SetItemString(md, "G31L", PyObject_GetAttrString(globals, "G31L")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "G31L"); - SWIG_addvarlink(globals, "T33R", Swig_var_T33R_get, Swig_var_T33R_set); - PyDict_SetItemString(md, "T33R", PyObject_GetAttrString(globals, "T33R")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "T33R"); - SWIG_addvarlink(globals, "T31L", Swig_var_T31L_get, Swig_var_T31L_set); - PyDict_SetItemString(md, "T31L", PyObject_GetAttrString(globals, "T31L")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "T31L"); - SWIG_addvarlink(globals, "N33R", Swig_var_N33R_get, Swig_var_N33R_set); - PyDict_SetItemString(md, "N33R", PyObject_GetAttrString(globals, "N33R")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "N33R"); - SWIG_addvarlink(globals, "N31L", Swig_var_N31L_get, Swig_var_N31L_set); - PyDict_SetItemString(md, "N31L", PyObject_GetAttrString(globals, "N31L")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "N31L"); - SWIG_addvarlink(globals, "MS_TAB_33R", Swig_var_MS_TAB_33R_get, Swig_var_MS_TAB_33R_set); - PyDict_SetItemString(md, "MS_TAB_33R", PyObject_GetAttrString(globals, "MS_TAB_33R")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "MS_TAB_33R"); - SWIG_addvarlink(globals, "MS_TAB_31L", Swig_var_MS_TAB_31L_get, Swig_var_MS_TAB_31L_set); - PyDict_SetItemString(md, "MS_TAB_31L", PyObject_GetAttrString(globals, "MS_TAB_31L")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "MS_TAB_31L"); - SWIG_addvarlink(globals, "CONVERT_TAB", Swig_var_CONVERT_TAB_get, Swig_var_CONVERT_TAB_set); - PyDict_SetItemString(md, "CONVERT_TAB", PyObject_GetAttrString(globals, "CONVERT_TAB")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "CONVERT_TAB"); - SWIG_addvarlink(globals, "RC_CONVERT_TAB", Swig_var_RC_CONVERT_TAB_get, Swig_var_RC_CONVERT_TAB_set); - PyDict_SetItemString(md, "RC_CONVERT_TAB", PyObject_GetAttrString(globals, "RC_CONVERT_TAB")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "RC_CONVERT_TAB"); - SWIG_addvarlink(globals, "DIMER_TAB", Swig_var_DIMER_TAB_get, Swig_var_DIMER_TAB_set); - PyDict_SetItemString(md, "DIMER_TAB", PyObject_GetAttrString(globals, "DIMER_TAB")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "DIMER_TAB"); - SWIG_addvarlink(globals, "TRIMER_TAB", Swig_var_TRIMER_TAB_get, Swig_var_TRIMER_TAB_set); - PyDict_SetItemString(md, "TRIMER_TAB", PyObject_GetAttrString(globals, "TRIMER_TAB")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "TRIMER_TAB"); - SWIG_addvarlink(globals, "TETRAMER_TAB", Swig_var_TETRAMER_TAB_get, Swig_var_TETRAMER_TAB_set); - PyDict_SetItemString(md, "TETRAMER_TAB", PyObject_GetAttrString(globals, "TETRAMER_TAB")); - SwigPyBuiltin_AddPublicSymbol(public_interface, "TETRAMER_TAB"); /* type 'btllib::CountingBloomFilter< uint8_t >' */ builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type; @@ -61525,12 +57152,9 @@ SWIG_init(void) { PyModule_AddObject(m, "KmerCountingBloomFilter32", (PyObject *)builtin_pytype); SwigPyBuiltin_AddPublicSymbol(public_interface, "KmerCountingBloomFilter32"); d = md; - SWIG_Python_FixMethods(SwigMethods_proxydocs, swig_const_table, swig_types, swig_type_initial); - #if PY_VERSION_HEX >= 0x03000000 return m; #else return; #endif } - From 297dde968f7af3746f4ed5a2a5ce5f056acf8fe4 Mon Sep 17 00:00:00 2001 From: parham-k Date: Sun, 12 Mar 2023 14:20:57 -0700 Subject: [PATCH 3/5] Fix wrap script --- scripts/wrap | 143 +++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 104 insertions(+), 39 deletions(-) diff --git a/scripts/wrap b/scripts/wrap index 1637d112..f9b75275 100755 --- a/scripts/wrap +++ b/scripts/wrap @@ -1,33 +1,20 @@ -#!/bin/bash +#!/usr/bin/env python3 -if [ -z "${MESON_SOURCE_ROOT}" ]; then - echo "[ERROR] This script can only be ran with meson!" - exit 1 -fi +import os +import re +import functools +import subprocess -set -e -# Remove old wrapper files -rm -f ${MESON_SOURCE_ROOT}/wrappers/python/btllib.py +class PythonWrapper: -# Generate python swig files -cd ${MESON_SOURCE_ROOT} + INTERFACE_TEMPLATE = """%module btllib -include_files=$(scripts/get-files include) - -echo "%module btllib - -%{ +%{{ #define SWIG_FILE_WITH_INIT -" > wrappers/python/btllib.i -for file in ${include_files}; do - relative=$(scripts/get-include-relative ${file}) - path="${relative}/$(basename ${file})" - echo "#include \"$path\"" >> wrappers/python/btllib.i -done - -echo "%} +{cpp_includes} +%}} %include %include @@ -42,23 +29,101 @@ echo "%} %include %include -%include \"../extra_common.i\" -%include \"extra.i\" -" >> wrappers/python/btllib.i +%include "../extra_common.i" +%include "extra.i" + +{swig_includes} + +%include "../extra_templates.i" +""" + + def __init__(self, out_path: str, include_path: str): + self._out_path = out_path + self._include_path = include_path + + def _remove_old_files(self): + if os.path.exists(os.path.join(self._out_path, 'btllib.py')): + os.remove(os.path.join(self._out_path, 'btllib.py')) + + def _load_include_file_names(self): + include_files = os.listdir(os.path.join(self._include_path, 'btllib')) + code_filter = functools.partial(re.match, r'.*\.(h|hpp|cpp|cxx)$') + code_files = filter(code_filter, include_files) + path_fixer = functools.partial(os.path.join, 'btllib') + include_files = map(path_fixer, code_files) + return list(include_files) + + def _update_interface_file(self): + with open(os.path.join(self._out_path, 'btllib.i')) as f: + current_lines = list(map(str.strip, f.readlines())) + # Add include statements only for newly added files. + # This will prevent changing the ordering of the includes. + include_files = [] + for line in current_lines: + include_match = re.match(r'#include "(.*)"', line) + if include_match: + include_files.append(include_match.group(1)) + for file in self._load_include_file_names(): + if file not in include_files: + include_files.append(file) + cpp = os.linesep.join(f'#include "{f}"' for f in include_files) + swig = os.linesep.join(f'%include "{f}"' for f in include_files) + interface = PythonWrapper.INTERFACE_TEMPLATE.format(cpp_includes=cpp, + swig_includes=swig) + with open(os.path.join(self._out_path, 'btllib.i'), 'w') as f: + f.write(interface) + + def _call_swig(self): + swig_cmd = [ + 'swig', '-python', '-fastproxy', '-fastdispatch', '-builtin', + '-c++', f'-I{self._include_path}', 'btllib.i' + ] + return subprocess.run(swig_cmd, + capture_output=True, + text=True, + cwd=self._out_path) + + def _fix_unsigned_long_long(self): + # The following is necessary because SWIG produces inconsistent code that cannot be compiled on all platforms. + # On some platforms, uint64_t is unsigned long int and unsigned long long int on others. + cxx_path = os.path.join(self._out_path, 'btllib_wrap.cxx') + with open(cxx_path) as f: + cxx_contents = f.read() + cxx_contents = cxx_contents.replace('unsigned long long', 'uint64_t') + with open(cxx_path, 'w') as f: + f.write(cxx_contents) + + def generate(self): + self._remove_old_files() + self._update_interface_file() + swig_result = self._call_swig() + self._fix_unsigned_long_long() + return swig_result + + +def check_meson_env(): + if 'MESON_SOURCE_ROOT' not in os.environ: + print("[ERROR] This script can only be ran with meson!") + exit(1) + + +def check_swig_result(swig_result, wrapper_language: str): + lang = wrapper_language.capitalize() + if swig_result.returncode == 0: + print(f"{lang} wrappers generated successfully") + elif swig_result.returncode == 1: + print(f"Error when calling SWIG for {lang}, stderr:") + print(swig_result.stderr) -for file in ${include_files}; do - relative=$(scripts/get-include-relative ${file}) - path="${relative}/$(basename ${file})" - echo "%include \"$path\"" >> wrappers/python/btllib.i -done -echo "%include \"../extra_templates.i\"" >> wrappers/python/btllib.i +def main(): + check_meson_env() + project_root = os.environ['MESON_SOURCE_ROOT'] + include_path = os.path.join(project_root, 'include') + python_dir = os.path.join(project_root, 'wrappers', 'python') + swig_result_py = PythonWrapper(python_dir, include_path).generate() + check_swig_result(swig_result_py, 'python') -ln -sf $PWD/include wrappers/python/ -cd wrappers/python -swig -python -py3 -fastproxy -fastdispatch -builtin -c++ -Iinclude btllib.i -rm -f include -# The following line is necessary because SWIG produces inconsistent code that cannot be compiled on all platforms. On some platforms, uint64_t is unsigned long int and unsigned long long int on others. -sed -i'.tmp' 's~unsigned long long~uint64_t~g' btllib_wrap.cxx -rm -f btllib_wrap.cxx.tmp +if __name__ == '__main__': + main() From 3d50ece2bded32762ce87b049b7b626035ba3312 Mon Sep 17 00:00:00 2001 From: parham-k Date: Sun, 12 Mar 2023 14:21:09 -0700 Subject: [PATCH 4/5] Regenerate wrappers --- wrappers/python/btllib.i | 5 +- wrappers/python/btllib_wrap.cxx | 8850 +++++++++++++++++++++++-------- 2 files changed, 6617 insertions(+), 2238 deletions(-) diff --git a/wrappers/python/btllib.i b/wrappers/python/btllib.i index ce860bac..19607cbc 100644 --- a/wrappers/python/btllib.i +++ b/wrappers/python/btllib.i @@ -26,6 +26,7 @@ #include "btllib/mi_bloom_filter.hpp" #include "btllib/cstring.hpp" #include "btllib/nthash.hpp" +#include "btllib/random_seq_generator.hpp" %} %include @@ -67,4 +68,6 @@ %include "btllib/mi_bloom_filter.hpp" %include "btllib/cstring.hpp" %include "btllib/nthash.hpp" -%include "../extra_templates.i" \ No newline at end of file +%include "btllib/random_seq_generator.hpp" + +%include "../extra_templates.i" diff --git a/wrappers/python/btllib_wrap.cxx b/wrappers/python/btllib_wrap.cxx index 96e824b1..2423ab6b 100644 --- a/wrappers/python/btllib_wrap.cxx +++ b/wrappers/python/btllib_wrap.cxx @@ -1,44 +1,17 @@ /* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 4.0.2 + * 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 #define SWIGPYTHON_BUILTIN - - -#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 +#define SWIGPYTHON_FASTPROXY /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable @@ -170,8 +143,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 @@ -179,6 +170,10 @@ template T SwigValueInit() { # include #endif +#if __GNUC__ >= 7 +#pragma GCC diagnostic pop +#endif + /* ----------------------------------------------------------------------------- * swigrun.swg * @@ -225,6 +220,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 @@ -296,7 +293,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); @@ -310,7 +307,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) @@ -325,7 +328,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)) @@ -471,7 +474,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) { @@ -531,9 +534,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; @@ -753,7 +756,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 @@ -769,7 +772,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 @@ -785,7 +787,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 @@ -803,38 +804,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 >= 0x03030000 return (char *)PyUnicode_AsUTF8(str); -#elif PY_VERSION_HEX >= 0x03000000 - char *newstr = 0; - str = PyUnicode_AsUTF8String(str); - if (str) { - char *cstr; - Py_ssize_t len; - if (PyBytes_AsStringAndSize(str, &cstr, &len) != -1) { - newstr = (char *) malloc(len+1); - if (newstr) - memcpy(newstr, cstr, len+1); - } - Py_XDECREF(str); - } - return newstr; #else return PyString_AsString(str); #endif } -#if PY_VERSION_HEX >= 0x03030000 || PY_VERSION_HEX < 0x03000000 -# define SWIG_Python_str_DelForPy3(x) -#else -# define SWIG_Python_str_DelForPy3(x) free( (void*) (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* @@ -851,10 +833,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) @@ -928,7 +914,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 { @@ -959,8 +944,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); @@ -977,8 +966,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 { @@ -1076,8 +1069,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 */ @@ -1192,7 +1185,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); @@ -1274,6 +1272,238 @@ SWIG_Python_CheckNoKeywords(PyObject *kwargs, const char *name) { #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 * ----------------------------------------------------------------------------- */ @@ -1344,18 +1574,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__"); @@ -1364,10 +1601,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; } @@ -1378,10 +1612,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 =====================*/ @@ -1408,7 +1645,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; } @@ -1426,18 +1663,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; } @@ -1459,18 +1699,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 @@ -1540,6 +1785,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) { @@ -1566,8 +1813,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); @@ -1586,8 +1837,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); } @@ -1599,6 +1854,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(); @@ -1643,9 +1899,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; @@ -1725,7 +1981,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 @@ -1790,7 +2050,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; @@ -1805,6 +2065,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; } @@ -1892,7 +2161,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 @@ -1957,7 +2230,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; @@ -2147,12 +2420,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; @@ -2265,12 +2545,17 @@ 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 if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) { @@ -2292,7 +2577,7 @@ SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) Py_DECREF(inst); inst = 0; } else { - Py_TYPE(inst)->tp_flags &= ~Py_TPFLAGS_VALID_VERSION_TAG; + PyType_Modified(Py_TYPE(inst)); } } } @@ -2321,7 +2606,11 @@ SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) dict = PyDict_New(); *dictptr = dict; } - return PyDict_SetItem(dict, SWIG_This(), swig_this); + if (dict) { + return PyDict_SetItem(dict, SWIG_This(), swig_this); + } else{ + return -1; + } } #endif return PyObject_SetAttr(inst, SWIG_This(), swig_this); @@ -2336,7 +2625,7 @@ 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 { if (SWIG_Python_SetSwigThis(obj[0], obj[1]) != 0) return NULL; @@ -2375,7 +2664,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) { @@ -2414,39 +2705,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 @@ -2460,19 +2773,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) { @@ -2487,8 +2798,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); @@ -2521,7 +2834,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; @@ -2573,7 +2885,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); @@ -2595,12 +2906,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; } @@ -2631,7 +2936,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; } @@ -2646,7 +2951,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); @@ -2673,7 +2978,11 @@ SWIGINTERN Py_hash_t SwigPyObject_hash(PyObject *obj) { SwigPyObject *sobj = (SwigPyObject *)obj; void *ptr = sobj->ptr; +#if PY_VERSION_HEX < 0x03020000 + return (Py_hash_t)(Py_ssize_t)ptr; +#else return (Py_hash_t)ptr; +#endif } SWIGINTERN Py_hash_t @@ -2878,7 +3187,11 @@ SwigPyStaticVar_Type(void) { sizeof(PyGetSetDescrObject), /* tp_basicsize */ 0, /* tp_itemsize */ (destructor)SwigPyStaticVar_dealloc, /* tp_dealloc */ - 0, /* tp_print */ +#if PY_VERSION_HEX < 0x030800b4 + (printfunc)0, /* tp_print */ +#else + (Py_ssize_t)0, /* tp_vectorcall_offset */ +#endif 0, /* tp_getattr */ 0, /* tp_setattr */ 0, /* tp_compare */ @@ -2962,7 +3275,11 @@ SwigPyObjectType(void) { PyType_Type.tp_basicsize, /* tp_basicsize */ 0, /* tp_itemsize */ 0, /* tp_dealloc */ - 0, /* tp_print */ +#if PY_VERSION_HEX < 0x030800b4 + (printfunc)0, /* tp_print */ +#else + (Py_ssize_t)0, /* tp_vectorcall_offset */ +#endif 0, /* tp_getattr */ 0, /* tp_setattr */ 0, /* tp_compare */ @@ -3081,10 +3398,10 @@ SwigPyBuiltin_ThisClosure (PyObject *self, void *SWIGUNUSEDPARM(closure)) { SWIGINTERN void SwigPyBuiltin_SetMetaType (PyTypeObject *type, PyTypeObject *metatype) { -#if PY_VERSION_HEX >= 0x03000000 - type->ob_base.ob_base.ob_type = metatype; +#if PY_VERSION_HEX >= 0x030900a4 + Py_SET_TYPE(type, metatype); #else - type->ob_type = metatype; + Py_TYPE(type) = metatype; #endif } @@ -3422,23 +3739,8 @@ SwigPyBuiltin_iternextfunc_closure(SwigPyWrapperFunction wrapper, PyObject *a) { #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 - -/* 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); +#define SWIG_contract_assert(expr, msg) do { if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } } while (0) -#ifdef __cplusplus -} -#endif #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0) @@ -3471,90 +3773,91 @@ SWIGINTERN PyObject *SWIG_PyStaticMethod_New(PyObject *SWIGUNUSEDPARM(self), PyO #define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t swig_types[22] #define SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t swig_types[23] #define SWIGTYPE_p_btllib__NtHash swig_types[24] -#define SWIGTYPE_p_btllib__SeedBloomFilter swig_types[25] -#define SWIGTYPE_p_btllib__SeedNtHash swig_types[26] -#define SWIGTYPE_p_btllib__SeqReader swig_types[27] -#define SWIGTYPE_p_btllib__SeqReader__Flag swig_types[28] -#define SWIGTYPE_p_btllib__SeqReader__Record swig_types[29] -#define SWIGTYPE_p_btllib__SeqReader__RecordIterator swig_types[30] -#define SWIGTYPE_p_btllib__SeqWriter swig_types[31] -#define SWIGTYPE_p_char swig_types[32] -#define SWIGTYPE_p_char_type swig_types[33] -#define SWIGTYPE_p_cpptoml__table swig_types[34] -#define SWIGTYPE_p_difference_type swig_types[35] -#define SWIGTYPE_p_double swig_types[36] -#define SWIGTYPE_p_f_enum_std__ios_base__event_r_std__ios_base_int__void swig_types[37] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[38] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[39] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[40] -#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[41] -#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[42] -#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[43] -#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[44] -#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[45] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[46] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[47] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[48] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[49] -#define SWIGTYPE_p_f_r_std__ios_base__r_std__ios_base swig_types[50] -#define SWIGTYPE_p_float swig_types[51] -#define SWIGTYPE_p_fmtflags swig_types[52] -#define SWIGTYPE_p_int swig_types[53] -#define SWIGTYPE_p_int_type swig_types[54] -#define SWIGTYPE_p_iostate swig_types[55] -#define SWIGTYPE_p_long swig_types[56] -#define SWIGTYPE_p_long_double swig_types[57] -#define SWIGTYPE_p_long_long swig_types[58] -#define SWIGTYPE_p_off_type swig_types[59] -#define SWIGTYPE_p_openmode swig_types[60] -#define SWIGTYPE_p_p_PyObject swig_types[61] -#define SWIGTYPE_p_p_unsigned_long_long swig_types[62] -#define SWIGTYPE_p_p_void swig_types[63] -#define SWIGTYPE_p_pos_type swig_types[64] -#define SWIGTYPE_p_seekdir swig_types[65] -#define SWIGTYPE_p_short swig_types[66] -#define SWIGTYPE_p_signed_char swig_types[67] -#define SWIGTYPE_p_size_t swig_types[68] -#define SWIGTYPE_p_size_type swig_types[69] -#define SWIGTYPE_p_state_type swig_types[70] -#define SWIGTYPE_p_std__allocatorT_btllib__Indexlr__Minimizer_t swig_types[71] -#define SWIGTYPE_p_std__allocatorT_double_t swig_types[72] -#define SWIGTYPE_p_std__allocatorT_int_t swig_types[73] -#define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[74] -#define SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t swig_types[75] -#define SWIGTYPE_p_std__allocatorT_unsigned_int_t swig_types[76] -#define SWIGTYPE_p_std__allocatorT_unsigned_long_long_t swig_types[77] -#define SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[78] -#define SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[79] -#define SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[80] -#define SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[81] -#define SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t swig_types[82] -#define SWIGTYPE_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[83] -#define SWIGTYPE_p_std__ios_base swig_types[84] -#define SWIGTYPE_p_std__locale swig_types[85] -#define SWIGTYPE_p_std__string swig_types[86] -#define SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t swig_types[87] -#define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t swig_types[88] -#define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t swig_types[89] -#define SWIGTYPE_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t swig_types[90] -#define SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t swig_types[91] -#define SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t swig_types[92] -#define SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t swig_types[93] -#define SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t swig_types[94] -#define SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t swig_types[95] -#define SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t swig_types[96] -#define SWIGTYPE_p_streamoff swig_types[97] -#define SWIGTYPE_p_streampos swig_types[98] -#define SWIGTYPE_p_swig__SwigPyIterator swig_types[99] -#define SWIGTYPE_p_traits_type swig_types[100] -#define SWIGTYPE_p_unsigned_char swig_types[101] -#define SWIGTYPE_p_unsigned_int swig_types[102] -#define SWIGTYPE_p_unsigned_long swig_types[103] -#define SWIGTYPE_p_unsigned_long_long swig_types[104] -#define SWIGTYPE_p_unsigned_short swig_types[105] -#define SWIGTYPE_p_value_type swig_types[106] -static swig_type_info *swig_types[108]; -static swig_module_info swig_module = {swig_types, 107, 0, 0, 0, 0}; +#define SWIGTYPE_p_btllib__RandomSequenceGenerator swig_types[25] +#define SWIGTYPE_p_btllib__SeedBloomFilter swig_types[26] +#define SWIGTYPE_p_btllib__SeedNtHash swig_types[27] +#define SWIGTYPE_p_btllib__SeqReader swig_types[28] +#define SWIGTYPE_p_btllib__SeqReader__Flag swig_types[29] +#define SWIGTYPE_p_btllib__SeqReader__Record swig_types[30] +#define SWIGTYPE_p_btllib__SeqReader__RecordIterator swig_types[31] +#define SWIGTYPE_p_btllib__SeqWriter swig_types[32] +#define SWIGTYPE_p_char swig_types[33] +#define SWIGTYPE_p_char_type swig_types[34] +#define SWIGTYPE_p_cpptoml__table swig_types[35] +#define SWIGTYPE_p_difference_type swig_types[36] +#define SWIGTYPE_p_double swig_types[37] +#define SWIGTYPE_p_f_enum_std__ios_base__event_r_std__ios_base_int__void swig_types[38] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[39] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[40] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[41] +#define SWIGTYPE_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[42] +#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[43] +#define SWIGTYPE_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[44] +#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[45] +#define SWIGTYPE_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[46] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[47] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[48] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[49] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[50] +#define SWIGTYPE_p_f_r_std__ios_base__r_std__ios_base swig_types[51] +#define SWIGTYPE_p_float swig_types[52] +#define SWIGTYPE_p_fmtflags swig_types[53] +#define SWIGTYPE_p_int swig_types[54] +#define SWIGTYPE_p_int_type swig_types[55] +#define SWIGTYPE_p_iostate swig_types[56] +#define SWIGTYPE_p_long swig_types[57] +#define SWIGTYPE_p_long_double swig_types[58] +#define SWIGTYPE_p_long_long swig_types[59] +#define SWIGTYPE_p_off_type swig_types[60] +#define SWIGTYPE_p_openmode swig_types[61] +#define SWIGTYPE_p_p_PyObject swig_types[62] +#define SWIGTYPE_p_p_unsigned_long_long swig_types[63] +#define SWIGTYPE_p_p_void swig_types[64] +#define SWIGTYPE_p_pos_type swig_types[65] +#define SWIGTYPE_p_seekdir swig_types[66] +#define SWIGTYPE_p_short swig_types[67] +#define SWIGTYPE_p_signed_char swig_types[68] +#define SWIGTYPE_p_size_t swig_types[69] +#define SWIGTYPE_p_size_type swig_types[70] +#define SWIGTYPE_p_state_type swig_types[71] +#define SWIGTYPE_p_std__allocatorT_btllib__Indexlr__Minimizer_t swig_types[72] +#define SWIGTYPE_p_std__allocatorT_double_t swig_types[73] +#define SWIGTYPE_p_std__allocatorT_int_t swig_types[74] +#define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[75] +#define SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t swig_types[76] +#define SWIGTYPE_p_std__allocatorT_unsigned_int_t swig_types[77] +#define SWIGTYPE_p_std__allocatorT_unsigned_long_long_t swig_types[78] +#define SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t swig_types[79] +#define SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t swig_types[80] +#define SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t swig_types[81] +#define SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t swig_types[82] +#define SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t swig_types[83] +#define SWIGTYPE_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t swig_types[84] +#define SWIGTYPE_p_std__ios_base swig_types[85] +#define SWIGTYPE_p_std__locale swig_types[86] +#define SWIGTYPE_p_std__string swig_types[87] +#define SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t swig_types[88] +#define SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t swig_types[89] +#define SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t swig_types[90] +#define SWIGTYPE_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t swig_types[91] +#define SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t swig_types[92] +#define SWIGTYPE_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t swig_types[93] +#define SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t swig_types[94] +#define SWIGTYPE_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t swig_types[95] +#define SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t swig_types[96] +#define SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t swig_types[97] +#define SWIGTYPE_p_streamoff swig_types[98] +#define SWIGTYPE_p_streampos swig_types[99] +#define SWIGTYPE_p_swig__SwigPyIterator swig_types[100] +#define SWIGTYPE_p_traits_type swig_types[101] +#define SWIGTYPE_p_unsigned_char swig_types[102] +#define SWIGTYPE_p_unsigned_int swig_types[103] +#define SWIGTYPE_p_unsigned_long swig_types[104] +#define SWIGTYPE_p_unsigned_long_long swig_types[105] +#define SWIGTYPE_p_unsigned_short swig_types[106] +#define SWIGTYPE_p_value_type swig_types[107] +static swig_type_info *swig_types[109]; +static swig_module_info swig_module = {swig_types, 108, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -3577,8 +3880,52 @@ static swig_module_info swig_module = {swig_types, 107, 0, 0, 0, 0}; #endif #define SWIG_name "_btllib" -#define SWIGVERSION 0x040002 -#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)) @@ -3686,6 +4033,7 @@ namespace swig { #include "btllib/mi_bloom_filter.hpp" #include "btllib/cstring.hpp" #include "btllib/nthash.hpp" +#include "btllib/random_seq_generator.hpp" #include // Use the C99 official header @@ -4357,10 +4705,6 @@ inline int SWIG_isfinite_func(T x) { # define SWIG_isfinite(X) (SWIG_isfinite_func(X)) # elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) # define SWIG_isfinite(X) (__builtin_isfinite(X)) -# elif defined(__clang__) && defined(__has_builtin) -# if __has_builtin(__builtin_isfinite) -# define SWIG_isfinite(X) (__builtin_isfinite(X)) -# endif # elif defined(_MSC_VER) # define SWIG_isfinite(X) (_finite(X)) # elif defined(__sun) && defined(__SVR4) @@ -4404,9 +4748,9 @@ SWIGINTERN std::basic_ostream< char,std::char_traits< char > > &std_basic_ostrea #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 @@ -5900,46 +6244,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); @@ -6059,46 +6403,46 @@ SWIGINTERN void std_vector_Sl_int_Sg____delslice__(std::vector< int > *self,std: SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_0(std::vector< int > *self,std::vector< int >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *self,PySliceObject *slice){ +SWIGINTERN std::vector< int,std::allocator< int > > *std_vector_Sl_int_Sg____getitem____SWIG_0(std::vector< int > *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< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,PySliceObject *slice,std::vector< int,std::allocator< int > > const &v){ +SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_0(std::vector< int > *self,SWIGPY_SLICEOBJECT *slice,std::vector< int,std::allocator< int > > 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< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_int_Sg____setitem____SWIG_1(std::vector< int > *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< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_int_Sg____delitem____SWIG_1(std::vector< int > *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< int,std::allocator< int > >::difference_type id = i; std::vector< int,std::allocator< int > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6190,46 +6534,46 @@ SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delslice__(std::vector< unsi SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(std::vector< unsigned int > *self,std::vector< unsigned int >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< unsigned int,std::allocator< unsigned int > > *std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(std::vector< unsigned int > *self,PySliceObject *slice){ +SWIGINTERN std::vector< unsigned int,std::allocator< unsigned int > > *std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(std::vector< unsigned int > *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< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_0(std::vector< unsigned int > *self,PySliceObject *slice,std::vector< unsigned int,std::allocator< unsigned int > > const &v){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_0(std::vector< unsigned int > *self,SWIGPY_SLICEOBJECT *slice,std::vector< unsigned int,std::allocator< unsigned int > > 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< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(std::vector< unsigned int > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(std::vector< unsigned int > *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< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(std::vector< unsigned int > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(std::vector< unsigned int > *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< unsigned int,std::allocator< unsigned int > >::difference_type id = i; std::vector< unsigned int,std::allocator< unsigned int > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6317,46 +6661,46 @@ SWIGINTERN void std_vector_Sl_double_Sg____delslice__(std::vector< double > *sel SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_0(std::vector< double > *self,std::vector< double >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< double > *self,PySliceObject *slice){ +SWIGINTERN std::vector< double,std::allocator< double > > *std_vector_Sl_double_Sg____getitem____SWIG_0(std::vector< 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< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,PySliceObject *slice,std::vector< double,std::allocator< double > > const &v){ +SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_0(std::vector< double > *self,SWIGPY_SLICEOBJECT *slice,std::vector< double,std::allocator< 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< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_double_Sg____setitem____SWIG_1(std::vector< 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< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< double > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_double_Sg____delitem____SWIG_1(std::vector< 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< double,std::allocator< double > >::difference_type id = i; std::vector< double,std::allocator< double > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6441,46 +6785,46 @@ SWIGINTERN void std_vector_Sl_uint64_t_Sg____delslice__(std::vector< uint64_t > SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_0(std::vector< uint64_t > *self,std::vector< uint64_t >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< uint64_t,std::allocator< uint64_t > > *std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(std::vector< uint64_t > *self,PySliceObject *slice){ +SWIGINTERN std::vector< uint64_t,std::allocator< uint64_t > > *std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(std::vector< uint64_t > *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< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_0(std::vector< uint64_t > *self,PySliceObject *slice,std::vector< uint64_t,std::allocator< uint64_t > > const &v){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_0(std::vector< uint64_t > *self,SWIGPY_SLICEOBJECT *slice,std::vector< uint64_t,std::allocator< uint64_t > > 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< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(std::vector< uint64_t > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(std::vector< uint64_t > *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< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(std::vector< uint64_t > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(std::vector< uint64_t > *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< uint64_t,std::allocator< uint64_t > >::difference_type id = i; std::vector< uint64_t,std::allocator< uint64_t > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6553,46 +6897,46 @@ SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delslice__(std::vec SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,std::vector< btllib::Indexlr::Minimizer >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,PySliceObject *slice){ +SWIGINTERN std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *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< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,PySliceObject *slice,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &v){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_0(std::vector< btllib::Indexlr::Minimizer > *self,SWIGPY_SLICEOBJECT *slice,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > 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< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_1(std::vector< btllib::Indexlr::Minimizer > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_1(std::vector< btllib::Indexlr::Minimizer > *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< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_1(std::vector< btllib::Indexlr::Minimizer > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_1(std::vector< btllib::Indexlr::Minimizer > *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< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type id = i; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -6657,46 +7001,46 @@ SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delslice__(std::vector< bt SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type i){ swig::erase(self, swig::getpos(self, i)); } -SWIGINTERN std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ +SWIGINTERN std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(std::vector< btllib::SpacedSeed > *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< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; return swig::getslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &v){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_0(std::vector< btllib::SpacedSeed > *self,SWIGPY_SLICEOBJECT *slice,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > 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< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::setslice(self, id, jd, step, v); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(std::vector< btllib::SpacedSeed > *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< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); } -SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(std::vector< btllib::SpacedSeed > *self,PySliceObject *slice){ +SWIGINTERN void std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(std::vector< btllib::SpacedSeed > *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< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type id = i; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > >::difference_type jd = j; swig::delslice(self, id, jd, step); @@ -7504,6 +7848,7 @@ SWIGINTERN PyObject *_wrap_ios_base_register_callback(PyObject *self, PyObject * int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_register_callback", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7536,6 +7881,7 @@ SWIGINTERN PyObject *_wrap_ios_base_flags__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::ios_base::fmtflags result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7560,6 +7906,7 @@ SWIGINTERN PyObject *_wrap_ios_base_flags__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::ios_base::fmtflags result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7585,6 +7932,7 @@ SWIGINTERN PyObject *_wrap_ios_base_flags(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_flags", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -7617,6 +7965,7 @@ SWIGINTERN PyObject *_wrap_ios_base_setf__SWIG_0(PyObject *self, Py_ssize_t nobj int ecode2 = 0 ; std::ios_base::fmtflags result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7649,6 +7998,7 @@ SWIGINTERN PyObject *_wrap_ios_base_setf__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::ios_base::fmtflags result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7679,6 +8029,7 @@ SWIGINTERN PyObject *_wrap_ios_base_setf(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_setf", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -7711,6 +8062,7 @@ SWIGINTERN PyObject *_wrap_ios_base_unsetf(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -7738,6 +8090,7 @@ SWIGINTERN PyObject *_wrap_ios_base_precision__SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::streamsize result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7762,6 +8115,7 @@ SWIGINTERN PyObject *_wrap_ios_base_precision__SWIG_1(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::streamsize result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7787,6 +8141,7 @@ SWIGINTERN PyObject *_wrap_ios_base_precision(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_precision", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -7816,6 +8171,7 @@ SWIGINTERN PyObject *_wrap_ios_base_width__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::streamsize result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7840,6 +8196,7 @@ SWIGINTERN PyObject *_wrap_ios_base_width__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::streamsize result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7865,6 +8222,7 @@ SWIGINTERN PyObject *_wrap_ios_base_width(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_width", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -7894,6 +8252,7 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio__SWIG_0(PyObject *self, Py_s int ecode1 = 0 ; bool result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -7912,6 +8271,7 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio__SWIG_1(PyObject *self, Py_s PyObject *resultobj = 0; bool result; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (bool)std::ios_base::sync_with_stdio(); resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -7927,6 +8287,7 @@ SWIGINTERN PyObject *_wrap_ios_base_sync_with_stdio(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_base_sync_with_stdio", 0, 1, argv))) SWIG_fail; --argc; if (argc == 0) { @@ -7960,6 +8321,7 @@ SWIGINTERN PyObject *_wrap_ios_base_imbue(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::locale result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -7976,7 +8338,7 @@ SWIGINTERN PyObject *_wrap_ios_base_imbue(PyObject *self, PyObject *args) { } arg2 = reinterpret_cast< std::locale * >(argp2); result = (arg1)->imbue((std::locale const &)*arg2); - resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -7988,9 +8350,9 @@ SWIGINTERN PyObject *_wrap_ios_base_getloc(PyObject *self, PyObject *args) { std::ios_base *arg1 = (std::ios_base *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::locale result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_getloc", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -7998,7 +8360,7 @@ SWIGINTERN PyObject *_wrap_ios_base_getloc(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::ios_base * >(argp1); result = ((std::ios_base const *)arg1)->getloc(); - resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -8009,6 +8371,7 @@ SWIGINTERN PyObject *_wrap_ios_base_xalloc(PyObject *self, PyObject *args) { PyObject *resultobj = 0; int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_base_xalloc", 0, 0, 0)) SWIG_fail; result = (int)std::ios_base::xalloc(); resultobj = SWIG_From_int(static_cast< int >(result)); @@ -8029,6 +8392,7 @@ SWIGINTERN PyObject *_wrap_ios_base_iword(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; long *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8060,6 +8424,7 @@ SWIGINTERN PyObject *_wrap_ios_base_pword(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; void **result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, 0 | 0 ); @@ -8085,8 +8450,8 @@ SWIGINTERN PyObject *_wrap_delete_ios_base(PyObject *self, PyObject *args) { std::ios_base *arg1 = (std::ios_base *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ios_base", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__ios_base, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -8108,9 +8473,9 @@ SWIGINTERN PyObject *_wrap_ios_rdstate(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::ios_base::iostate result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_rdstate", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8134,6 +8499,7 @@ SWIGINTERN PyObject *_wrap_ios_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, P int val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8159,6 +8525,7 @@ SWIGINTERN PyObject *_wrap_ios_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, P void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8179,6 +8546,7 @@ SWIGINTERN PyObject *_wrap_ios_clear(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_clear", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8211,6 +8579,7 @@ SWIGINTERN PyObject *_wrap_ios_setstate(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8236,9 +8605,9 @@ SWIGINTERN PyObject *_wrap_ios_good(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_good", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8258,9 +8627,9 @@ SWIGINTERN PyObject *_wrap_ios_eof(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_eof", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8280,9 +8649,9 @@ SWIGINTERN PyObject *_wrap_ios_fail(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_fail", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8302,9 +8671,9 @@ SWIGINTERN PyObject *_wrap_ios_bad(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_bad", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8326,6 +8695,7 @@ SWIGINTERN PyObject *_wrap_ios_exceptions__SWIG_0(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::ios_base::iostate result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8349,6 +8719,7 @@ SWIGINTERN PyObject *_wrap_ios_exceptions__SWIG_1(PyObject *self, Py_ssize_t nob int val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8374,6 +8745,7 @@ SWIGINTERN PyObject *_wrap_ios_exceptions(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_exceptions", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8404,6 +8776,7 @@ SWIGINTERN int _wrap_new_ios(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject *swig_obj[1] ; std::basic_ios< char > *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_ios")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_ios", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8424,8 +8797,8 @@ SWIGINTERN PyObject *_wrap_delete_ios(PyObject *self, PyObject *args) { std::basic_ios< char > *arg1 = (std::basic_ios< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ios", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -8447,6 +8820,7 @@ SWIGINTERN PyObject *_wrap_ios_tie__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8471,6 +8845,7 @@ SWIGINTERN PyObject *_wrap_ios_tie__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8496,6 +8871,7 @@ SWIGINTERN PyObject *_wrap_ios_tie(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_tie", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8525,6 +8901,7 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf__SWIG_0(PyObject *self, Py_ssize_t nobjs, P int res1 = 0 ; std::basic_streambuf< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8549,6 +8926,7 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf__SWIG_1(PyObject *self, Py_ssize_t nobjs, P int res2 = 0 ; std::basic_streambuf< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8574,6 +8952,7 @@ SWIGINTERN PyObject *_wrap_ios_rdbuf(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_rdbuf", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8607,6 +8986,7 @@ SWIGINTERN PyObject *_wrap_ios_copyfmt(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ios< char > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8637,6 +9017,7 @@ SWIGINTERN PyObject *_wrap_ios_fill__SWIG_0(PyObject *self, Py_ssize_t nobjs, Py int res1 = 0 ; std::basic_ios< char >::char_type result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8661,6 +9042,7 @@ SWIGINTERN PyObject *_wrap_ios_fill__SWIG_1(PyObject *self, Py_ssize_t nobjs, Py int ecode2 = 0 ; std::basic_ios< char >::char_type result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8686,6 +9068,7 @@ SWIGINTERN PyObject *_wrap_ios_fill(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ios_fill", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -8719,6 +9102,7 @@ SWIGINTERN PyObject *_wrap_ios_imbue(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::locale result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8735,7 +9119,7 @@ SWIGINTERN PyObject *_wrap_ios_imbue(PyObject *self, PyObject *args) { } arg2 = reinterpret_cast< std::locale * >(argp2); result = (arg1)->imbue((std::locale const &)*arg2); - resultobj = SWIG_NewPointerObj((new std::locale(static_cast< const std::locale& >(result))), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::locale(result)), SWIGTYPE_p_std__locale, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -8756,6 +9140,7 @@ SWIGINTERN PyObject *_wrap_ios_narrow(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; char result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ios_narrow", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8791,6 +9176,7 @@ SWIGINTERN PyObject *_wrap_ios_widen(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ios< char >::char_type result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8885,6 +9271,7 @@ SWIGINTERN int _wrap_new_ostream(PyObject *self, PyObject *args, PyObject *kwarg PyObject *swig_obj[1] ; std::basic_ostream< char > *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_ostream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_ostream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -8905,8 +9292,8 @@ SWIGINTERN PyObject *_wrap_delete_ostream(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_ostream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -8929,6 +9316,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8959,6 +9347,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -8989,6 +9378,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_2(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9021,6 +9411,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_3(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9052,6 +9443,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_4(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9083,6 +9475,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_5(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9114,6 +9507,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_6(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9145,6 +9539,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_7(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9176,6 +9571,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_8(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9207,6 +9603,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_9(PyObject *self, Py_ssize_t int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9238,6 +9635,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_10(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9269,6 +9667,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_11(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9300,6 +9699,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_12(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9331,6 +9731,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_13(PyObject *self, Py_ssize_ int ecode2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9362,6 +9763,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_14(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9400,6 +9802,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_15(PyObject *self, Py_ssize_ int res2 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9430,6 +9833,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_16(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9461,6 +9865,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift____SWIG_17(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9491,6 +9896,7 @@ SWIGINTERN PyObject *_wrap_ostream___lshift__(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ostream___lshift__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -9728,6 +10134,7 @@ SWIGINTERN PyObject *_wrap_ostream_put(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9763,6 +10170,7 @@ SWIGINTERN PyObject *_wrap_ostream_write(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_write", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9794,9 +10202,9 @@ SWIGINTERN PyObject *_wrap_ostream_flush(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_flush", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9816,9 +10224,9 @@ SWIGINTERN PyObject *_wrap_ostream_tellp(PyObject *self, PyObject *args) { std::basic_ostream< char > *arg1 = (std::basic_ostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::basic_ostream< char >::pos_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ostream_tellp", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9826,7 +10234,7 @@ SWIGINTERN PyObject *_wrap_ostream_tellp(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::basic_ostream< char > * >(argp1); result = (arg1)->tellp(); - resultobj = SWIG_NewPointerObj((new std::basic_ostream< char >::pos_type(static_cast< const std::basic_ostream< char >::pos_type& >(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::basic_ostream< char >::pos_type(result)), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -9843,6 +10251,7 @@ SWIGINTERN PyObject *_wrap_ostream_seekp__SWIG_0(PyObject *self, Py_ssize_t nobj int res2 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9883,6 +10292,7 @@ SWIGINTERN PyObject *_wrap_ostream_seekp__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -9921,6 +10331,7 @@ SWIGINTERN PyObject *_wrap_ostream_seekp(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ostream_seekp", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -9955,6 +10366,7 @@ SWIGINTERN int _wrap_new_istream(PyObject *self, PyObject *args, PyObject *kwarg PyObject *swig_obj[1] ; std::basic_istream< char > *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_istream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_istream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -9975,8 +10387,8 @@ SWIGINTERN PyObject *_wrap_delete_istream(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_istream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -9999,6 +10411,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_0(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10029,6 +10442,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10059,6 +10473,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_2(PyObject *self, Py_ssize_t int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10091,6 +10506,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_3(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10125,6 +10541,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_4(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10159,6 +10576,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_5(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10193,6 +10611,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_6(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10227,6 +10646,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_7(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10261,6 +10681,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_8(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10295,6 +10716,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_9(PyObject *self, Py_ssize_t int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10329,6 +10751,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_10(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10363,6 +10786,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_11(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10397,6 +10821,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_12(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10431,6 +10856,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_13(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10465,6 +10891,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_14(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10499,6 +10926,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_15(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10533,6 +10961,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift____SWIG_16(PyObject *self, Py_ssize_ int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10560,6 +10989,7 @@ SWIGINTERN PyObject *_wrap_istream___rshift__(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream___rshift__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -10771,9 +11201,9 @@ SWIGINTERN PyObject *_wrap_istream_gcount(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::streamsize result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_gcount", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10795,6 +11225,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_0(PyObject *self, Py_ssize_t nobjs, int res1 = 0 ; std::basic_istream< char >::int_type result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10819,6 +11250,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10858,6 +11290,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode4 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10903,6 +11336,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10942,6 +11376,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_4(PyObject *self, Py_ssize_t nobjs, int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -10979,6 +11414,7 @@ SWIGINTERN PyObject *_wrap_istream_get__SWIG_5(PyObject *self, Py_ssize_t nobjs, int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11007,6 +11443,7 @@ SWIGINTERN PyObject *_wrap_istream_get(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_get", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -11091,6 +11528,7 @@ SWIGINTERN PyObject *_wrap_istream_getline__SWIG_0(PyObject *self, Py_ssize_t no int ecode4 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11136,6 +11574,7 @@ SWIGINTERN PyObject *_wrap_istream_getline__SWIG_1(PyObject *self, Py_ssize_t no int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11168,6 +11607,7 @@ SWIGINTERN PyObject *_wrap_istream_getline(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_getline", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -11203,6 +11643,7 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_0(PyObject *self, Py_ssize_t nob int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11237,6 +11678,7 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_1(PyObject *self, Py_ssize_t nob int ecode2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11263,6 +11705,7 @@ SWIGINTERN PyObject *_wrap_istream_ignore__SWIG_2(PyObject *self, Py_ssize_t nob int res1 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11283,6 +11726,7 @@ SWIGINTERN PyObject *_wrap_istream_ignore(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_ignore", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -11316,9 +11760,9 @@ SWIGINTERN PyObject *_wrap_istream_peek(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::basic_istream< char >::int_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_peek", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11348,6 +11792,7 @@ SWIGINTERN PyObject *_wrap_istream_read(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_read", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11389,6 +11834,7 @@ SWIGINTERN PyObject *_wrap_istream_readsome(PyObject *self, PyObject *args) { PyObject *swig_obj[3] ; std::streamsize result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_readsome", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11426,6 +11872,7 @@ SWIGINTERN PyObject *_wrap_istream_putback(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -11451,9 +11898,9 @@ SWIGINTERN PyObject *_wrap_istream_unget(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_unget", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11473,9 +11920,9 @@ SWIGINTERN PyObject *_wrap_istream_sync(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_sync", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11495,9 +11942,9 @@ SWIGINTERN PyObject *_wrap_istream_tellg(PyObject *self, PyObject *args) { std::basic_istream< char > *arg1 = (std::basic_istream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::basic_istream< char >::pos_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "istream_tellg", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11505,7 +11952,7 @@ SWIGINTERN PyObject *_wrap_istream_tellg(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< std::basic_istream< char > * >(argp1); result = (arg1)->tellg(); - resultobj = SWIG_NewPointerObj((new std::basic_istream< char >::pos_type(static_cast< const std::basic_istream< char >::pos_type& >(result))), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::basic_istream< char >::pos_type(result)), SWIGTYPE_p_streampos, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -11522,6 +11969,7 @@ SWIGINTERN PyObject *_wrap_istream_seekg__SWIG_0(PyObject *self, Py_ssize_t nobj int res2 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11562,6 +12010,7 @@ SWIGINTERN PyObject *_wrap_istream_seekg__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; std::basic_istream< char,std::char_traits< char > > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11600,6 +12049,7 @@ SWIGINTERN PyObject *_wrap_istream_seekg(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "istream_seekg", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -11634,6 +12084,7 @@ SWIGINTERN int _wrap_new_iostream(PyObject *self, PyObject *args, PyObject *kwar PyObject *swig_obj[1] ; std::basic_iostream< char > *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_iostream")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_iostream", 1, 1, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0 | 0 ); @@ -11654,8 +12105,8 @@ SWIGINTERN PyObject *_wrap_delete_iostream(PyObject *self, PyObject *args) { std::basic_iostream< char > *arg1 = (std::basic_iostream< char > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_iostream", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -11680,6 +12131,7 @@ SWIGINTERN PyObject *_wrap_endl(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -11706,6 +12158,7 @@ SWIGINTERN PyObject *_wrap_ends(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -11732,6 +12185,7 @@ SWIGINTERN PyObject *_wrap_flush(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::basic_ostream< char,std::char_traits< char > > *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0 ); @@ -11755,8 +12209,8 @@ SWIGINTERN PyObject *_wrap_delete_SwigPyIterator(PyObject *self, PyObject *args) swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SwigPyIterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -11776,9 +12230,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_value(PyObject *self, PyObject *args) swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; PyObject *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_value", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11811,6 +12265,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_0(PyObject *self, Py_ssize_ int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11845,6 +12300,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr__SWIG_1(PyObject *self, Py_ssize_ int res1 = 0 ; swig::SwigPyIterator *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11873,6 +12329,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_incr(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator_incr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -11905,6 +12362,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_0(PyObject *self, Py_ssize_ int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11939,6 +12397,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr__SWIG_1(PyObject *self, Py_ssize_ int res1 = 0 ; swig::SwigPyIterator *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -11967,6 +12426,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_decr(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator_decr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -12000,6 +12460,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_distance(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; ptrdiff_t result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12038,6 +12499,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_equal(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12070,9 +12532,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_copy(PyObject *self, PyObject *args) { swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_copy", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12092,9 +12554,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_next(PyObject *self, PyObject *args) { swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; PyObject *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_next", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12122,9 +12584,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___next__(PyObject *self, PyObject *arg swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; PyObject *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator___next__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12152,9 +12614,9 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_previous(PyObject *self, PyObject *arg swig::SwigPyIterator *arg1 = (swig::SwigPyIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; PyObject *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SwigPyIterator_previous", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12188,6 +12650,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator_advance(PyObject *self, PyObject *args PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12227,6 +12690,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___eq__(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12263,6 +12727,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___ne__(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12299,6 +12764,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___iadd__(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); @@ -12338,6 +12804,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___isub__(PyObject *self, PyObject *arg PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, SWIG_POINTER_DISOWN | 0 ); @@ -12377,6 +12844,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___add__(PyObject *self, PyObject *args PyObject *swig_obj[2] ; swig::SwigPyIterator *result = 0 ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); @@ -12417,6 +12885,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_0(PyObject *self, Py_ssi int ecode2 = 0 ; swig::SwigPyIterator *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12456,6 +12925,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub____SWIG_1(PyObject *self, Py_ssi int res2 = 0 ; ptrdiff_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_swig__SwigPyIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12486,6 +12956,7 @@ SWIGINTERN PyObject *_wrap_SwigPyIterator___sub__(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SwigPyIterator___sub__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -12523,10 +12994,10 @@ SWIGINTERN PyObject *_wrap_VectorString_iterator(PyObject *self, PyObject *args) PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12546,9 +13017,9 @@ SWIGINTERN PyObject *_wrap_VectorString___nonzero__(PyObject *self, PyObject *ar std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12568,9 +13039,9 @@ SWIGINTERN PyObject *_wrap_VectorString___bool__(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12590,9 +13061,9 @@ SWIGINTERN PyObject *_wrap_VectorString___len__(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12621,6 +13092,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getslice__(PyObject *self, PyObject *a PyObject *swig_obj[3] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12638,7 +13110,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getslice__(PyObject *self, PyObject *a } 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) { @@ -12663,6 +13135,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_0(PyObject *self, Py_ ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12680,7 +13153,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_0(PyObject *self, Py_ } 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) { @@ -12707,6 +13180,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_1(PyObject *self, Py_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12735,7 +13209,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice____SWIG_1(PyObject *self, Py_ 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) { @@ -12756,6 +13230,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setslice__(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -12791,6 +13266,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delslice__(PyObject *self, PyObject *a int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12808,7 +13284,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delslice__(PyObject *self, PyObject *a } 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) { @@ -12830,6 +13306,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12842,7 +13319,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s } 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) { @@ -12858,11 +13335,12 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___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 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12871,9 +13349,9 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___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); @@ -12892,12 +13370,13 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___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 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12906,9 +13385,9 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___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; @@ -12940,10 +13419,11 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___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 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12952,9 +13432,9 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___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); @@ -12973,10 +13453,11 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_1(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorString___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 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -12985,9 +13466,9 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< std::string > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString___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); @@ -13009,6 +13490,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13033,7 +13515,7 @@ SWIGINTERN PyObject *_wrap_VectorString___delitem__(PyObject *self, PyObject *ar SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___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; } @@ -13048,6 +13530,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_1(PyObject *self, Py_s int ecode2 = 0 ; std::vector< std::string >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13060,7 +13543,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem____SWIG_1(PyObject *self, Py_s } 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()); } @@ -13078,6 +13561,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13101,7 +13585,7 @@ SWIGINTERN PyObject *_wrap_VectorString___getitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___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; } @@ -13118,6 +13602,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_2(PyObject *self, Py_s int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13141,7 +13626,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_2(PyObject *self, Py_s 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()); } @@ -13163,6 +13648,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_3(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13175,7 +13661,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem____SWIG_3(PyObject *self, Py_s } arg2 = static_cast< std::vector< std::string >::difference_type >(val2); try { - std_vector_Sl_std_string_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_std_string_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -13194,6 +13680,7 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13239,8 +13726,8 @@ SWIGINTERN PyObject *_wrap_VectorString___setitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorString___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" " std::vector< std::string >::__setitem__(std::vector< std::string >::difference_type)\n"); return 0; @@ -13252,9 +13739,9 @@ SWIGINTERN PyObject *_wrap_VectorString_pop(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13282,6 +13769,7 @@ SWIGINTERN PyObject *_wrap_VectorString_append(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -13314,6 +13802,7 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< std::string > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< std::string > *)new std::vector< std::string >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -13329,6 +13818,7 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< std::string > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -13356,9 +13846,9 @@ SWIGINTERN PyObject *_wrap_VectorString_empty(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13378,9 +13868,9 @@ SWIGINTERN PyObject *_wrap_VectorString_size(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13405,6 +13895,7 @@ SWIGINTERN PyObject *_wrap_VectorString_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -13433,9 +13924,9 @@ SWIGINTERN PyObject *_wrap_VectorString_begin(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13456,9 +13947,9 @@ SWIGINTERN PyObject *_wrap_VectorString_end(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13479,9 +13970,9 @@ SWIGINTERN PyObject *_wrap_VectorString_rbegin(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13502,9 +13993,9 @@ SWIGINTERN PyObject *_wrap_VectorString_rend(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13525,8 +14016,8 @@ SWIGINTERN PyObject *_wrap_VectorString_clear(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13546,9 +14037,9 @@ SWIGINTERN PyObject *_wrap_VectorString_get_allocator(PyObject *self, PyObject * std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< std::string > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13556,7 +14047,7 @@ SWIGINTERN PyObject *_wrap_VectorString_get_allocator(PyObject *self, PyObject * } 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; @@ -13570,6 +14061,7 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< std::string > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -13589,8 +14081,8 @@ SWIGINTERN PyObject *_wrap_VectorString_pop_back(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13614,6 +14106,7 @@ SWIGINTERN PyObject *_wrap_VectorString_resize__SWIG_0(PyObject *self, Py_ssize_ size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13643,6 +14136,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_0(PyObject *self, Py_ssize_t int res2 ; std::vector< std::string >::iterator result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13660,7 +14154,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_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; @@ -13682,6 +14176,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_1(PyObject *self, Py_ssize_t int res3 ; std::vector< std::string >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13710,7 +14205,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorString_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; @@ -13725,6 +14220,7 @@ SWIGINTERN PyObject *_wrap_VectorString_erase(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -13756,6 +14252,7 @@ SWIGINTERN int _wrap_new_VectorString__SWIG_3(PyObject *self, Py_ssize_t nobjs, int res2 = SWIG_OLDOBJ ; std::vector< std::string > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -13789,6 +14286,7 @@ SWIGINTERN int _wrap_new_VectorString(PyObject *self, PyObject *args, PyObject * 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorString")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorString", 0, 2, argv))) SWIG_fail; --argc; @@ -13841,6 +14339,7 @@ SWIGINTERN PyObject *_wrap_VectorString_push_back(PyObject *self, PyObject *args int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -13874,9 +14373,9 @@ SWIGINTERN PyObject *_wrap_VectorString_front(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13897,9 +14396,9 @@ SWIGINTERN PyObject *_wrap_VectorString_back(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13927,6 +14426,7 @@ SWIGINTERN PyObject *_wrap_VectorString_assign(PyObject *self, PyObject *args) { int res3 = SWIG_OLDOBJ ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -13970,6 +14470,7 @@ SWIGINTERN PyObject *_wrap_VectorString_resize__SWIG_1(PyObject *self, Py_ssize_ int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14008,6 +14509,7 @@ SWIGINTERN PyObject *_wrap_VectorString_resize(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -14042,6 +14544,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_0(PyObject *self, Py_ssize_ int res3 = SWIG_OLDOBJ ; std::vector< std::string >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14070,7 +14573,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_0(PyObject *self, Py_ssize_ } 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; @@ -14095,6 +14598,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_1(PyObject *self, Py_ssize_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14128,7 +14632,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert__SWIG_1(PyObject *self, Py_ssize_ } 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; @@ -14144,6 +14648,7 @@ SWIGINTERN PyObject *_wrap_VectorString_insert(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorString_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -14176,6 +14681,7 @@ SWIGINTERN PyObject *_wrap_VectorString_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); @@ -14201,9 +14707,9 @@ SWIGINTERN PyObject *_wrap_VectorString_capacity(PyObject *self, PyObject *args) std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorString_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14223,8 +14729,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorString(PyObject *self, PyObject *args) { std::vector< std::string > *arg1 = (std::vector< std::string > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorString", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__string_std__allocatorT_std__string_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -14257,10 +14763,10 @@ SWIGINTERN PyObject *_wrap_VectorInt_iterator(PyObject *self, PyObject *args) { PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14280,9 +14786,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___nonzero__(PyObject *self, PyObject *args) std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14302,9 +14808,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___bool__(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14324,9 +14830,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___len__(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14355,6 +14861,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getslice__(PyObject *self, PyObject *args PyObject *swig_obj[3] ; std::vector< int,std::allocator< int > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14372,7 +14879,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getslice__(PyObject *self, PyObject *args } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_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) { @@ -14397,6 +14904,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_0(PyObject *self, Py_ssi ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14414,7 +14922,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_0(PyObject *self, Py_ssi } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - std_vector_Sl_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_int_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) { @@ -14441,6 +14949,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_1(PyObject *self, Py_ssi int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14469,7 +14978,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice____SWIG_1(PyObject *self, Py_ssi arg4 = ptr; } try { - std_vector_Sl_int_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< int,std::allocator< int > > const &)*arg4); + std_vector_Sl_int_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< int,std::allocator< int > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -14490,6 +14999,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setslice__(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -14525,6 +15035,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delslice__(PyObject *self, PyObject *args int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14542,7 +15053,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delslice__(PyObject *self, PyObject *args } arg3 = static_cast< std::vector< int >::difference_type >(val3); try { - std_vector_Sl_int_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_int_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) { @@ -14564,6 +15075,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14576,7 +15088,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - std_vector_Sl_int_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_int_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) { @@ -14592,11 +15104,12 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< int,std::allocator< int > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14605,9 +15118,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< int,std::allocator< int > > *)std_vector_Sl_int_Sg____getitem____SWIG_0(arg1,arg2); @@ -14626,12 +15139,13 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< int,std::allocator< int > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14640,9 +15154,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; @@ -14674,10 +15188,11 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_0(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14686,9 +15201,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_int_Sg____setitem____SWIG_1(arg1,arg2); @@ -14707,10 +15222,11 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_1(PyObject *self, Py_ssiz SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< int > *arg1 = (std::vector< int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14719,9 +15235,9 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem____SWIG_1(PyObject *self, Py_ssiz arg1 = reinterpret_cast< std::vector< int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_int_Sg____delitem____SWIG_1(arg1,arg2); @@ -14743,6 +15259,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem__(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -14767,7 +15284,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___delitem__(PyObject *self, PyObject *args) SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< int >::__delitem__(std::vector< int >::difference_type)\n" - " std::vector< int >::__delitem__(PySliceObject *)\n"); + " std::vector< int >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -14782,6 +15299,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_1(PyObject *self, Py_ssiz int ecode2 = 0 ; std::vector< int >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14794,7 +15312,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem____SWIG_1(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg____getitem____SWIG_1((std::vector< int > const *)arg1,arg2); + result = (std::vector< int >::value_type *) &std_vector_Sl_int_Sg____getitem____SWIG_1((std::vector< int > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -14812,6 +15330,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem__(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -14835,7 +15354,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___getitem__(PyObject *self, PyObject *args) fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< int >::__getitem__(PySliceObject *)\n" + " std::vector< int >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< int >::__getitem__(std::vector< int >::difference_type) const\n"); return 0; } @@ -14854,6 +15373,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_2(PyObject *self, Py_ssiz int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14872,7 +15392,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_2(PyObject *self, Py_ssiz temp3 = static_cast< std::vector< int >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_int_Sg____setitem____SWIG_2(arg1,arg2,(int const &)*arg3); + std_vector_Sl_int_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -14892,6 +15412,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_3(PyObject *self, Py_ssiz ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -14904,7 +15425,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem____SWIG_3(PyObject *self, Py_ssiz } arg2 = static_cast< std::vector< int >::difference_type >(val2); try { - std_vector_Sl_int_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_int_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -14923,6 +15444,7 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem__(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -14968,8 +15490,8 @@ SWIGINTERN PyObject *_wrap_VectorInt___setitem__(PyObject *self, PyObject *args) fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorInt___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< int >::__setitem__(PySliceObject *,std::vector< int,std::allocator< int > > const &)\n" - " std::vector< int >::__setitem__(PySliceObject *)\n" + " std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< int,std::allocator< int > > const &)\n" + " std::vector< int >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< int >::__setitem__(std::vector< int >::difference_type,std::vector< int >::value_type const &)\n" " std::vector< int >::__setitem__(std::vector< int >::difference_type)\n"); return 0; @@ -14981,9 +15503,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_pop(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15013,6 +15535,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_append(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -15038,6 +15561,7 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO PyObject *resultobj = 0; std::vector< int > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< int > *)new std::vector< int >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -15053,6 +15577,7 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int res1 = SWIG_OLDOBJ ; std::vector< int > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< int,std::allocator< int > > *ptr = (std::vector< int,std::allocator< int > > *)0; @@ -15080,9 +15605,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_empty(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15102,9 +15627,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_size(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15129,6 +15654,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -15157,9 +15683,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_begin(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15180,9 +15706,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_end(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15203,9 +15729,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_rbegin(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15226,9 +15752,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_rend(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15249,8 +15775,8 @@ SWIGINTERN PyObject *_wrap_VectorInt_clear(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15270,9 +15796,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_get_allocator(PyObject *self, PyObject *arg std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< int > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15280,7 +15806,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_get_allocator(PyObject *self, PyObject *arg } arg1 = reinterpret_cast< std::vector< int > * >(argp1); result = ((std::vector< int > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(static_cast< const std::vector< int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< int >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_int_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -15294,6 +15820,7 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyO int ecode1 = 0 ; std::vector< int > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -15313,8 +15840,8 @@ SWIGINTERN PyObject *_wrap_VectorInt_pop_back(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15338,6 +15865,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize__SWIG_0(PyObject *self, Py_ssize_t n size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15367,6 +15895,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_0(PyObject *self, Py_ssize_t no int res2 ; std::vector< int >::iterator result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15384,7 +15913,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_0(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt_erase" "', argument " "2"" of type '" "std::vector< int >::iterator""'"); } } - result = std_vector_Sl_int_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_int_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -15406,6 +15935,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_1(PyObject *self, Py_ssize_t no int res3 ; std::vector< int >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15434,7 +15964,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase__SWIG_1(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorInt_erase" "', argument " "3"" of type '" "std::vector< int >::iterator""'"); } } - result = std_vector_Sl_int_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_int_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< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -15449,6 +15979,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_erase(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -15482,6 +16013,7 @@ SWIGINTERN int _wrap_new_VectorInt__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyO int ecode2 = 0 ; std::vector< int > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -15508,6 +16040,7 @@ SWIGINTERN int _wrap_new_VectorInt(PyObject *self, PyObject *args, PyObject *kwa 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorInt")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorInt", 0, 2, argv))) SWIG_fail; --argc; @@ -15562,6 +16095,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_push_back(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -15588,9 +16122,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_front(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15611,9 +16145,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_back(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15643,6 +16177,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_assign(PyObject *self, PyObject *args) { int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15681,6 +16216,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize__SWIG_1(PyObject *self, Py_ssize_t n int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15712,6 +16248,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_resize(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -15748,6 +16285,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_0(PyObject *self, Py_ssize_t n int ecode3 = 0 ; std::vector< int >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15771,7 +16309,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_0(PyObject *self, Py_ssize_t n } temp3 = static_cast< std::vector< int >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_int_Sg__insert__SWIG_0(arg1,arg2,(int const &)*arg3); + result = std_vector_Sl_int_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(int const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -15796,6 +16334,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_1(PyObject *self, Py_ssize_t n int val4 ; int ecode4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15824,7 +16363,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert__SWIG_1(PyObject *self, Py_ssize_t n } temp4 = static_cast< std::vector< int >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_int_Sg__insert__SWIG_1(arg1,arg2,arg3,(int const &)*arg4); + std_vector_Sl_int_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(int const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -15838,6 +16377,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_insert(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorInt_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -15870,6 +16410,7 @@ SWIGINTERN PyObject *_wrap_VectorInt_reserve(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); @@ -15895,9 +16436,9 @@ SWIGINTERN PyObject *_wrap_VectorInt_capacity(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorInt_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15917,8 +16458,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorInt(PyObject *self, PyObject *args) { std::vector< int > *arg1 = (std::vector< int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorInt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_int_std__allocatorT_int_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -15951,10 +16492,10 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_iterator(PyObject *self, PyObject *arg PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15974,9 +16515,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___nonzero__(PyObject *self, PyObject * std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -15996,9 +16537,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___bool__(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16018,9 +16559,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___len__(PyObject *self, PyObject *args std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16049,6 +16590,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getslice__(PyObject *self, PyObject PyObject *swig_obj[3] ; std::vector< unsigned int,std::allocator< unsigned int > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16066,7 +16608,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_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) { @@ -16091,6 +16633,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_0(PyObject *self, P ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16108,7 +16651,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_0(PyObject *self, P } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_unsigned_SS_int_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) { @@ -16135,6 +16678,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_1(PyObject *self, P int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16163,7 +16707,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice____SWIG_1(PyObject *self, P arg4 = ptr; } try { - std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); + std_vector_Sl_unsigned_SS_int_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16184,6 +16728,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setslice__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -16219,6 +16764,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delslice__(PyObject *self, PyObject int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16236,7 +16782,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< unsigned int >::difference_type >(val3); try { - std_vector_Sl_unsigned_SS_int_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_unsigned_SS_int_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) { @@ -16258,6 +16804,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16270,7 +16817,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_unsigned_SS_int_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) { @@ -16286,11 +16833,12 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< unsigned int,std::allocator< unsigned int > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16299,9 +16847,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< unsigned int,std::allocator< unsigned int > > *)std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_0(arg1,arg2); @@ -16320,12 +16868,13 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< unsigned int,std::allocator< unsigned int > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16334,9 +16883,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; @@ -16368,10 +16917,11 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_0(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16380,9 +16930,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_1(arg1,arg2); @@ -16401,10 +16951,11 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_1(PyObject *self, Py SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16413,9 +16964,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem____SWIG_1(PyObject *self, Py arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_unsigned_SS_int_Sg____delitem____SWIG_1(arg1,arg2); @@ -16437,6 +16988,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem__(PyObject *self, PyObject * 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -16461,7 +17013,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___delitem__(PyObject *self, PyObject * SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< unsigned int >::__delitem__(std::vector< unsigned int >::difference_type)\n" - " std::vector< unsigned int >::__delitem__(PySliceObject *)\n"); + " std::vector< unsigned int >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -16476,6 +17028,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_1(PyObject *self, Py int ecode2 = 0 ; std::vector< unsigned int >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16488,7 +17041,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem____SWIG_1(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - result = (std::vector< unsigned int >::value_type *) &std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_1((std::vector< unsigned int > const *)arg1,arg2); + result = (std::vector< unsigned int >::value_type *) &std_vector_Sl_unsigned_SS_int_Sg____getitem____SWIG_1((std::vector< unsigned int > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -16506,6 +17059,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem__(PyObject *self, PyObject * 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -16529,7 +17083,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___getitem__(PyObject *self, PyObject * fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned int >::__getitem__(PySliceObject *)\n" + " std::vector< unsigned int >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< unsigned int >::__getitem__(std::vector< unsigned int >::difference_type) const\n"); return 0; } @@ -16548,6 +17102,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_2(PyObject *self, Py unsigned int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16566,7 +17121,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_2(PyObject *self, Py temp3 = static_cast< std::vector< unsigned int >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_2(arg1,arg2,(unsigned int const &)*arg3); + std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(unsigned int const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -16586,6 +17141,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_3(PyObject *self, Py ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16598,7 +17154,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem____SWIG_3(PyObject *self, Py } arg2 = static_cast< std::vector< unsigned int >::difference_type >(val2); try { - std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_unsigned_SS_int_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -16617,6 +17173,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem__(PyObject *self, PyObject * 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -16662,8 +17219,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned___setitem__(PyObject *self, PyObject * fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUnsigned___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< unsigned int >::__setitem__(PySliceObject *,std::vector< unsigned int,std::allocator< unsigned int > > const &)\n" - " std::vector< unsigned int >::__setitem__(PySliceObject *)\n" + " std::vector< unsigned int >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< unsigned int,std::allocator< unsigned int > > const &)\n" + " std::vector< unsigned int >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< unsigned int >::__setitem__(std::vector< unsigned int >::difference_type,std::vector< unsigned int >::value_type const &)\n" " std::vector< unsigned int >::__setitem__(std::vector< unsigned int >::difference_type)\n"); return 0; @@ -16675,9 +17232,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_pop(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16707,6 +17264,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_append(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -16732,6 +17290,7 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_0(PyObject *self, Py_ssize_t nobjs PyObject *resultobj = 0; std::vector< unsigned int > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< unsigned int > *)new std::vector< unsigned int >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -16747,6 +17306,7 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_1(PyObject *self, Py_ssize_t nobjs int res1 = SWIG_OLDOBJ ; std::vector< unsigned int > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< unsigned int,std::allocator< unsigned int > > *ptr = (std::vector< unsigned int,std::allocator< unsigned int > > *)0; @@ -16774,9 +17334,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_empty(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16796,9 +17356,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_size(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16823,6 +17383,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -16851,9 +17412,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_begin(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16874,9 +17435,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_end(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16897,9 +17458,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_rbegin(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16920,9 +17481,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_rend(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16943,8 +17504,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_clear(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16964,9 +17525,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_get_allocator(PyObject *self, PyObject std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< unsigned int > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -16974,7 +17535,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_get_allocator(PyObject *self, PyObject } arg1 = reinterpret_cast< std::vector< unsigned int > * >(argp1); result = ((std::vector< unsigned int > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< unsigned int >::allocator_type(static_cast< const std::vector< unsigned int >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_int_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< unsigned int >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_int_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -16988,6 +17549,7 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_2(PyObject *self, Py_ssize_t nobjs int ecode1 = 0 ; std::vector< unsigned int > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -17007,8 +17569,8 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_pop_back(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17032,6 +17594,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize__SWIG_0(PyObject *self, Py_ssiz size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17061,6 +17624,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_0(PyObject *self, Py_ssize int res2 ; std::vector< unsigned int >::iterator result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17078,7 +17642,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_0(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned_erase" "', argument " "2"" of type '" "std::vector< unsigned int >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -17100,6 +17664,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_1(PyObject *self, Py_ssize int res3 ; std::vector< unsigned int >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17128,7 +17693,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase__SWIG_1(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUnsigned_erase" "', argument " "3"" of type '" "std::vector< unsigned int >::iterator""'"); } } - result = std_vector_Sl_unsigned_SS_int_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_unsigned_SS_int_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< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -17143,6 +17708,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_erase(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17176,6 +17742,7 @@ SWIGINTERN int _wrap_new_VectorUnsigned__SWIG_3(PyObject *self, Py_ssize_t nobjs int ecode2 = 0 ; std::vector< unsigned int > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -17202,6 +17769,7 @@ SWIGINTERN int _wrap_new_VectorUnsigned(PyObject *self, PyObject *args, PyObject 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorUnsigned")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUnsigned", 0, 2, argv))) SWIG_fail; --argc; @@ -17256,6 +17824,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_push_back(PyObject *self, PyObject *ar int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -17282,9 +17851,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_front(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17305,9 +17874,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_back(PyObject *self, PyObject *args) { std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17337,6 +17906,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_assign(PyObject *self, PyObject *args) int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17375,6 +17945,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize__SWIG_1(PyObject *self, Py_ssiz unsigned int val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17406,6 +17977,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_resize(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -17442,6 +18014,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_0(PyObject *self, Py_ssiz int ecode3 = 0 ; std::vector< unsigned int >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17465,7 +18038,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_0(PyObject *self, Py_ssiz } temp3 = static_cast< std::vector< unsigned int >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_0(arg1,arg2,(unsigned int const &)*arg3); + result = std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(unsigned int const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< unsigned int >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -17490,6 +18063,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_1(PyObject *self, Py_ssiz unsigned int val4 ; int ecode4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17518,7 +18092,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert__SWIG_1(PyObject *self, Py_ssiz } temp4 = static_cast< std::vector< unsigned int >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_1(arg1,arg2,arg3,(unsigned int const &)*arg4); + std_vector_Sl_unsigned_SS_int_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(unsigned int const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -17532,6 +18106,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_insert(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUnsigned_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -17564,6 +18139,7 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_reserve(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); @@ -17589,9 +18165,9 @@ SWIGINTERN PyObject *_wrap_VectorUnsigned_capacity(PyObject *self, PyObject *arg std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< unsigned int >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUnsigned_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17611,8 +18187,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorUnsigned(PyObject *self, PyObject *args) std::vector< unsigned int > *arg1 = (std::vector< unsigned int > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorUnsigned", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -17645,10 +18221,10 @@ SWIGINTERN PyObject *_wrap_VectorDouble_iterator(PyObject *self, PyObject *args) PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17668,9 +18244,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___nonzero__(PyObject *self, PyObject *ar std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17690,9 +18266,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___bool__(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17712,9 +18288,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___len__(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17743,6 +18319,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getslice__(PyObject *self, PyObject *a PyObject *swig_obj[3] ; std::vector< double,std::allocator< double > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17760,7 +18337,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_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) { @@ -17785,6 +18362,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_0(PyObject *self, Py_ ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17802,7 +18380,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_0(PyObject *self, Py_ } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - std_vector_Sl_double_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_double_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) { @@ -17829,6 +18407,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_1(PyObject *self, Py_ int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17857,7 +18436,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice____SWIG_1(PyObject *self, Py_ arg4 = ptr; } try { - std_vector_Sl_double_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< double,std::allocator< double > > const &)*arg4); + std_vector_Sl_double_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< double,std::allocator< double > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -17878,6 +18457,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setslice__(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -17913,6 +18493,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delslice__(PyObject *self, PyObject *a int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17930,7 +18511,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delslice__(PyObject *self, PyObject *a } arg3 = static_cast< std::vector< double >::difference_type >(val3); try { - std_vector_Sl_double_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_double_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) { @@ -17952,6 +18533,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17964,7 +18546,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - std_vector_Sl_double_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_double_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) { @@ -17980,11 +18562,12 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< double,std::allocator< double > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -17993,9 +18576,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< double,std::allocator< double > > *)std_vector_Sl_double_Sg____getitem____SWIG_0(arg1,arg2); @@ -18014,12 +18597,13 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< double,std::allocator< double > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18028,9 +18612,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; @@ -18062,10 +18646,11 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_0(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18074,9 +18659,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_double_Sg____setitem____SWIG_1(arg1,arg2); @@ -18095,10 +18680,11 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_1(PyObject *self, Py_s SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< double > *arg1 = (std::vector< double > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18107,9 +18693,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem____SWIG_1(PyObject *self, Py_s arg1 = reinterpret_cast< std::vector< double > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_double_Sg____delitem____SWIG_1(arg1,arg2); @@ -18131,6 +18717,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18155,7 +18742,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___delitem__(PyObject *self, PyObject *ar SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< double >::__delitem__(std::vector< double >::difference_type)\n" - " std::vector< double >::__delitem__(PySliceObject *)\n"); + " std::vector< double >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -18170,6 +18757,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_1(PyObject *self, Py_s int ecode2 = 0 ; std::vector< double >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18182,7 +18770,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem____SWIG_1(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg____getitem____SWIG_1((std::vector< double > const *)arg1,arg2); + result = (std::vector< double >::value_type *) &std_vector_Sl_double_Sg____getitem____SWIG_1((std::vector< double > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -18200,6 +18788,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18223,7 +18812,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___getitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< double >::__getitem__(PySliceObject *)\n" + " std::vector< double >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< double >::__getitem__(std::vector< double >::difference_type) const\n"); return 0; } @@ -18242,6 +18831,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_2(PyObject *self, Py_s double val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18260,7 +18850,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_2(PyObject *self, Py_s temp3 = static_cast< std::vector< double >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_double_Sg____setitem____SWIG_2(arg1,arg2,(double const &)*arg3); + std_vector_Sl_double_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(double const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -18280,6 +18870,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_3(PyObject *self, Py_s ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18292,7 +18883,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem____SWIG_3(PyObject *self, Py_s } arg2 = static_cast< std::vector< double >::difference_type >(val2); try { - std_vector_Sl_double_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_double_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -18311,6 +18902,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem__(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18356,8 +18948,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble___setitem__(PyObject *self, PyObject *ar fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorDouble___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< double >::__setitem__(PySliceObject *,std::vector< double,std::allocator< double > > const &)\n" - " std::vector< double >::__setitem__(PySliceObject *)\n" + " std::vector< double >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< double,std::allocator< double > > const &)\n" + " std::vector< double >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< double >::__setitem__(std::vector< double >::difference_type,std::vector< double >::value_type const &)\n" " std::vector< double >::__setitem__(std::vector< double >::difference_type)\n"); return 0; @@ -18369,9 +18961,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_pop(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18401,6 +18993,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_append(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -18426,6 +19019,7 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< double > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< double > *)new std::vector< double >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -18441,6 +19035,7 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< double > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< double,std::allocator< double > > *ptr = (std::vector< double,std::allocator< double > > *)0; @@ -18468,9 +19063,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_empty(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18490,9 +19085,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_size(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18517,6 +19112,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -18545,9 +19141,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_begin(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18568,9 +19164,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_end(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18591,9 +19187,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_rbegin(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18614,9 +19210,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_rend(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18637,8 +19233,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble_clear(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18658,9 +19254,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_get_allocator(PyObject *self, PyObject * std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< double > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18668,7 +19264,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_get_allocator(PyObject *self, PyObject * } arg1 = reinterpret_cast< std::vector< double > * >(argp1); result = ((std::vector< double > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(static_cast< const std::vector< double >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< double >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_double_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -18682,6 +19278,7 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< double > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -18701,8 +19298,8 @@ SWIGINTERN PyObject *_wrap_VectorDouble_pop_back(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18726,6 +19323,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize__SWIG_0(PyObject *self, Py_ssize_ size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18755,6 +19353,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_0(PyObject *self, Py_ssize_t int res2 ; std::vector< double >::iterator result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18772,7 +19371,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "2"" of type '" "std::vector< double >::iterator""'"); } } - result = std_vector_Sl_double_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_double_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -18794,6 +19393,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_1(PyObject *self, Py_ssize_t int res3 ; std::vector< double >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18822,7 +19422,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorDouble_erase" "', argument " "3"" of type '" "std::vector< double >::iterator""'"); } } - result = std_vector_Sl_double_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_double_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< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -18837,6 +19437,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_erase(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -18870,6 +19471,7 @@ SWIGINTERN int _wrap_new_VectorDouble__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; std::vector< double > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -18896,6 +19498,7 @@ SWIGINTERN int _wrap_new_VectorDouble(PyObject *self, PyObject *args, PyObject * 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorDouble")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorDouble", 0, 2, argv))) SWIG_fail; --argc; @@ -18950,6 +19553,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_push_back(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -18976,9 +19580,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_front(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -18999,9 +19603,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_back(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19031,6 +19635,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_assign(PyObject *self, PyObject *args) { int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19069,6 +19674,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize__SWIG_1(PyObject *self, Py_ssize_ double val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19100,6 +19706,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_resize(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -19136,6 +19743,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_0(PyObject *self, Py_ssize_ int ecode3 = 0 ; std::vector< double >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19159,7 +19767,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_0(PyObject *self, Py_ssize_ } temp3 = static_cast< std::vector< double >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_double_Sg__insert__SWIG_0(arg1,arg2,(double const &)*arg3); + result = std_vector_Sl_double_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(double const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< double >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -19184,6 +19792,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_1(PyObject *self, Py_ssize_ double val4 ; int ecode4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19212,7 +19821,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert__SWIG_1(PyObject *self, Py_ssize_ } temp4 = static_cast< std::vector< double >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_double_Sg__insert__SWIG_1(arg1,arg2,arg3,(double const &)*arg4); + std_vector_Sl_double_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(double const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -19226,6 +19835,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_insert(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorDouble_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -19258,6 +19868,7 @@ SWIGINTERN PyObject *_wrap_VectorDouble_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); @@ -19283,9 +19894,9 @@ SWIGINTERN PyObject *_wrap_VectorDouble_capacity(PyObject *self, PyObject *args) std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< double >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorDouble_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19305,8 +19916,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorDouble(PyObject *self, PyObject *args) { std::vector< double > *arg1 = (std::vector< double > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorDouble", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_double_std__allocatorT_double_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -19339,10 +19950,10 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_iterator(PyObject *self, PyObject *args PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19362,9 +19973,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___nonzero__(PyObject *self, PyObject *a std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19384,9 +19995,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___bool__(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19406,9 +20017,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___len__(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19437,6 +20048,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getslice__(PyObject *self, PyObject * PyObject *swig_obj[3] ; std::vector< uint64_t,std::allocator< uint64_t > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19454,7 +20066,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getslice__(PyObject *self, PyObject * } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_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) { @@ -19479,6 +20091,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_0(PyObject *self, Py ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19496,7 +20109,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_0(PyObject *self, Py } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - std_vector_Sl_uint64_t_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_uint64_t_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) { @@ -19523,6 +20136,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_1(PyObject *self, Py int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19551,7 +20165,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice____SWIG_1(PyObject *self, Py arg4 = ptr; } try { - std_vector_Sl_uint64_t_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg4); + std_vector_Sl_uint64_t_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -19572,6 +20186,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setslice__(PyObject *self, PyObject * 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -19607,6 +20222,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delslice__(PyObject *self, PyObject * int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19624,7 +20240,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delslice__(PyObject *self, PyObject * } arg3 = static_cast< std::vector< uint64_t >::difference_type >(val3); try { - std_vector_Sl_uint64_t_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_uint64_t_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) { @@ -19646,6 +20262,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19658,7 +20275,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - std_vector_Sl_uint64_t_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_uint64_t_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) { @@ -19674,11 +20291,12 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19687,9 +20305,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< uint64_t,std::allocator< uint64_t > > *)std_vector_Sl_uint64_t_Sg____getitem____SWIG_0(arg1,arg2); @@ -19708,12 +20326,13 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< uint64_t,std::allocator< uint64_t > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19722,9 +20341,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; @@ -19756,10 +20375,11 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_0(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19768,9 +20388,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_uint64_t_Sg____setitem____SWIG_1(arg1,arg2); @@ -19789,10 +20409,11 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_1(PyObject *self, Py_ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19801,9 +20422,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem____SWIG_1(PyObject *self, Py_ arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_uint64_t_Sg____delitem____SWIG_1(arg1,arg2); @@ -19825,6 +20446,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem__(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -19849,7 +20471,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___delitem__(PyObject *self, PyObject *a SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< uint64_t >::__delitem__(std::vector< uint64_t >::difference_type)\n" - " std::vector< uint64_t >::__delitem__(PySliceObject *)\n"); + " std::vector< uint64_t >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -19864,6 +20486,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_1(PyObject *self, Py_ int ecode2 = 0 ; std::vector< uint64_t >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19876,7 +20499,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem____SWIG_1(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - result = (std::vector< uint64_t >::value_type *) &std_vector_Sl_uint64_t_Sg____getitem____SWIG_1((std::vector< uint64_t > const *)arg1,arg2); + result = (std::vector< uint64_t >::value_type *) &std_vector_Sl_uint64_t_Sg____getitem____SWIG_1((std::vector< uint64_t > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -19894,6 +20517,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem__(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -19917,7 +20541,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___getitem__(PyObject *self, PyObject *a fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< uint64_t >::__getitem__(PySliceObject *)\n" + " std::vector< uint64_t >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< uint64_t >::__getitem__(std::vector< uint64_t >::difference_type) const\n"); return 0; } @@ -19936,6 +20560,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_2(PyObject *self, Py_ uint64_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19954,7 +20579,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_2(PyObject *self, Py_ temp3 = static_cast< std::vector< uint64_t >::value_type >(val3); arg3 = &temp3; try { - std_vector_Sl_uint64_t_Sg____setitem____SWIG_2(arg1,arg2,(uint64_t const &)*arg3); + std_vector_Sl_uint64_t_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(uint64_t const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -19974,6 +20599,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_3(PyObject *self, Py_ ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -19986,7 +20612,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem____SWIG_3(PyObject *self, Py_ } arg2 = static_cast< std::vector< uint64_t >::difference_type >(val2); try { - std_vector_Sl_uint64_t_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_uint64_t_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -20005,6 +20631,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem__(PyObject *self, PyObject *a 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20050,8 +20677,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t___setitem__(PyObject *self, PyObject *a fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorUint64t___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< uint64_t >::__setitem__(PySliceObject *,std::vector< uint64_t,std::allocator< uint64_t > > const &)\n" - " std::vector< uint64_t >::__setitem__(PySliceObject *)\n" + " std::vector< uint64_t >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< uint64_t,std::allocator< uint64_t > > const &)\n" + " std::vector< uint64_t >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< uint64_t >::__setitem__(std::vector< uint64_t >::difference_type,std::vector< uint64_t >::value_type const &)\n" " std::vector< uint64_t >::__setitem__(std::vector< uint64_t >::difference_type)\n"); return 0; @@ -20063,9 +20690,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_pop(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20095,6 +20722,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_append(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -20120,6 +20748,7 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; std::vector< uint64_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< uint64_t > *)new std::vector< uint64_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -20135,6 +20764,7 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_1(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< uint64_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; @@ -20162,9 +20792,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_empty(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20184,9 +20814,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_size(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20211,6 +20841,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_swap(PyObject *self, PyObject *args) { int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -20239,9 +20870,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_begin(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20262,9 +20893,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_end(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20285,9 +20916,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_rbegin(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::reverse_iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20308,9 +20939,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_rend(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< uint64_t >::reverse_iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20331,8 +20962,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_clear(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20352,9 +20983,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_get_allocator(PyObject *self, PyObject std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< uint64_t > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20362,7 +20993,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_get_allocator(PyObject *self, PyObject } arg1 = reinterpret_cast< std::vector< uint64_t > * >(argp1); result = ((std::vector< uint64_t > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< uint64_t >::allocator_type(static_cast< const std::vector< uint64_t >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_unsigned_long_long_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< uint64_t >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_unsigned_long_long_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -20376,6 +21007,7 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_2(PyObject *self, Py_ssize_t nobjs, int ecode1 = 0 ; std::vector< uint64_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -20395,8 +21027,8 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_pop_back(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20420,6 +21052,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize__SWIG_0(PyObject *self, Py_ssize size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20449,6 +21082,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_0(PyObject *self, Py_ssize_ int res2 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20466,7 +21100,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_0(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t_erase" "', argument " "2"" of type '" "std::vector< uint64_t >::iterator""'"); } } - result = std_vector_Sl_uint64_t_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_uint64_t_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -20488,6 +21122,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_1(PyObject *self, Py_ssize_ int res3 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20516,7 +21151,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase__SWIG_1(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorUint64t_erase" "', argument " "3"" of type '" "std::vector< uint64_t >::iterator""'"); } } - result = std_vector_Sl_uint64_t_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_uint64_t_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< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -20531,6 +21166,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_erase(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20564,6 +21200,7 @@ SWIGINTERN int _wrap_new_VectorUint64t__SWIG_3(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; std::vector< uint64_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -20590,6 +21227,7 @@ SWIGINTERN int _wrap_new_VectorUint64t(PyObject *self, PyObject *args, PyObject 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorUint64t")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorUint64t", 0, 2, argv))) SWIG_fail; --argc; @@ -20644,6 +21282,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_push_back(PyObject *self, PyObject *arg int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -20670,9 +21309,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_front(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20693,9 +21332,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_back(PyObject *self, PyObject *args) { std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20725,6 +21364,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_assign(PyObject *self, PyObject *args) int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20763,6 +21403,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize__SWIG_1(PyObject *self, Py_ssize uint64_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20794,6 +21435,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_resize(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -20830,6 +21472,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_0(PyObject *self, Py_ssize int ecode3 = 0 ; SwigValueWrapper< std::vector< uint64_t >::iterator > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20853,7 +21496,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_0(PyObject *self, Py_ssize } temp3 = static_cast< std::vector< uint64_t >::value_type >(val3); arg3 = &temp3; - result = std_vector_Sl_uint64_t_Sg__insert__SWIG_0(arg1,arg2,(uint64_t const &)*arg3); + result = std_vector_Sl_uint64_t_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(uint64_t const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< uint64_t >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -20878,6 +21521,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_1(PyObject *self, Py_ssize uint64_t val4 ; int ecode4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20906,7 +21550,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert__SWIG_1(PyObject *self, Py_ssize } temp4 = static_cast< std::vector< uint64_t >::value_type >(val4); arg4 = &temp4; - std_vector_Sl_uint64_t_Sg__insert__SWIG_1(arg1,arg2,arg3,(uint64_t const &)*arg4); + std_vector_Sl_uint64_t_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(uint64_t const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -20920,6 +21564,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_insert(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorUint64t_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -20952,6 +21597,7 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_reserve(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); @@ -20977,9 +21623,9 @@ SWIGINTERN PyObject *_wrap_VectorUint64t_capacity(PyObject *self, PyObject *args std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< uint64_t >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorUint64t_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -20999,8 +21645,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorUint64t(PyObject *self, PyObject *args) std::vector< uint64_t > *arg1 = (std::vector< uint64_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorUint64t", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -21033,10 +21679,10 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_iterator(PyObject *self, PyObject *ar PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21056,9 +21702,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___nonzero__(PyObject *self, PyObject std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21078,9 +21724,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___bool__(PyObject *self, PyObject *ar std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21100,9 +21746,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___len__(PyObject *self, PyObject *arg std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21131,6 +21777,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject PyObject *swig_obj[3] ; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21148,7 +21795,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val3); try { - result = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Minimizer_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) { @@ -21173,6 +21820,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21190,7 +21838,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_0(PyObject *self, } arg3 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val3); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_btllib_Indexlr_Minimizer_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) { @@ -21217,6 +21865,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_1(PyObject *self, int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21245,7 +21894,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice____SWIG_1(PyObject *self, arg4 = ptr; } try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)*arg4); + std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21266,6 +21915,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setslice__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -21301,6 +21951,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21318,7 +21969,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delslice__(PyObject *self, PyObject } arg3 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val3); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_btllib_Indexlr_Minimizer_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) { @@ -21340,6 +21991,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, P ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21352,7 +22004,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, P } arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_btllib_Indexlr_Minimizer_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) { @@ -21368,11 +22020,12 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21381,9 +22034,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_0(arg1,arg2); @@ -21402,12 +22055,13 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21416,9 +22070,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *ptr = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)0; @@ -21450,10 +22104,11 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_0(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21462,9 +22117,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_1(arg1,arg2); @@ -21483,10 +22138,11 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_1(PyObject *self, P SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21495,9 +22151,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem____SWIG_1(PyObject *self, P arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_btllib_Indexlr_Minimizer_Sg____delitem____SWIG_1(arg1,arg2); @@ -21519,6 +22175,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -21543,7 +22200,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___delitem__(PyObject *self, PyObject SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< btllib::Indexlr::Minimizer >::__delitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type)\n" - " std::vector< btllib::Indexlr::Minimizer >::__delitem__(PySliceObject *)\n"); + " std::vector< btllib::Indexlr::Minimizer >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -21558,6 +22215,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_1(PyObject *self, P int ecode2 = 0 ; std::vector< btllib::Indexlr::Minimizer >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21570,7 +22228,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem____SWIG_1(PyObject *self, P } arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); try { - result = (std::vector< btllib::Indexlr::Minimizer >::value_type *) &std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_1((std::vector< btllib::Indexlr::Minimizer > const *)arg1,arg2); + result = (std::vector< btllib::Indexlr::Minimizer >::value_type *) &std_vector_Sl_btllib_Indexlr_Minimizer_Sg____getitem____SWIG_1((std::vector< btllib::Indexlr::Minimizer > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -21588,6 +22246,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -21611,7 +22270,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___getitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::__getitem__(PySliceObject *)\n" + " std::vector< btllib::Indexlr::Minimizer >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< btllib::Indexlr::Minimizer >::__getitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type) const\n"); return 0; } @@ -21629,6 +22288,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, P void *argp3 = 0 ; int res3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21649,7 +22309,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_2(PyObject *self, P } arg3 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp3); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_2(arg1,arg2,(btllib::Indexlr::Minimizer const &)*arg3); + std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(btllib::Indexlr::Minimizer const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -21669,6 +22329,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_3(PyObject *self, P ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21681,7 +22342,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem____SWIG_3(PyObject *self, P } arg2 = static_cast< std::vector< btllib::Indexlr::Minimizer >::difference_type >(val2); try { - std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_btllib_Indexlr_Minimizer_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -21700,6 +22361,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -21745,8 +22407,8 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer___setitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorMinimizer___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::Indexlr::Minimizer >::__setitem__(PySliceObject *,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)\n" - " std::vector< btllib::Indexlr::Minimizer >::__setitem__(PySliceObject *)\n" + " std::vector< btllib::Indexlr::Minimizer >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > const &)\n" + " std::vector< btllib::Indexlr::Minimizer >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< btllib::Indexlr::Minimizer >::__setitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type,std::vector< btllib::Indexlr::Minimizer >::value_type const &)\n" " std::vector< btllib::Indexlr::Minimizer >::__setitem__(std::vector< btllib::Indexlr::Minimizer >::difference_type)\n"); return 0; @@ -21758,9 +22420,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop(PyObject *self, PyObject *args) { std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21772,7 +22434,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop(PyObject *self, PyObject *args) { } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } - resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr::Minimizer >::value_type(static_cast< const std::vector< btllib::Indexlr::Minimizer >::value_type& >(result))), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr::Minimizer >::value_type(result)), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -21789,6 +22451,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_append(PyObject *self, PyObject *args int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); @@ -21816,6 +22479,7 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_0(PyObject *self, Py_ssize_t nobj PyObject *resultobj = 0; std::vector< btllib::Indexlr::Minimizer > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< btllib::Indexlr::Minimizer > *)new std::vector< btllib::Indexlr::Minimizer >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -21831,6 +22495,7 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_1(PyObject *self, Py_ssize_t nobj int res1 = SWIG_OLDOBJ ; std::vector< btllib::Indexlr::Minimizer > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *ptr = (std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *)0; @@ -21858,9 +22523,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_empty(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21880,9 +22545,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_size(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21907,6 +22572,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_swap(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); @@ -21935,9 +22601,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_begin(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21958,9 +22624,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_end(PyObject *self, PyObject *args) { std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -21981,9 +22647,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_rbegin(PyObject *self, PyObject *args std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22004,9 +22670,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_rend(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::reverse_iterator result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22027,8 +22693,8 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_clear(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22048,9 +22714,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_get_allocator(PyObject *self, PyObjec std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< btllib::Indexlr::Minimizer > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22058,7 +22724,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_get_allocator(PyObject *self, PyObjec } arg1 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer > * >(argp1); result = ((std::vector< btllib::Indexlr::Minimizer > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr::Minimizer >::allocator_type(static_cast< const std::vector< btllib::Indexlr::Minimizer >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_btllib__Indexlr__Minimizer_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< btllib::Indexlr::Minimizer >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_btllib__Indexlr__Minimizer_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -22072,6 +22738,7 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_2(PyObject *self, Py_ssize_t nobj int ecode1 = 0 ; std::vector< btllib::Indexlr::Minimizer > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -22091,8 +22758,8 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_pop_back(PyObject *self, PyObject *ar std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22116,6 +22783,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_0(PyObject *self, Py_ssi size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22145,6 +22813,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_0(PyObject *self, Py_ssiz int res2 ; std::vector< btllib::Indexlr::Minimizer >::iterator result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22162,7 +22831,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_0(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "2"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); } } - result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -22184,6 +22853,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_1(PyObject *self, Py_ssiz int res3 ; std::vector< btllib::Indexlr::Minimizer >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22212,7 +22882,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase__SWIG_1(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorMinimizer_erase" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::iterator""'"); } } - result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_btllib_Indexlr_Minimizer_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< btllib::Indexlr::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -22227,6 +22897,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_erase(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -22259,6 +22930,7 @@ SWIGINTERN int _wrap_new_VectorMinimizer__SWIG_3(PyObject *self, Py_ssize_t nobj int res2 = 0 ; std::vector< btllib::Indexlr::Minimizer > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -22287,6 +22959,7 @@ SWIGINTERN int _wrap_new_VectorMinimizer(PyObject *self, PyObject *args, PyObjec 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorMinimizer")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorMinimizer", 0, 2, argv))) SWIG_fail; --argc; @@ -22340,6 +23013,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_push_back(PyObject *self, PyObject *a int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); @@ -22368,9 +23042,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_front(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22391,9 +23065,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_back(PyObject *self, PyObject *args) std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22422,6 +23096,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_assign(PyObject *self, PyObject *args int res3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22461,6 +23136,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize__SWIG_1(PyObject *self, Py_ssi void *argp3 = 0 ; int res3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22494,6 +23170,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_resize(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -22529,6 +23206,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_0(PyObject *self, Py_ssi int res3 = 0 ; std::vector< btllib::Indexlr::Minimizer >::iterator result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22554,7 +23232,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_0(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "3"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); } arg3 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp3); - result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_0(arg1,arg2,(btllib::Indexlr::Minimizer const &)*arg3); + result = std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(btllib::Indexlr::Minimizer const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< btllib::Indexlr::Minimizer >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -22578,6 +23256,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_1(PyObject *self, Py_ssi void *argp4 = 0 ; int res4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22608,7 +23287,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VectorMinimizer_insert" "', argument " "4"" of type '" "std::vector< btllib::Indexlr::Minimizer >::value_type const &""'"); } arg4 = reinterpret_cast< std::vector< btllib::Indexlr::Minimizer >::value_type * >(argp4); - std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_1(arg1,arg2,arg3,(btllib::Indexlr::Minimizer const &)*arg4); + std_vector_Sl_btllib_Indexlr_Minimizer_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(btllib::Indexlr::Minimizer const &)*arg4); resultobj = SWIG_Py_Void(); return resultobj; fail: @@ -22622,6 +23301,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_insert(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorMinimizer_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -22654,6 +23334,7 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_reserve(PyObject *self, PyObject *arg int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); @@ -22679,9 +23360,9 @@ SWIGINTERN PyObject *_wrap_VectorMinimizer_capacity(PyObject *self, PyObject *ar std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorMinimizer_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22701,8 +23382,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorMinimizer(PyObject *self, PyObject *args std::vector< btllib::Indexlr::Minimizer > *arg1 = (std::vector< btllib::Indexlr::Minimizer > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorMinimizer", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -22735,10 +23416,10 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_iterator(PyObject *self, PyObject *a PyObject **arg2 = (PyObject **) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; swig::SwigPyIterator *result = 0 ; arg2 = &self; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_iterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22758,9 +23439,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___nonzero__(PyObject *self, PyObject std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22780,9 +23461,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___bool__(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___bool__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22802,9 +23483,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___len__(PyObject *self, PyObject *ar std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___len__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22833,6 +23514,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getslice__(PyObject *self, PyObjec PyObject *swig_obj[3] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___getslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22850,7 +23532,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getslice__(PyObject *self, PyObjec } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_Sg____getslice__(arg1,arg2,arg3); + result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_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) { @@ -22875,6 +23557,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_0(PyObject *self, ptrdiff_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22892,7 +23575,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_0(PyObject *self, } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_0(arg1,arg2,arg3); + std_vector_Sl_btllib_SpacedSeed_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) { @@ -22919,6 +23602,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_1(PyObject *self, int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -22947,7 +23631,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice____SWIG_1(PyObject *self, arg4 = ptr; } try { - std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_1(arg1,arg2,arg3,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4); + std_vector_Sl_btllib_SpacedSeed_Sg____setslice____SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg4); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -22968,6 +23652,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setslice__(PyObject *self, PyObjec 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___setslice__", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -23003,6 +23688,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delslice__(PyObject *self, PyObjec int ecode3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___delslice__", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23020,7 +23706,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delslice__(PyObject *self, PyObjec } arg3 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val3); try { - std_vector_Sl_btllib_SpacedSeed_Sg____delslice__(arg1,arg2,arg3); + std_vector_Sl_btllib_SpacedSeed_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) { @@ -23042,6 +23728,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23054,7 +23741,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_0(arg1,arg2); + std_vector_Sl_btllib_SpacedSeed_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) { @@ -23070,11 +23757,12 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23083,9 +23771,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___getitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___getitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_0(arg1,arg2); @@ -23104,12 +23792,13 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *arg3 = 0 ; void *argp1 = 0 ; int res1 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23118,9 +23807,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } { std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; @@ -23152,10 +23841,11 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_0(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23164,9 +23854,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___setitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_1(arg1,arg2); @@ -23185,10 +23875,11 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_1(PyObject *self, SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; - PySliceObject *arg2 = (PySliceObject *) 0 ; + SWIGPY_SLICEOBJECT *arg2 = (SWIGPY_SLICEOBJECT *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23197,9 +23888,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem____SWIG_1(PyObject *self, arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); { if (!PySlice_Check(swig_obj[1])) { - SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___delitem__" "', argument " "2"" of type '" "PySliceObject *""'"); + SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed___delitem__" "', argument " "2"" of type '" "SWIGPY_SLICEOBJECT *""'"); } - arg2 = (PySliceObject *) swig_obj[1]; + arg2 = (SWIGPY_SLICEOBJECT *) swig_obj[1]; } try { std_vector_Sl_btllib_SpacedSeed_Sg____delitem____SWIG_1(arg1,arg2); @@ -23221,6 +23912,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___delitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -23245,7 +23937,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___delitem__(PyObject *self, PyObject SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___delitem__'.\n" " Possible C/C++ prototypes are:\n" " std::vector< btllib::SpacedSeed >::__delitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type)\n" - " std::vector< btllib::SpacedSeed >::__delitem__(PySliceObject *)\n"); + " std::vector< btllib::SpacedSeed >::__delitem__(SWIGPY_SLICEOBJECT *)\n"); return 0; } @@ -23260,6 +23952,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_1(PyObject *self, int ecode2 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23272,7 +23965,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem____SWIG_1(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *) &std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_1((std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > const *)arg1,arg2); + result = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *) &std_vector_Sl_btllib_SpacedSeed_Sg____getitem____SWIG_1((std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > const *)arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -23290,6 +23983,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___getitem__", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -23313,7 +24007,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___getitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___getitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::SpacedSeed >::__getitem__(PySliceObject *)\n" + " std::vector< btllib::SpacedSeed >::__getitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< btllib::SpacedSeed >::__getitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type) const\n"); return 0; } @@ -23330,6 +24024,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_2(PyObject *self, int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23353,7 +24048,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_2(PyObject *self, arg3 = ptr; } try { - std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_2(arg1,arg2,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); + std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_2(arg1,SWIG_STD_MOVE(arg2),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } @@ -23375,6 +24070,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_3(PyObject *self, ptrdiff_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23387,7 +24083,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem____SWIG_3(PyObject *self, } arg2 = static_cast< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type >(val2); try { - std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_3(arg1,arg2); + std_vector_Sl_btllib_SpacedSeed_Sg____setitem____SWIG_3(arg1,SWIG_STD_MOVE(arg2)); } catch(std::out_of_range &_e) { SWIG_exception_fail(SWIG_IndexError, (&_e)->what()); } catch(std::invalid_argument &_e) { @@ -23406,6 +24102,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem__(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed___setitem__", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -23451,8 +24148,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed___setitem__(PyObject *self, PyObject fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'VectorSpacedSeed___setitem__'.\n" " Possible C/C++ prototypes are:\n" - " std::vector< btllib::SpacedSeed >::__setitem__(PySliceObject *,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)\n" - " std::vector< btllib::SpacedSeed >::__setitem__(PySliceObject *)\n" + " std::vector< btllib::SpacedSeed >::__setitem__(SWIGPY_SLICEOBJECT *,std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)\n" + " std::vector< btllib::SpacedSeed >::__setitem__(SWIGPY_SLICEOBJECT *)\n" " std::vector< btllib::SpacedSeed >::__setitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type,std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type const &)\n" " std::vector< btllib::SpacedSeed >::__setitem__(std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::difference_type)\n"); return 0; @@ -23464,9 +24161,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_pop(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_pop", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23494,6 +24191,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_append(PyObject *self, PyObject *arg int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -23526,6 +24224,7 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_0(PyObject *self, Py_ssize_t nob PyObject *resultobj = 0; std::vector< btllib::SpacedSeed > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (std::vector< btllib::SpacedSeed > *)new std::vector< btllib::SpacedSeed >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, SWIG_BUILTIN_INIT | 0 ); @@ -23541,6 +24240,7 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_1(PyObject *self, Py_ssize_t nob int res1 = SWIG_OLDOBJ ; std::vector< btllib::SpacedSeed > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; @@ -23568,9 +24268,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_empty(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_empty", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23590,9 +24290,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_size(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23617,6 +24317,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_swap(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -23645,9 +24346,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_begin(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_begin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23668,9 +24369,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_end(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_end", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23691,9 +24392,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_rbegin(PyObject *self, PyObject *arg std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::reverse_iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_rbegin", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23714,9 +24415,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_rend(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::reverse_iterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_rend", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23737,8 +24438,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_clear(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_clear", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23758,9 +24459,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_get_allocator(PyObject *self, PyObje std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_get_allocator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23768,7 +24469,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_get_allocator(PyObject *self, PyObje } arg1 = reinterpret_cast< std::vector< btllib::SpacedSeed > * >(argp1); result = ((std::vector< btllib::SpacedSeed > const *)arg1)->get_allocator(); - resultobj = SWIG_NewPointerObj((new std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type& >(result))), SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type(result)), SWIGTYPE_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -23782,6 +24483,7 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_2(PyObject *self, Py_ssize_t nob int ecode1 = 0 ; std::vector< btllib::SpacedSeed > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -23801,8 +24503,8 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_pop_back(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_pop_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23826,6 +24528,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize__SWIG_0(PyObject *self, Py_ss size_t val2 ; int ecode2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23855,6 +24558,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_0(PyObject *self, Py_ssi int res2 ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23872,7 +24576,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_0(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed_erase" "', argument " "2"" of type '" "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator""'"); } } - result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_0(arg1,arg2); + result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_0(arg1,SWIG_STD_MOVE(arg2)); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -23894,6 +24598,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_1(PyObject *self, Py_ssi int res3 ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -23922,7 +24627,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(SWIG_TypeError), "in method '" "VectorSpacedSeed_erase" "', argument " "3"" of type '" "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator""'"); } } - result = std_vector_Sl_btllib_SpacedSeed_Sg__erase__SWIG_1(arg1,arg2,arg3); + result = std_vector_Sl_btllib_SpacedSeed_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< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); return resultobj; @@ -23937,6 +24642,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_erase(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_erase", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -23968,6 +24674,7 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed__SWIG_3(PyObject *self, Py_ssize_t nob int res2 = SWIG_OLDOBJ ; std::vector< btllib::SpacedSeed > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -24001,6 +24708,7 @@ SWIGINTERN int _wrap_new_VectorSpacedSeed(PyObject *self, PyObject *args, PyObje 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_VectorSpacedSeed")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_VectorSpacedSeed", 0, 2, argv))) SWIG_fail; --argc; @@ -24053,6 +24761,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_push_back(PyObject *self, PyObject * int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -24086,9 +24795,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_front(PyObject *self, PyObject *args std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_front", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24109,9 +24818,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_back(PyObject *self, PyObject *args) std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::value_type *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24139,6 +24848,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_assign(PyObject *self, PyObject *arg int res3 = SWIG_OLDOBJ ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_assign", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24182,6 +24892,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize__SWIG_1(PyObject *self, Py_ss int ecode2 = 0 ; int res3 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24220,6 +24931,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_resize(PyObject *self, PyObject *arg 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_resize", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -24254,6 +24966,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_0(PyObject *self, Py_ss int res3 = SWIG_OLDOBJ ; SwigValueWrapper< std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24282,7 +24995,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_0(PyObject *self, Py_ss } arg3 = ptr; } - result = std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_0(arg1,arg2,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); + result = std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_0(arg1,SWIG_STD_MOVE(arg2),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg3); resultobj = SWIG_NewPointerObj(swig::make_output_iterator(static_cast< const std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::iterator & >(result)), swig::SwigPyIterator::descriptor(),SWIG_POINTER_OWN); if (SWIG_IsNewObj(res3)) delete arg3; @@ -24307,6 +25020,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_1(PyObject *self, Py_ss int ecode3 = 0 ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24340,7 +25054,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert__SWIG_1(PyObject *self, Py_ss } arg4 = ptr; } - std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_1(arg1,arg2,arg3,(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); + std_vector_Sl_btllib_SpacedSeed_Sg__insert__SWIG_1(arg1,SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(std::vector< unsigned int,std::allocator< unsigned int > > const &)*arg4); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res4)) delete arg4; return resultobj; @@ -24356,6 +25070,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_insert(PyObject *self, PyObject *arg 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_insert", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -24388,6 +25103,7 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_reserve(PyObject *self, PyObject *ar int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); @@ -24413,9 +25129,9 @@ SWIGINTERN PyObject *_wrap_VectorSpacedSeed_capacity(PyObject *self, PyObject *a std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::size_type result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "VectorSpacedSeed_capacity", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24435,8 +25151,8 @@ SWIGINTERN PyObject *_wrap_delete_VectorSpacedSeed(PyObject *self, PyObject *arg std::vector< btllib::SpacedSeed > *arg1 = (std::vector< btllib::SpacedSeed > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_VectorSpacedSeed", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -24468,9 +25184,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_output_id(PyObject *self, PyObject *args) { btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_id", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24490,9 +25206,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_output_bx(PyObject *self, PyObject *args) { btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_bx", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24512,9 +25228,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_output_seq(PyObject *self, PyObject *args) { btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_seq", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24529,14 +25245,36 @@ SWIGINTERN PyObject *_wrap_Indexlr_output_seq(PyObject *self, PyObject *args) { } +SWIGINTERN PyObject *_wrap_Indexlr_output_qual(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "Indexlr_output_qual", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Indexlr_output_qual" "', argument " "1"" of type '" "btllib::Indexlr const *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); + result = (bool)((btllib::Indexlr const *)arg1)->output_qual(); + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_Indexlr_filter_in(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_in", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24556,9 +25294,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_filter_out(PyObject *self, PyObject *args) { btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_filter_out", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24578,9 +25316,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_short_mode(PyObject *self, PyObject *args) { btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_short_mode", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24600,9 +25338,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_long_mode(PyObject *self, PyObject *args) { btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_long_mode", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24622,9 +25360,9 @@ SWIGINTERN PyObject *_wrap_Indexlr_read(PyObject *self, PyObject *args) { btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::Indexlr::Record result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_read", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -24632,7 +25370,7 @@ SWIGINTERN PyObject *_wrap_Indexlr_read(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); result = (arg1)->read(); - resultobj = SWIG_NewPointerObj((new btllib::Indexlr::Record(static_cast< const btllib::Indexlr::Record& >(result))), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::Indexlr::Record(result)), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -24665,6 +25403,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj int res8 = 0 ; btllib::Indexlr *result = 0 ; + (void)self; if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -24747,6 +25486,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj int res7 = 0 ; btllib::Indexlr *result = 0 ; + (void)self; if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -24818,6 +25558,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObj int ecode6 = 0 ; btllib::Indexlr *result = 0 ; + (void)self; if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -24878,6 +25619,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObj int ecode5 = 0 ; btllib::Indexlr *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -24930,6 +25672,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObj int ecode4 = 0 ; btllib::Indexlr *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -24974,6 +25717,7 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObj int ecode3 = 0 ; btllib::Indexlr *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -25002,14 +25746,432 @@ SWIGINTERN int _wrap_new_Indexlr__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyObj } +SWIGINTERN int _wrap_new_Indexlr__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + bool arg7 ; + btllib::BloomFilter *arg8 = 0 ; + btllib::BloomFilter *arg9 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + bool val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + void *argp9 = 0 ; + int res9 = 0 ; + btllib::Indexlr *result = 0 ; + + (void)self; + if ((nobjs < 9) || (nobjs > 9)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); + } + arg7 = static_cast< bool >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); + res9 = SWIG_ConvertPtr(swig_obj[8], &argp9, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res9)) { + SWIG_exception_fail(SWIG_ArgError(res9), "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp9) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "9"" of type '" "btllib::BloomFilter const &""'"); + } + arg9 = reinterpret_cast< btllib::BloomFilter * >(argp9); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8,(btllib::BloomFilter const &)*arg9); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_7(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + bool arg7 ; + btllib::BloomFilter *arg8 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + bool val7 ; + int ecode7 = 0 ; + void *argp8 = 0 ; + int res8 = 0 ; + btllib::Indexlr *result = 0 ; + + (void)self; + if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); + } + arg7 = static_cast< bool >(val7); + res8 = SWIG_ConvertPtr(swig_obj[7], &argp8, SWIGTYPE_p_btllib__BloomFilter, 0 | 0); + if (!SWIG_IsOK(res8)) { + SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + if (!argp8) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_Indexlr" "', argument " "8"" of type '" "btllib::BloomFilter const &""'"); + } + arg8 = reinterpret_cast< btllib::BloomFilter * >(argp8); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,arg7,(btllib::BloomFilter const &)*arg8); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_8(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + bool arg7 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + bool val7 ; + int ecode7 = 0 ; + btllib::Indexlr *result = 0 ; + + (void)self; + if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); + if (!SWIG_IsOK(ecode7)) { + SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_Indexlr" "', argument " "7"" of type '" "bool""'"); + } + arg7 = static_cast< bool >(val7); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6,arg7); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_9(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + unsigned int arg6 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + btllib::Indexlr *result = 0 ; + + (void)self; + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[5], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Indexlr" "', argument " "6"" of type '" "unsigned int""'"); + } + arg6 = static_cast< unsigned int >(val6); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5,arg6); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_10(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + unsigned int arg5 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + btllib::Indexlr *result = 0 ; + + (void)self; + if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Indexlr" "', argument " "5"" of type '" "unsigned int""'"); + } + arg5 = static_cast< unsigned int >(val5); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4,arg5); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_Indexlr__SWIG_11(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + std::string arg1 ; + size_t arg2 ; + size_t arg3 ; + size_t arg4 ; + size_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + size_t val4 ; + int ecode4 = 0 ; + btllib::Indexlr *result = 0 ; + + (void)self; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Indexlr" "', argument " "1"" of type '" "std::string""'"); + } + arg1 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Indexlr" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Indexlr" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_size_t(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Indexlr" "', argument " "4"" of type '" "size_t""'"); + } + arg4 = static_cast< size_t >(val4); + result = (btllib::Indexlr *)new btllib::Indexlr(arg1,arg2,arg3,arg4); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + SWIGINTERN int _wrap_new_Indexlr(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[9] = { + PyObject *argv[10] = { 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Indexlr")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_Indexlr", 0, 8, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_Indexlr", 0, 9, argv))) SWIG_fail; --argc; if (argc == 3) { int retval = _wrap_new_Indexlr__SWIG_5(self, argc, argv); @@ -25017,30 +26179,135 @@ SWIGINTERN int _wrap_new_Indexlr(PyObject *self, PyObject *args, PyObject *kwarg SWIG_fail; } if (argc == 4) { - int retval = _wrap_new_Indexlr__SWIG_4(self, argc, argv); + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_2; + return _wrap_new_Indexlr__SWIG_4(self, argc, argv); + } +check_2: + + if (argc == 4) { + int retval = _wrap_new_Indexlr__SWIG_11(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 5) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_4; int retval = _wrap_new_Indexlr__SWIG_3(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } +check_4: + + if (argc == 5) { + int retval = _wrap_new_Indexlr__SWIG_10(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 6) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + { + { + int res = SWIG_AsVal_bool(argv[5], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_6; + return _wrap_new_Indexlr__SWIG_2(self, argc, argv); + } +check_6: + if (argc == 6) { - int retval = _wrap_new_Indexlr__SWIG_2(self, argc, argv); + int retval = _wrap_new_Indexlr__SWIG_9(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 7) { - int retval = _wrap_new_Indexlr__SWIG_1(self, argc, argv); + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_8; + { + { + int res = SWIG_AsVal_bool(argv[5], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_8; + { + int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_8; + return _wrap_new_Indexlr__SWIG_1(self, argc, argv); + } +check_8: + + if (argc == 7) { + int retval = _wrap_new_Indexlr__SWIG_8(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } if (argc == 8) { + int _v = 0; + { + { + int res = SWIG_AsVal_unsigned_SS_int(argv[3], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_10; + { + { + int res = SWIG_AsVal_bool(argv[5], NULL); + _v = SWIG_CheckState(res); + } + } + if (!_v) goto check_10; + { + int res = SWIG_ConvertPtr(argv[6], 0, SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_10; int retval = _wrap_new_Indexlr__SWIG_0(self, argc, argv); if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } +check_10: + + if (argc == 8) { + int retval = _wrap_new_Indexlr__SWIG_7(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 9) { + int retval = _wrap_new_Indexlr__SWIG_6(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Indexlr'.\n" @@ -25050,7 +26317,13 @@ SWIGINTERN int _wrap_new_Indexlr(PyObject *self, PyObject *args, PyObject *kwarg " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int,bool)\n" " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int,unsigned int)\n" " btllib::Indexlr::Indexlr(std::string,size_t,size_t,unsigned int)\n" - " btllib::Indexlr::Indexlr(std::string,size_t,size_t)\n"); + " btllib::Indexlr::Indexlr(std::string,size_t,size_t)\n" + " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &,btllib::BloomFilter const &)\n" + " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool,btllib::BloomFilter const &)\n" + " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int,bool)\n" + " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int,unsigned int)\n" + " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t,unsigned int)\n" + " btllib::Indexlr::Indexlr(std::string,size_t,size_t,size_t)\n"); return -1; } @@ -25060,8 +26333,8 @@ SWIGINTERN PyObject *_wrap_delete_Indexlr(PyObject *self, PyObject *args) { btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_Indexlr", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -25081,8 +26354,8 @@ SWIGINTERN PyObject *_wrap_Indexlr_close(PyObject *self, PyObject *args) { btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr_close", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25102,9 +26375,9 @@ SWIGINTERN PyObject *_wrap_Indexlr___iter__(PyObject *self, PyObject *args) { btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< btllib::Indexlr::RecordIterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr___iter__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25112,7 +26385,7 @@ SWIGINTERN PyObject *_wrap_Indexlr___iter__(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< btllib::Indexlr * >(argp1); result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj((new btllib::Indexlr::RecordIterator(static_cast< const btllib::Indexlr::RecordIterator& >(result))), SWIGTYPE_p_btllib__Indexlr__RecordIterator, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::Indexlr::RecordIterator(result)), SWIGTYPE_p_btllib__Indexlr__RecordIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -25124,9 +26397,9 @@ SWIGINTERN PyObject *_wrap_Indexlr___enter__(PyObject *self, PyObject *args) { btllib::Indexlr *arg1 = (btllib::Indexlr *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::Indexlr *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr___enter__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25151,6 +26424,7 @@ SWIGINTERN PyObject *_wrap_Indexlr___exit__(PyObject *self, PyObject *args) { int res1 = 0 ; PyObject *swig_obj[4] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Indexlr___exit__", 3, 3, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25176,6 +26450,7 @@ SWIGINTERN int _wrap_new_IndexlrFlag(PyObject *self, PyObject *args, PyObject *k PyObject *resultobj = 0; btllib::Indexlr::Flag *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrFlag")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_IndexlrFlag", 0, 0, 0)) SWIG_fail; result = (btllib::Indexlr::Flag *)new btllib::Indexlr::Flag(); @@ -25191,8 +26466,8 @@ SWIGINTERN PyObject *_wrap_delete_IndexlrFlag(PyObject *self, PyObject *args) { btllib::Indexlr::Flag *arg1 = (btllib::Indexlr::Flag *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrFlag", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Flag, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -25213,6 +26488,7 @@ SWIGINTERN int _wrap_new_Minimizer__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO PyObject *resultobj = 0; btllib::Indexlr::Minimizer *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::Indexlr::Minimizer *)new btllib::Indexlr::Minimizer(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_BUILTIN_INIT | 0 ); @@ -25239,6 +26515,7 @@ SWIGINTERN int _wrap_new_Minimizer__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int ecode4 = 0 ; btllib::Indexlr::Minimizer *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -25277,14 +26554,81 @@ SWIGINTERN int _wrap_new_Minimizer__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO } +SWIGINTERN int _wrap_new_Minimizer__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + uint64_t arg1 ; + uint64_t arg2 ; + size_t arg3 ; + bool arg4 ; + std::string arg5 ; + std::string arg6 ; + uint64_t val1 ; + int ecode1 = 0 ; + uint64_t val2 ; + int ecode2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + bool val4 ; + int ecode4 = 0 ; + btllib::Indexlr::Minimizer *result = 0 ; + + (void)self; + if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; + ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_Minimizer" "', argument " "1"" of type '" "uint64_t""'"); + } + arg1 = static_cast< uint64_t >(val1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Minimizer" "', argument " "2"" of type '" "uint64_t""'"); + } + arg2 = static_cast< uint64_t >(val2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_Minimizer" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); + if (!SWIG_IsOK(ecode4)) { + SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_Minimizer" "', argument " "4"" of type '" "bool""'"); + } + arg4 = static_cast< bool >(val4); + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[4], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "5"" of type '" "std::string""'"); + } + arg5 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + { + std::string *ptr = (std::string *)0; + int res = SWIG_AsPtr_std_string(swig_obj[5], &ptr); + if (!SWIG_IsOK(res) || !ptr) { + SWIG_exception_fail(SWIG_ArgError((ptr ? res : SWIG_TypeError)), "in method '" "new_Minimizer" "', argument " "6"" of type '" "std::string""'"); + } + arg6 = *ptr; + if (SWIG_IsNewObj(res)) delete ptr; + } + result = (btllib::Indexlr::Minimizer *)new btllib::Indexlr::Minimizer(arg1,arg2,arg3,arg4,arg5,arg6); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + SWIGINTERN int _wrap_new_Minimizer(PyObject *self, PyObject *args, PyObject *kwargs) { Py_ssize_t argc; - PyObject *argv[6] = { + PyObject *argv[7] = { 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Minimizer")) SWIG_fail; - if (!(argc = SWIG_Python_UnpackTuple(args, "new_Minimizer", 0, 5, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_Minimizer", 0, 6, argv))) SWIG_fail; --argc; if (argc == 0) { int retval = _wrap_new_Minimizer__SWIG_0(self, argc, argv); @@ -25296,12 +26640,18 @@ SWIGINTERN int _wrap_new_Minimizer(PyObject *self, PyObject *args, PyObject *kwa if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; SWIG_fail; } + if (argc == 6) { + int retval = _wrap_new_Minimizer__SWIG_2(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } fail: SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_Minimizer'.\n" " Possible C/C++ prototypes are:\n" " btllib::Indexlr::Minimizer::Minimizer()\n" - " btllib::Indexlr::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string)\n"); + " btllib::Indexlr::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string)\n" + " btllib::Indexlr::Minimizer::Minimizer(uint64_t,uint64_t,size_t,bool,std::string,std::string)\n"); return -1; } @@ -25316,6 +26666,7 @@ SWIGINTERN PyObject *_wrap_Minimizer_min_hash_set(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); @@ -25341,9 +26692,9 @@ SWIGINTERN PyObject *_wrap_Minimizer_min_hash_get(PyObject *self, PyObject *args btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Minimizer_min_hash_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25368,6 +26719,7 @@ SWIGINTERN PyObject *_wrap_Minimizer_out_hash_set(PyObject *self, PyObject *args int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); @@ -25393,9 +26745,9 @@ SWIGINTERN PyObject *_wrap_Minimizer_out_hash_get(PyObject *self, PyObject *args btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Minimizer_out_hash_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25420,6 +26772,7 @@ SWIGINTERN PyObject *_wrap_Minimizer_pos_set(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); @@ -25445,9 +26798,9 @@ SWIGINTERN PyObject *_wrap_Minimizer_pos_get(PyObject *self, PyObject *args) { btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Minimizer_pos_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25472,6 +26825,7 @@ SWIGINTERN PyObject *_wrap_Minimizer_forward_set(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); @@ -25497,9 +26851,9 @@ SWIGINTERN PyObject *_wrap_Minimizer_forward_get(PyObject *self, PyObject *args) btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Minimizer_forward_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25523,6 +26877,7 @@ SWIGINTERN PyObject *_wrap_Minimizer_seq_set(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); @@ -25556,9 +26911,9 @@ SWIGINTERN PyObject *_wrap_Minimizer_seq_get(PyObject *self, PyObject *args) { btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Minimizer_seq_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25573,13 +26928,73 @@ SWIGINTERN PyObject *_wrap_Minimizer_seq_get(PyObject *self, PyObject *args) { } +SWIGINTERN PyObject *_wrap_Minimizer_qual_set(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + PyObject *swig_obj[2] ; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_set" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[0], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Minimizer_qual_set" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + if (arg1) (arg1)->qual = *arg2; + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_Minimizer_qual_get(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + std::string *result = 0 ; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "Minimizer_qual_get", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Minimizer_qual_get" "', argument " "1"" of type '" "btllib::Indexlr::Minimizer *""'"); + } + arg1 = reinterpret_cast< btllib::Indexlr::Minimizer * >(argp1); + result = (std::string *) & ((arg1)->qual); + resultobj = SWIG_From_std_string(static_cast< std::string >(*result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_delete_Minimizer(PyObject *self, PyObject *args) { PyObject *resultobj = 0; btllib::Indexlr::Minimizer *arg1 = (btllib::Indexlr::Minimizer *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_Minimizer", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Minimizer, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -25600,6 +27015,7 @@ SWIGINTERN int _wrap_new_IndexlrRecord__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject *resultobj = 0; btllib::Indexlr::Record *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::Indexlr::Record *)new btllib::Indexlr::Record(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_BUILTIN_INIT | 0 ); @@ -25622,6 +27038,7 @@ SWIGINTERN int _wrap_new_IndexlrRecord__SWIG_1(PyObject *self, Py_ssize_t nobjs, int ecode4 = 0 ; btllib::Indexlr::Record *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -25674,6 +27091,7 @@ SWIGINTERN int _wrap_new_IndexlrRecord(PyObject *self, PyObject *args, PyObject 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_IndexlrRecord")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_IndexlrRecord", 0, 5, argv))) SWIG_fail; --argc; @@ -25707,6 +27125,7 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_num_set(PyObject *self, PyObject *args) int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); @@ -25732,9 +27151,9 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_num_get(PyObject *self, PyObject *args) btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_num_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25758,6 +27177,7 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_id_set(PyObject *self, PyObject *args) int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); @@ -25791,9 +27211,9 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_id_get(PyObject *self, PyObject *args) btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_id_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25817,6 +27237,7 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_set(PyObject *self, PyObject *a int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); @@ -25850,9 +27271,9 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_barcode_get(PyObject *self, PyObject *a btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_barcode_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25877,6 +27298,7 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_set(PyObject *self, PyObject *a int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); @@ -25902,9 +27324,9 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_readlen_get(PyObject *self, PyObject *a btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_readlen_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25929,6 +27351,7 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_set(PyObject *self, PyObject int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); @@ -25954,9 +27377,9 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord_minimizers_get(PyObject *self, PyObject btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord_minimizers_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -25982,9 +27405,9 @@ SWIGINTERN PyObject *_wrap_IndexlrRecord___nonzero__(PyObject *self, PyObject *a btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "IndexlrRecord___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26006,8 +27429,8 @@ SWIGINTERN PyObject *_wrap_delete_IndexlrRecord(PyObject *self, PyObject *args) btllib::Indexlr::Record *arg1 = (btllib::Indexlr::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecord", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -26031,9 +27454,9 @@ SWIGINTERN PyObject *_wrap_IndexlrRecordIterator___next__(PyObject *self, PyObje btllib::Indexlr::RecordIterator *arg1 = (btllib::Indexlr::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::Indexlr::Record result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "IndexlrRecordIterator___next__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__RecordIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26047,7 +27470,7 @@ SWIGINTERN PyObject *_wrap_IndexlrRecordIterator___next__(PyObject *self, PyObje SWIG_fail; } } - resultobj = SWIG_NewPointerObj((new btllib::Indexlr::Record(static_cast< const btllib::Indexlr::Record& >(result))), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::Indexlr::Record(result)), SWIGTYPE_p_btllib__Indexlr__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -26059,8 +27482,8 @@ SWIGINTERN PyObject *_wrap_delete_IndexlrRecordIterator(PyObject *self, PyObject btllib::Indexlr::RecordIterator *arg1 = (btllib::Indexlr::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_IndexlrRecordIterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Indexlr__RecordIterator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -26195,6 +27618,7 @@ SWIGINTERN int _wrap_new_BloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobjs, P PyObject *resultobj = 0; btllib::BloomFilter *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::BloomFilter *)new btllib::BloomFilter(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BloomFilter, SWIG_BUILTIN_INIT | 0 ); @@ -26215,6 +27639,7 @@ SWIGINTERN int _wrap_new_BloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobjs, P int ecode2 = 0 ; btllib::BloomFilter *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -26253,6 +27678,7 @@ SWIGINTERN int _wrap_new_BloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobjs, P int ecode2 = 0 ; btllib::BloomFilter *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -26278,6 +27704,7 @@ SWIGINTERN int _wrap_new_BloomFilter__SWIG_3(PyObject *self, Py_ssize_t nobjs, P int res1 = SWIG_OLDOBJ ; btllib::BloomFilter *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -26306,6 +27733,7 @@ SWIGINTERN int _wrap_new_BloomFilter(PyObject *self, PyObject *args, PyObject *k 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BloomFilter")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_BloomFilter", 0, 3, argv))) SWIG_fail; --argc; @@ -26350,6 +27778,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_0(PyObject *self, Py_ssize_t void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26377,6 +27806,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_insert__SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26410,6 +27840,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_insert(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -26449,6 +27880,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_0(PyObject *self, Py_ssize int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26477,6 +27909,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains__SWIG_1(PyObject *self, Py_ssize int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26510,6 +27943,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -26549,6 +27983,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_0(PyObject *self, P int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26577,6 +28012,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert__SWIG_1(PyObject *self, P int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26610,6 +28046,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_contains_insert(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -26644,9 +28081,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_bytes(PyObject *self, PyObject *args) btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26666,9 +28103,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_pop_cnt(PyObject *self, PyObject *arg btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26688,9 +28125,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_occupancy(PyObject *self, PyObject *a btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26710,9 +28147,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_num(PyObject *self, PyObject *ar btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26732,9 +28169,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_fpr(PyObject *self, PyObject *args) { btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26754,9 +28191,9 @@ SWIGINTERN PyObject *_wrap_BloomFilter_get_hash_fn(PyObject *self, PyObject *arg btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26779,6 +28216,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_save__SWIG_0(PyObject *self, Py_ssize_t n int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -26821,6 +28259,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_save__SWIG_1(PyObject *self, Py_ssize_t n size_t val4 ; int ecode4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -26851,7 +28290,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_save__SWIG_1(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "BloomFilter_save" "', argument " "4"" of type '" "size_t""'"); } arg4 = static_cast< size_t >(val4); - btllib::BloomFilter::save((std::string const &)*arg1,(cpptoml::table const &)*arg2,(char const *)arg3,arg4); + btllib::BloomFilter::save((std::string const &)*arg1,(cpptoml::table const &)*arg2,(char const *)arg3,SWIG_STD_MOVE(arg4)); resultobj = SWIG_Py_Void(); if (SWIG_IsNewObj(res1)) delete arg1; if (alloc3 == SWIG_NEWOBJ) delete[] buf3; @@ -26869,6 +28308,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_save(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "BloomFilter_save", 0, 4, argv))) SWIG_fail; --argc; if (argc == 2) { @@ -26898,6 +28338,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_is_bloom_file(PyObject *self, PyObject *a PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -26930,6 +28371,7 @@ SWIGINTERN PyObject *_wrap_BloomFilter_check_file_signature(PyObject *self, PyOb PyObject *swig_obj[2] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BloomFilter_check_file_signature", 2, 2, swig_obj)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -26970,8 +28412,8 @@ SWIGINTERN PyObject *_wrap_delete_BloomFilter(PyObject *self, PyObject *args) { btllib::BloomFilter *arg1 = (btllib::BloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_BloomFilter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -26992,6 +28434,7 @@ SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobj PyObject *resultobj = 0; btllib::KmerBloomFilter *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::KmerBloomFilter *)new btllib::KmerBloomFilter(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_BUILTIN_INIT | 0 ); @@ -27014,6 +28457,7 @@ SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode3 = 0 ; btllib::KmerBloomFilter *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -27044,6 +28488,7 @@ SWIGINTERN int _wrap_new_KmerBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobj int res1 = SWIG_OLDOBJ ; btllib::KmerBloomFilter *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -27072,6 +28517,7 @@ SWIGINTERN int _wrap_new_KmerBloomFilter(PyObject *self, PyObject *args, PyObjec 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerBloomFilter")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerBloomFilter", 0, 3, argv))) SWIG_fail; --argc; @@ -27114,6 +28560,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_0(PyObject *self, Py_ssi size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27148,6 +28595,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_1(PyObject *self, Py_ssi int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27184,6 +28632,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_2(PyObject *self, Py_ssi void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27211,6 +28660,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert__SWIG_3(PyObject *self, Py_ssi int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27244,6 +28694,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_insert(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -27305,6 +28756,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_0(PyObject *self, Py_s int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27340,6 +28792,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_1(PyObject *self, Py_s int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27377,6 +28830,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_2(PyObject *self, Py_s int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27405,6 +28859,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains__SWIG_3(PyObject *self, Py_s int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27438,6 +28893,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -27499,6 +28955,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_0(PyObject *sel int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27534,6 +28991,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_1(PyObject *sel int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27571,6 +29029,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_2(PyObject *sel int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27599,6 +29058,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert__SWIG_3(PyObject *sel int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27632,6 +29092,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_contains_insert(PyObject *self, PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -27684,9 +29145,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bytes(PyObject *self, PyObject *a btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27706,9 +29167,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_pop_cnt(PyObject *self, PyObject btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27728,9 +29189,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_occupancy(PyObject *self, PyObjec btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27750,9 +29211,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_num(PyObject *self, PyObject btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27772,9 +29233,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_fpr(PyObject *self, PyObject *arg btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27794,9 +29255,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_k(PyObject *self, PyObject *args) btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27816,9 +29277,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_hash_fn(PyObject *self, PyObject btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27838,9 +29299,9 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_get_bloom_filter(PyObject *self, PyOb btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::BloomFilter *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerBloomFilter_get_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -27864,6 +29325,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_save(PyObject *self, PyObject *args) int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, 0 | 0 ); @@ -27899,6 +29361,7 @@ SWIGINTERN PyObject *_wrap_KmerBloomFilter_is_bloom_file(PyObject *self, PyObjec PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -27927,8 +29390,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerBloomFilter(PyObject *self, PyObject *args btllib::KmerBloomFilter *arg1 = (btllib::KmerBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_KmerBloomFilter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerBloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -27949,6 +29412,7 @@ SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_0(PyObject *self, Py_ssize_t nobj PyObject *resultobj = 0; btllib::SeedBloomFilter *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::SeedBloomFilter *)new btllib::SeedBloomFilter(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_BUILTIN_INIT | 0 ); @@ -27973,6 +29437,7 @@ SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_1(PyObject *self, Py_ssize_t nobj int ecode4 = 0 ; btllib::SeedBloomFilter *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -28016,6 +29481,7 @@ SWIGINTERN int _wrap_new_SeedBloomFilter__SWIG_2(PyObject *self, Py_ssize_t nobj int res1 = SWIG_OLDOBJ ; btllib::SeedBloomFilter *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -28044,6 +29510,7 @@ SWIGINTERN int _wrap_new_SeedBloomFilter(PyObject *self, PyObject *args, PyObjec 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedBloomFilter")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedBloomFilter", 0, 4, argv))) SWIG_fail; --argc; @@ -28086,6 +29553,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_0(PyObject *self, Py_ssi size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28120,6 +29588,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_1(PyObject *self, Py_ssi int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28156,6 +29625,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_2(PyObject *self, Py_ssi void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28183,6 +29653,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert__SWIG_3(PyObject *self, Py_ssi int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28216,6 +29687,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_insert(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -28277,6 +29749,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_0(PyObject *self, Py_s int ecode3 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28312,6 +29785,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_1(PyObject *self, Py_s int res2 = SWIG_OLDOBJ ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28349,6 +29823,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_2(PyObject *self, Py_s int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28377,6 +29852,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains__SWIG_3(PyObject *self, Py_s int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28410,6 +29886,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains(PyObject *self, PyObject *ar 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -28471,6 +29948,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_0(PyObject *sel int ecode3 = 0 ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28506,6 +29984,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_1(PyObject *sel int res2 = SWIG_OLDOBJ ; std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28543,6 +30022,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_2(PyObject *sel int res2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28571,6 +30051,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert__SWIG_3(PyObject *sel int res2 = SWIG_OLDOBJ ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28604,6 +30085,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_contains_insert(PyObject *self, PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedBloomFilter_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -28656,9 +30138,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_bytes(PyObject *self, PyObject *a btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28678,9 +30160,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_pop_cnt(PyObject *self, PyObject btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_pop_cnt", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28700,9 +30182,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_occupancy(PyObject *self, PyObjec btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_occupancy", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28722,9 +30204,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_total_hash_num(PyObject *self, Py btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_total_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28744,9 +30226,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_fpr(PyObject *self, PyObject *arg btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; double result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_fpr", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28766,9 +30248,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_k(PyObject *self, PyObject *args) btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28788,9 +30270,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_seeds(PyObject *self, PyObject *a btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_seeds", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28810,9 +30292,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_parsed_seeds(PyObject *self, PyOb btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_parsed_seeds", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28832,9 +30314,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num_per_seed(PyObject *self, btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28854,9 +30336,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_num(PyObject *self, PyObject btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28876,9 +30358,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_hash_fn(PyObject *self, PyObject btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28898,9 +30380,9 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_get_kmer_bloom_filter(PyObject *self, btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::KmerBloomFilter *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedBloomFilter_get_kmer_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -28924,6 +30406,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_save(PyObject *self, PyObject *args) int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, 0 | 0 ); @@ -28959,6 +30442,7 @@ SWIGINTERN PyObject *_wrap_SeedBloomFilter_is_bloom_file(PyObject *self, PyObjec PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -28987,8 +30471,8 @@ SWIGINTERN PyObject *_wrap_delete_SeedBloomFilter(PyObject *self, PyObject *args btllib::SeedBloomFilter *arg1 = (btllib::SeedBloomFilter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeedBloomFilter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedBloomFilter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -29049,6 +30533,7 @@ SWIGINTERN int _wrap_new_SeqReader__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO int ecode3 = 0 ; btllib::SeqReader *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -29090,6 +30575,7 @@ SWIGINTERN int _wrap_new_SeqReader__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int ecode2 = 0 ; btllib::SeqReader *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -29123,6 +30609,7 @@ SWIGINTERN int _wrap_new_SeqReader(PyObject *self, PyObject *args, PyObject *kwa 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReader")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqReader", 0, 3, argv))) SWIG_fail; --argc; @@ -29151,8 +30638,8 @@ SWIGINTERN PyObject *_wrap_delete_SeqReader(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeqReader", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -29172,8 +30659,8 @@ SWIGINTERN PyObject *_wrap_SeqReader_close(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_close", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29193,9 +30680,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_fold_case(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_fold_case", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29215,9 +30702,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_trim_masked(PyObject *self, PyObject *args) btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_trim_masked", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29237,9 +30724,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_short_mode(PyObject *self, PyObject *args) btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_short_mode", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29259,9 +30746,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_long_mode(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_long_mode", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29281,9 +30768,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_get_format(PyObject *self, PyObject *args) btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::SeqReader::Format result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_format", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29303,9 +30790,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_read(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::SeqReader::Record result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_read", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29313,7 +30800,7 @@ SWIGINTERN PyObject *_wrap_SeqReader_read(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); result = (arg1)->read(); - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(result)), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -29325,9 +30812,9 @@ SWIGINTERN PyObject *_wrap_SeqReader___iter__(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; SwigValueWrapper< btllib::SeqReader::RecordIterator > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader___iter__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29335,7 +30822,7 @@ SWIGINTERN PyObject *_wrap_SeqReader___iter__(PyObject *self, PyObject *args) { } arg1 = reinterpret_cast< btllib::SeqReader * >(argp1); result = (arg1)->begin(); - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::RecordIterator(static_cast< const btllib::SeqReader::RecordIterator& >(result))), SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::RecordIterator(result)), SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -29347,9 +30834,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_get_buffer_size(PyObject *self, PyObject *a btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_buffer_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29369,9 +30856,9 @@ SWIGINTERN PyObject *_wrap_SeqReader_get_block_size(PyObject *self, PyObject *ar btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader_get_block_size", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29391,9 +30878,9 @@ SWIGINTERN PyObject *_wrap_SeqReader___enter__(PyObject *self, PyObject *args) { btllib::SeqReader *arg1 = (btllib::SeqReader *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::SeqReader *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader___enter__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29418,6 +30905,7 @@ SWIGINTERN PyObject *_wrap_SeqReader___exit__(PyObject *self, PyObject *args) { int res1 = 0 ; PyObject *swig_obj[4] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReader___exit__", 3, 3, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29443,6 +30931,7 @@ SWIGINTERN int _wrap_new_SeqReaderFlag(PyObject *self, PyObject *args, PyObject PyObject *resultobj = 0; btllib::SeqReader::Flag *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderFlag")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderFlag", 0, 0, 0)) SWIG_fail; result = (btllib::SeqReader::Flag *)new btllib::SeqReader::Flag(); @@ -29458,8 +30947,8 @@ SWIGINTERN PyObject *_wrap_delete_SeqReaderFlag(PyObject *self, PyObject *args) btllib::SeqReader::Flag *arg1 = (btllib::SeqReader::Flag *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderFlag", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Flag, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -29486,6 +30975,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_set(PyObject *self, PyObject *arg int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); @@ -29511,9 +31001,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_num_get(PyObject *self, PyObject *arg btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_num_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29537,6 +31027,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_set(PyObject *self, PyObject *args int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); @@ -29570,9 +31061,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_id_get(PyObject *self, PyObject *args btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_id_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29596,6 +31087,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_set(PyObject *self, PyObject int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); @@ -29629,9 +31121,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_comment_get(PyObject *self, PyObject btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_comment_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29655,6 +31147,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_set(PyObject *self, PyObject *arg int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); @@ -29688,9 +31181,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_seq_get(PyObject *self, PyObject *arg btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_seq_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29714,6 +31207,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_set(PyObject *self, PyObject *ar int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); @@ -29747,9 +31241,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord_qual_get(PyObject *self, PyObject *ar btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord_qual_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29769,9 +31263,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecord___nonzero__(PyObject *self, PyObject btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecord___nonzero__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29792,6 +31286,7 @@ SWIGINTERN int _wrap_new_SeqReaderRecord(PyObject *self, PyObject *args, PyObjec PyObject *resultobj = 0; btllib::SeqReader::Record *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqReaderRecord")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_SeqReaderRecord", 0, 0, 0)) SWIG_fail; result = (btllib::SeqReader::Record *)new btllib::SeqReader::Record(); @@ -29807,8 +31302,8 @@ SWIGINTERN PyObject *_wrap_delete_SeqReaderRecord(PyObject *self, PyObject *args btllib::SeqReader::Record *arg1 = (btllib::SeqReader::Record *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecord", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -29832,9 +31327,9 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecordIterator___next__(PyObject *self, PyOb btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::SeqReader::Record result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqReaderRecordIterator___next__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -29848,7 +31343,7 @@ SWIGINTERN PyObject *_wrap_SeqReaderRecordIterator___next__(PyObject *self, PyOb SWIG_fail; } } - resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(static_cast< const btllib::SeqReader::Record& >(result))), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); + resultobj = SWIG_NewPointerObj((new btllib::SeqReader::Record(result)), SWIGTYPE_p_btllib__SeqReader__Record, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; @@ -29860,8 +31355,8 @@ SWIGINTERN PyObject *_wrap_delete_SeqReaderRecordIterator(PyObject *self, PyObje btllib::SeqReader::RecordIterator *arg1 = (btllib::SeqReader::RecordIterator *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeqReaderRecordIterator", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqReader__RecordIterator, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -29889,6 +31384,7 @@ SWIGINTERN PyObject *_wrap_split(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::vector< std::string,std::allocator< std::string > > result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "split", 2, 2, swig_obj)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -29933,6 +31429,7 @@ SWIGINTERN PyObject *_wrap_join(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; std::string result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "join", 2, 2, swig_obj)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -29974,6 +31471,7 @@ SWIGINTERN PyObject *_wrap_ltrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { @@ -29997,6 +31495,7 @@ SWIGINTERN PyObject *_wrap_ltrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); if (!SWIG_IsOK(res1)) { @@ -30020,6 +31519,7 @@ SWIGINTERN PyObject *_wrap_ltrim(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ltrim", 0, 1, argv))) SWIG_fail; --argc; if (argc == 1) { @@ -30055,6 +31555,7 @@ SWIGINTERN PyObject *_wrap_rtrim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { @@ -30078,6 +31579,7 @@ SWIGINTERN PyObject *_wrap_rtrim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); if (!SWIG_IsOK(res1)) { @@ -30101,6 +31603,7 @@ SWIGINTERN PyObject *_wrap_rtrim(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "rtrim", 0, 1, argv))) SWIG_fail; --argc; if (argc == 1) { @@ -30136,6 +31639,7 @@ SWIGINTERN PyObject *_wrap_trim__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); if (!SWIG_IsOK(res1)) { @@ -30159,6 +31663,7 @@ SWIGINTERN PyObject *_wrap_trim__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje void *argp1 = 0 ; int res1 = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_btllib__CString, 0 ); if (!SWIG_IsOK(res1)) { @@ -30182,6 +31687,7 @@ SWIGINTERN PyObject *_wrap_trim(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "trim", 0, 1, argv))) SWIG_fail; --argc; if (argc == 1) { @@ -30218,6 +31724,7 @@ SWIGINTERN PyObject *_wrap_startswith(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "startswith", 2, 2, swig_obj)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -30237,7 +31744,7 @@ SWIGINTERN PyObject *_wrap_startswith(PyObject *self, PyObject *args) { arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - result = (bool)btllib::startswith(arg1,arg2); + result = (bool)btllib::startswith(SWIG_STD_MOVE(arg1),SWIG_STD_MOVE(arg2)); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -30252,6 +31759,7 @@ SWIGINTERN PyObject *_wrap_endswith(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "endswith", 2, 2, swig_obj)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -30271,7 +31779,7 @@ SWIGINTERN PyObject *_wrap_endswith(PyObject *self, PyObject *args) { arg2 = *ptr; if (SWIG_IsNewObj(res)) delete ptr; } - result = (bool)btllib::endswith(arg1,arg2); + result = (bool)btllib::endswith(SWIG_STD_MOVE(arg1),SWIG_STD_MOVE(arg2)); resultobj = SWIG_From_bool(static_cast< bool >(result)); return resultobj; fail: @@ -30286,6 +31794,7 @@ SWIGINTERN PyObject *_wrap_get_basename(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::string result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -30316,6 +31825,7 @@ SWIGINTERN PyObject *_wrap_get_dirname(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; std::string result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -30347,6 +31857,7 @@ SWIGINTERN int _wrap_new_Barrier(PyObject *self, PyObject *args, PyObject *kwarg PyObject *swig_obj[1] ; btllib::Barrier *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Barrier")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_Barrier", 1, 1, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_int(swig_obj[0], &val1); @@ -30367,8 +31878,8 @@ SWIGINTERN PyObject *_wrap_Barrier_wait(PyObject *self, PyObject *args) { btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Barrier_wait", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30388,8 +31899,8 @@ SWIGINTERN PyObject *_wrap_delete_Barrier(PyObject *self, PyObject *args) { btllib::Barrier *arg1 = (btllib::Barrier *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_Barrier", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Barrier, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -30418,6 +31929,7 @@ SWIGINTERN int _wrap_new_SeqWriter__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO int ecode3 = 0 ; btllib::SeqWriter *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -30459,6 +31971,7 @@ SWIGINTERN int _wrap_new_SeqWriter__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO int ecode2 = 0 ; btllib::SeqWriter *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -30492,6 +32005,7 @@ SWIGINTERN int _wrap_new_SeqWriter__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyO int res1 = SWIG_OLDOBJ ; btllib::SeqWriter *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -30520,6 +32034,7 @@ SWIGINTERN int _wrap_new_SeqWriter(PyObject *self, PyObject *args, PyObject *kwa 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeqWriter")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeqWriter", 0, 3, argv))) SWIG_fail; --argc; @@ -30554,8 +32069,8 @@ SWIGINTERN PyObject *_wrap_SeqWriter_close(PyObject *self, PyObject *args) { btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqWriter_close", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30584,6 +32099,7 @@ SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_0(PyObject *self, Py_ssize_t no int res4 = SWIG_OLDOBJ ; int res5 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30662,6 +32178,7 @@ SWIGINTERN PyObject *_wrap_SeqWriter_write__SWIG_1(PyObject *self, Py_ssize_t no int res3 = SWIG_OLDOBJ ; int res4 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30721,6 +32238,7 @@ SWIGINTERN PyObject *_wrap_SeqWriter_write(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeqWriter_write", 0, 5, argv+1))) SWIG_fail; argv[0] = self; if (argc == 4) { @@ -30748,9 +32266,9 @@ SWIGINTERN PyObject *_wrap_SeqWriter___enter__(PyObject *self, PyObject *args) { btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::SeqWriter *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqWriter___enter__", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30775,6 +32293,7 @@ SWIGINTERN PyObject *_wrap_SeqWriter___exit__(PyObject *self, PyObject *args) { int res1 = 0 ; PyObject *swig_obj[4] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeqWriter___exit__", 3, 3, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -30797,8 +32316,8 @@ SWIGINTERN PyObject *_wrap_delete_SeqWriter(PyObject *self, PyObject *args) { btllib::SeqWriter *arg1 = (btllib::SeqWriter *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeqWriter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeqWriter, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -30866,6 +32385,7 @@ SWIGINTERN PyObject *_wrap_reverse_complement(PyObject *self, PyObject *args) { int res1 = 0 ; PyObject *swig_obj[1] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__string, 0 ); @@ -30891,6 +32411,7 @@ SWIGINTERN PyObject *_wrap_get_reverse_complement(PyObject *self, PyObject *args PyObject *swig_obj[1] ; std::string result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -31353,6 +32874,7 @@ SWIGINTERN PyObject *_wrap_srol__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje int ecode1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -31377,6 +32899,7 @@ SWIGINTERN PyObject *_wrap_srol__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -31402,6 +32925,7 @@ SWIGINTERN PyObject *_wrap_srol(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "srol", 0, 2, argv))) SWIG_fail; --argc; if (argc == 1) { @@ -31432,6 +32956,7 @@ SWIGINTERN PyObject *_wrap_sror(PyObject *self, PyObject *args) { PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); @@ -31458,6 +32983,7 @@ SWIGINTERN PyObject *_wrap_ntf64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -31490,6 +33016,7 @@ SWIGINTERN PyObject *_wrap_ntr64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -31527,6 +33054,7 @@ SWIGINTERN PyObject *_wrap_ntf64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj int ecode4 = 0 ; uint64_t result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -31562,6 +33090,7 @@ SWIGINTERN PyObject *_wrap_ntf64(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntf64", 0, 4, argv))) SWIG_fail; --argc; if (argc == 2) { @@ -31600,6 +33129,7 @@ SWIGINTERN PyObject *_wrap_ntr64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj int ecode4 = 0 ; uint64_t result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -31635,6 +33165,7 @@ SWIGINTERN PyObject *_wrap_ntr64(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntr64", 0, 4, argv))) SWIG_fail; --argc; if (argc == 2) { @@ -31668,6 +33199,7 @@ SWIGINTERN PyObject *_wrap_ntc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObj int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -31706,6 +33238,7 @@ SWIGINTERN PyObject *_wrap_ntc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObj int res4 = 0 ; uint64_t result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -31762,6 +33295,7 @@ SWIGINTERN PyObject *_wrap_ntc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObj int res5 = 0 ; uint64_t result; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -31819,6 +33353,7 @@ SWIGINTERN PyObject *_wrap_ntf64l(PyObject *self, PyObject *args) { PyObject *swig_obj[4] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ntf64l", 4, 4, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -31865,6 +33400,7 @@ SWIGINTERN PyObject *_wrap_ntr64l(PyObject *self, PyObject *args) { PyObject *swig_obj[4] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ntr64l", 4, 4, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -31914,6 +33450,7 @@ SWIGINTERN PyObject *_wrap_ntc64l(PyObject *self, PyObject *args) { PyObject *swig_obj[5] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ntc64l", 5, 5, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -31970,6 +33507,7 @@ SWIGINTERN PyObject *_wrap_nte64(PyObject *self, PyObject *args) { int res4 = 0 ; PyObject *swig_obj[4] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "nte64", 4, 4, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -32015,6 +33553,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyOb void *argp4 = 0 ; int res4 = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -32068,6 +33607,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyOb void *argp6 = 0 ; int res6 = 0 ; + (void)self; if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -32139,6 +33679,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyOb void *argp7 = 0 ; int res7 = 0 ; + (void)self; if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -32214,6 +33755,7 @@ SWIGINTERN PyObject *_wrap_ntmc64l(PyObject *self, PyObject *args) { int res7 = 0 ; PyObject *swig_obj[7] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "ntmc64l", 7, 7, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -32281,6 +33823,7 @@ SWIGINTERN PyObject *_wrap_ntc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObj int res4 = 0 ; bool result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -32338,6 +33881,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyOb int res5 = 0 ; bool result; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -32400,6 +33944,7 @@ SWIGINTERN PyObject *_wrap_ntc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyObj int res6 = 0 ; bool result; + (void)self; if ((nobjs < 6) || (nobjs > 6)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -32459,6 +34004,7 @@ SWIGINTERN PyObject *_wrap_ntc64(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntc64", 0, 6, argv))) SWIG_fail; --argc; if (argc == 2) { @@ -32532,6 +34078,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_4(PyObject *self, Py_ssize_t nobjs, PyOb int res7 = 0 ; bool result; + (void)self; if ((nobjs < 7) || (nobjs > 7)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -32616,6 +34163,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_5(PyObject *self, Py_ssize_t nobjs, PyOb int res8 = 0 ; bool result; + (void)self; if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -32706,6 +34254,7 @@ SWIGINTERN PyObject *_wrap_ntmc64__SWIG_6(PyObject *self, Py_ssize_t nobjs, PyOb void *argp8 = 0 ; int res8 = 0 ; + (void)self; if ((nobjs < 8) || (nobjs > 8)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_char(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -32770,6 +34319,7 @@ SWIGINTERN PyObject *_wrap_ntmc64(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntmc64", 0, 8, argv))) SWIG_fail; --argc; if (argc == 4) { @@ -32904,6 +34454,7 @@ SWIGINTERN PyObject *_wrap_mask_hash(PyObject *self, PyObject *args) { PyObject *swig_obj[5] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "mask_hash", 5, 5, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_unsigned_long_long, 0 ); if (!SWIG_IsOK(res1)) { @@ -32976,6 +34527,7 @@ SWIGINTERN PyObject *_wrap_sub_hash(PyObject *self, PyObject *args) { int res8 = 0 ; PyObject *swig_obj[8] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "sub_hash", 8, 8, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -33078,6 +34630,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyO int res12 = 0 ; bool result; + (void)self; if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33199,6 +34752,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyO void *argp11 = 0 ; int res11 = 0 ; + (void)self; if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33312,6 +34866,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_0(PyObject *self, Py_ssize_t nobjs, Py void *argp11 = 0 ; int res11 = 0 ; + (void)self; if ((nobjs < 11) || (nobjs > 11)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33428,6 +34983,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyO void *argp12 = 0 ; int res12 = 0 ; + (void)self; if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33516,6 +35072,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64", 0, 12, argv))) SWIG_fail; --argc; if (argc == 11) { @@ -33615,6 +35172,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64l__SWIG_1(PyObject *self, Py_ssize_t nobjs, Py void *argp12 = 0 ; int res12 = 0 ; + (void)self; if ((nobjs < 12) || (nobjs > 12)) SWIG_fail; res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); if (!SWIG_IsOK(res1)) { @@ -33703,6 +35261,7 @@ SWIGINTERN PyObject *_wrap_ntmsm64l(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "ntmsm64l", 0, 12, argv))) SWIG_fail; --argc; if (argc == 11) { @@ -33735,6 +35294,7 @@ SWIGINTERN PyObject *_wrap_Datatype_prefixes_set(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -33760,9 +35320,9 @@ SWIGINTERN PyObject *_wrap_Datatype_prefixes_get(PyObject *self, PyObject *args) btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_prefixes_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -33787,6 +35347,7 @@ SWIGINTERN PyObject *_wrap_Datatype_suffixes_set(PyObject *self, PyObject *args) int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -33812,9 +35373,9 @@ SWIGINTERN PyObject *_wrap_Datatype_suffixes_get(PyObject *self, PyObject *args) btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_suffixes_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -33839,6 +35400,7 @@ SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_set(PyObject *self, PyO int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -33864,9 +35426,9 @@ SWIGINTERN PyObject *_wrap_Datatype_cmds_check_existence_get(PyObject *self, PyO btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_cmds_check_existence_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -33891,6 +35453,7 @@ SWIGINTERN PyObject *_wrap_Datatype_read_cmds_set(PyObject *self, PyObject *args int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -33916,9 +35479,9 @@ SWIGINTERN PyObject *_wrap_Datatype_read_cmds_get(PyObject *self, PyObject *args btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_read_cmds_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -33943,6 +35506,7 @@ SWIGINTERN PyObject *_wrap_Datatype_write_cmds_set(PyObject *self, PyObject *arg int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -33968,9 +35532,9 @@ SWIGINTERN PyObject *_wrap_Datatype_write_cmds_get(PyObject *self, PyObject *arg btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_write_cmds_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -33995,6 +35559,7 @@ SWIGINTERN PyObject *_wrap_Datatype_append_cmds_set(PyObject *self, PyObject *ar int res2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); @@ -34020,9 +35585,9 @@ SWIGINTERN PyObject *_wrap_Datatype_append_cmds_get(PyObject *self, PyObject *ar btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::vector< std::string,std::allocator< std::string > > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "Datatype_append_cmds_get", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -34041,6 +35606,7 @@ SWIGINTERN int _wrap_new_Datatype(PyObject *self, PyObject *args, PyObject *kwar PyObject *resultobj = 0; btllib::Datatype *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_Datatype")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_Datatype", 0, 0, 0)) SWIG_fail; result = (btllib::Datatype *)new btllib::Datatype(); @@ -34056,8 +35622,8 @@ SWIGINTERN PyObject *_wrap_delete_Datatype(PyObject *self, PyObject *args) { btllib::Datatype *arg1 = (btllib::Datatype *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_Datatype", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__Datatype, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -34097,6 +35663,7 @@ SWIGINTERN int _wrap_new_DataSource(PyObject *self, PyObject *args, PyObject *kw PyObject *swig_obj[1] ; btllib::DataSource *result = 0 ; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSource")) SWIG_fail; if (!SWIG_Python_UnpackTuple(args, "new_DataSource", 1, 1, swig_obj)) SWIG_fail; { @@ -34125,8 +35692,8 @@ SWIGINTERN PyObject *_wrap_delete_DataSource(PyObject *self, PyObject *args) { btllib::DataSource *arg1 = (btllib::DataSource *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_DataSource", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSource, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -34152,6 +35719,7 @@ SWIGINTERN int _wrap_new_DataSink__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyOb int ecode2 = 0 ; btllib::DataSink *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -34185,6 +35753,7 @@ SWIGINTERN int _wrap_new_DataSink__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyOb int res1 = SWIG_OLDOBJ ; btllib::DataSink *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -34213,6 +35782,7 @@ SWIGINTERN int _wrap_new_DataSink(PyObject *self, PyObject *args, PyObject *kwar 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_DataSink")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_DataSink", 0, 2, argv))) SWIG_fail; --argc; @@ -34241,8 +35811,8 @@ SWIGINTERN PyObject *_wrap_delete_DataSink(PyObject *self, PyObject *args) { btllib::DataSink *arg1 = (btllib::DataSink *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_DataSink", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__DataSink, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -34327,6 +35897,7 @@ SWIGINTERN PyObject *_wrap_get_time(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "get_time", 0, 0, 0)) SWIG_fail; result = btllib::get_time(); resultobj = SWIG_From_std_string(static_cast< std::string >(result)); @@ -34342,6 +35913,7 @@ SWIGINTERN PyObject *_wrap_log_info(PyObject *self, PyObject *args) { int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -34371,6 +35943,7 @@ SWIGINTERN PyObject *_wrap_log_warning(PyObject *self, PyObject *args) { int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -34400,6 +35973,7 @@ SWIGINTERN PyObject *_wrap_log_error(PyObject *self, PyObject *args) { int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -34432,6 +36006,7 @@ SWIGINTERN PyObject *_wrap_check_info(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "check_info", 2, 2, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -34468,6 +36043,7 @@ SWIGINTERN PyObject *_wrap_check_warning(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "check_warning", 2, 2, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -34504,6 +36080,7 @@ SWIGINTERN PyObject *_wrap_check_error(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "check_error", 2, 2, swig_obj)) SWIG_fail; ecode1 = SWIG_AsVal_bool(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -34535,6 +36112,7 @@ SWIGINTERN PyObject *_wrap_get_strerror(PyObject *self, PyObject *args) { PyObject *resultobj = 0; std::string result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "get_strerror", 0, 0, 0)) SWIG_fail; result = btllib::get_strerror(); resultobj = SWIG_From_std_string(static_cast< std::string >(result)); @@ -34553,6 +36131,7 @@ SWIGINTERN PyObject *_wrap_check_stream(PyObject *self, PyObject *args) { int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "check_stream", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0 | 0); if (!SWIG_IsOK(res1)) { @@ -34589,6 +36168,7 @@ SWIGINTERN PyObject *_wrap_check_file_accessibility(PyObject *self, PyObject *ar int res1 = SWIG_OLDOBJ ; PyObject *swig_obj[1] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -34666,6 +36246,7 @@ SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_0(PyObject *self, Py_ssize_t nobjs, int res1 = SWIG_OLDOBJ ; std::vector< btllib::SpacedSeed,std::allocator< btllib::SpacedSeed > > result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -34699,6 +36280,7 @@ SWIGINTERN PyObject *_wrap_parse_seeds__SWIG_1(PyObject *self, Py_ssize_t nobjs, void *argp3 = 0 ; int res3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -34743,6 +36325,7 @@ SWIGINTERN PyObject *_wrap_parse_seeds(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "parse_seeds", 0, 3, argv))) SWIG_fail; --argc; if (argc == 1) { @@ -34780,6 +36363,7 @@ SWIGINTERN PyObject *_wrap_parsed_seeds_to_blocks(PyObject *self, PyObject *args int res4 = 0 ; PyObject *swig_obj[4] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "parsed_seeds_to_blocks", 4, 4, swig_obj)) SWIG_fail; { std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *ptr = (std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *)0; @@ -34832,6 +36416,7 @@ SWIGINTERN PyObject *_wrap_check_seeds(PyObject *self, PyObject *args) { int ecode2 = 0 ; PyObject *swig_obj[2] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "check_seeds", 2, 2, swig_obj)) SWIG_fail; { std::vector< std::string,std::allocator< std::string > > *ptr = (std::vector< std::string,std::allocator< std::string > > *)0; @@ -34864,9 +36449,9 @@ SWIGINTERN PyObject *_wrap_NtHash_roll(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_roll", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -34886,9 +36471,9 @@ SWIGINTERN PyObject *_wrap_NtHash_roll_back(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_roll_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -34910,6 +36495,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_0(PyObject *self, Py_ssize_t nobjs, int res1 = 0 ; bool result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -34931,6 +36517,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_0(PyObject *self, Py_ssize_t n int res1 = 0 ; bool result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -34955,6 +36542,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek__SWIG_1(PyObject *self, Py_ssize_t nobjs, int ecode2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -34980,6 +36568,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -35012,6 +36601,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek_back__SWIG_1(PyObject *self, Py_ssize_t n int ecode2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35037,6 +36627,7 @@ SWIGINTERN PyObject *_wrap_NtHash_peek_back(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_peek_back", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -35071,6 +36662,7 @@ SWIGINTERN PyObject *_wrap_NtHash_sub(PyObject *self, PyObject *args) { int res3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_sub", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35111,9 +36703,9 @@ SWIGINTERN PyObject *_wrap_NtHash_hashes(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_hashes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35138,9 +36730,9 @@ SWIGINTERN PyObject *_wrap_NtHash_get_pos(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_get_pos", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35160,9 +36752,9 @@ SWIGINTERN PyObject *_wrap_NtHash_forward(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_forward", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35182,9 +36774,9 @@ SWIGINTERN PyObject *_wrap_NtHash_get_hash_num(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35204,9 +36796,9 @@ SWIGINTERN PyObject *_wrap_NtHash_get_k(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35226,9 +36818,9 @@ SWIGINTERN PyObject *_wrap_NtHash_get_forward_hash(PyObject *self, PyObject *arg btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35248,9 +36840,9 @@ SWIGINTERN PyObject *_wrap_NtHash_get_reverse_hash(PyObject *self, PyObject *arg btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "NtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35276,6 +36868,7 @@ SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_0(PyObject *self, Py_ssize_t size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35316,6 +36909,7 @@ SWIGINTERN PyObject *_wrap_NtHash_change_seq__SWIG_1(PyObject *self, Py_ssize_t int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35349,6 +36943,7 @@ SWIGINTERN PyObject *_wrap_NtHash_change_seq(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "NtHash_change_seq", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -35385,6 +36980,7 @@ SWIGINTERN int _wrap_new_NtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje int ecode4 = 0 ; btllib::NtHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -35410,7 +37006,7 @@ SWIGINTERN int _wrap_new_NtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObje SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_NtHash" "', argument " "4"" of type '" "size_t""'"); } arg4 = static_cast< size_t >(val4); - result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(arg1,arg2,arg3,arg4); + result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3,SWIG_STD_MOVE(arg4)); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: @@ -35429,6 +37025,7 @@ SWIGINTERN int _wrap_new_NtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje int ecode3 = 0 ; btllib::NtHash *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -35449,7 +37046,7 @@ SWIGINTERN int _wrap_new_NtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObje SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_NtHash" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); - result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(arg1,arg2,arg3); + result = (btllib::NtHash *)new_btllib_NtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__NtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: @@ -35463,6 +37060,7 @@ SWIGINTERN int _wrap_new_NtHash(PyObject *self, PyObject *args, PyObject *kwargs 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_NtHash")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_NtHash", 0, 4, argv))) SWIG_fail; --argc; @@ -35491,8 +37089,8 @@ SWIGINTERN PyObject *_wrap_delete_NtHash(PyObject *self, PyObject *args) { btllib::NtHash *arg1 = (btllib::NtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_NtHash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__NtHash, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -35520,6 +37118,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_roll(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); @@ -35551,6 +37150,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_roll_back(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); @@ -35582,6 +37182,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_peek(PyObject *self, PyObject *args) { PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); @@ -35613,6 +37214,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_peek_back(PyObject *self, PyObject *args) PyObject *swig_obj[2] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); @@ -35645,6 +37247,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_sub(PyObject *self, PyObject *args) { int res3 = 0 ; PyObject *swig_obj[3] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_sub", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35685,9 +37288,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_hashes(PyObject *self, PyObject *args) { btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_hashes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35712,9 +37315,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_pos(PyObject *self, PyObject *args) { btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_pos", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35734,9 +37337,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_forward(PyObject *self, PyObject *args) { btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_forward", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35756,9 +37359,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_hash_num(PyObject *self, PyObject *ar btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35778,9 +37381,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_k(PyObject *self, PyObject *args) { btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35800,9 +37403,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_forward_hash(PyObject *self, PyObject btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35822,9 +37425,9 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_get_reverse_hash(PyObject *self, PyObject btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "BlindNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35850,6 +37453,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_0(PyObject *self, Py_ssi size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35890,6 +37494,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq__SWIG_1(PyObject *self, Py_ssi int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -35923,6 +37528,7 @@ SWIGINTERN PyObject *_wrap_BlindNtHash_change_seq(PyObject *self, PyObject *args 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "BlindNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -35959,6 +37565,7 @@ SWIGINTERN int _wrap_new_BlindNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, P int ecode4 = 0 ; btllib::BlindNtHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -35984,7 +37591,7 @@ SWIGINTERN int _wrap_new_BlindNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, P SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_BlindNtHash" "', argument " "4"" of type '" "size_t""'"); } arg4 = static_cast< size_t >(val4); - result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(arg1,arg2,arg3,arg4); + result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3,SWIG_STD_MOVE(arg4)); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: @@ -36003,6 +37610,7 @@ SWIGINTERN int _wrap_new_BlindNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, P int ecode3 = 0 ; btllib::BlindNtHash *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -36023,7 +37631,7 @@ SWIGINTERN int _wrap_new_BlindNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, P SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_BlindNtHash" "', argument " "3"" of type '" "unsigned int""'"); } arg3 = static_cast< unsigned int >(val3); - result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(arg1,arg2,arg3); + result = (btllib::BlindNtHash *)new_btllib_BlindNtHash__SWIG_0(SWIG_STD_MOVE(arg1),arg2,arg3); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__BlindNtHash, SWIG_BUILTIN_INIT | 0 ); return resultobj == Py_None ? -1 : 0; fail: @@ -36037,6 +37645,7 @@ SWIGINTERN int _wrap_new_BlindNtHash(PyObject *self, PyObject *args, PyObject *k 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_BlindNtHash")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_BlindNtHash", 0, 4, argv))) SWIG_fail; --argc; @@ -36065,8 +37674,8 @@ SWIGINTERN PyObject *_wrap_delete_BlindNtHash(PyObject *self, PyObject *args) { btllib::BlindNtHash *arg1 = (btllib::BlindNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_BlindNtHash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__BlindNtHash, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -36088,9 +37697,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_roll(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36110,9 +37719,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_roll_back(PyObject *self, PyObject *args) btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_roll_back", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36134,6 +37743,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_0(PyObject *self, Py_ssize_t no int res1 = 0 ; bool result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36155,6 +37765,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_0(PyObject *self, Py_ssize int res1 = 0 ; bool result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36179,6 +37790,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek__SWIG_1(PyObject *self, Py_ssize_t no int ecode2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36204,6 +37816,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek(PyObject *self, PyObject *args) { 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -36236,6 +37849,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back__SWIG_1(PyObject *self, Py_ssize int ecode2 = 0 ; bool result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36261,6 +37875,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_peek_back(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_peek_back", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -36288,9 +37903,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_hashes(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_hashes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36321,6 +37936,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_0(PyObject *self, Py_ssiz size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36361,6 +37977,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq__SWIG_1(PyObject *self, Py_ssiz int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36394,6 +38011,7 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_change_seq(PyObject *self, PyObject *args) 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "SeedNtHash_change_seq", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -36421,9 +38039,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_pos(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_pos", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36443,9 +38061,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_forward(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; bool result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_forward", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36465,9 +38083,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num(PyObject *self, PyObject *arg btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36487,9 +38105,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_hash_num_per_seed(PyObject *self, PyOb btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_hash_num_per_seed", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36509,9 +38127,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_k(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36531,9 +38149,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_forward_hash(PyObject *self, PyObject btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_forward_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36553,9 +38171,9 @@ SWIGINTERN PyObject *_wrap_SeedNtHash_get_reverse_hash(PyObject *self, PyObject btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; uint64_t *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "SeedNtHash_get_reverse_hash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36586,6 +38204,7 @@ SWIGINTERN int _wrap_new_SeedNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, Py int ecode5 = 0 ; btllib::SeedNtHash *result = 0 ; + (void)self; if ((nobjs < 5) || (nobjs > 5)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -36622,7 +38241,7 @@ SWIGINTERN int _wrap_new_SeedNtHash__SWIG_0(PyObject *self, Py_ssize_t nobjs, Py SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SeedNtHash" "', argument " "5"" of type '" "size_t""'"); } arg5 = static_cast< size_t >(val5); - result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(arg1,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4,arg5); + result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(SWIG_STD_MOVE(arg1),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4,SWIG_STD_MOVE(arg5)); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj == Py_None ? -1 : 0; @@ -36645,6 +38264,7 @@ SWIGINTERN int _wrap_new_SeedNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, Py int ecode4 = 0 ; btllib::SeedNtHash *result = 0 ; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -36676,7 +38296,7 @@ SWIGINTERN int _wrap_new_SeedNtHash__SWIG_1(PyObject *self, Py_ssize_t nobjs, Py SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_SeedNtHash" "', argument " "4"" of type '" "unsigned int""'"); } arg4 = static_cast< unsigned int >(val4); - result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(arg1,(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4); + result = (btllib::SeedNtHash *)new_btllib_SeedNtHash__SWIG_0(SWIG_STD_MOVE(arg1),(std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > const &)*arg2,arg3,arg4); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__SeedNtHash, SWIG_BUILTIN_INIT | 0 ); if (SWIG_IsNewObj(res2)) delete arg2; return resultobj == Py_None ? -1 : 0; @@ -36692,6 +38312,7 @@ SWIGINTERN int _wrap_new_SeedNtHash(PyObject *self, PyObject *args, PyObject *kw 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_SeedNtHash")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_SeedNtHash", 0, 5, argv))) SWIG_fail; --argc; @@ -36720,8 +38341,8 @@ SWIGINTERN PyObject *_wrap_delete_SeedNtHash(PyObject *self, PyObject *args) { btllib::SeedNtHash *arg1 = (btllib::SeedNtHash *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_SeedNtHash", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__SeedNtHash, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -36738,10 +38359,148 @@ SWIGINTERN PyObject *_wrap_delete_SeedNtHash(PyObject *self, PyObject *args) { SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_SeedNtHash) /* defines _wrap_delete_SeedNtHash_destructor_closure */ +SWIGINTERN int _wrap_new_RandomSequenceGenerator__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::RandomSequenceGenerator::SequenceType arg1 ; + btllib::RandomSequenceGenerator::Masking arg2 ; + int val1 ; + int ecode1 = 0 ; + int val2 ; + int ecode2 = 0 ; + btllib::RandomSequenceGenerator *result = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RandomSequenceGenerator" "', argument " "1"" of type '" "btllib::RandomSequenceGenerator::SequenceType""'"); + } + arg1 = static_cast< btllib::RandomSequenceGenerator::SequenceType >(val1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RandomSequenceGenerator" "', argument " "2"" of type '" "btllib::RandomSequenceGenerator::Masking""'"); + } + arg2 = static_cast< btllib::RandomSequenceGenerator::Masking >(val2); + result = (btllib::RandomSequenceGenerator *)new btllib::RandomSequenceGenerator(arg1,arg2); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__RandomSequenceGenerator, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_RandomSequenceGenerator__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::RandomSequenceGenerator::SequenceType arg1 ; + int val1 ; + int ecode1 = 0 ; + btllib::RandomSequenceGenerator *result = 0 ; + + (void)self; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_RandomSequenceGenerator" "', argument " "1"" of type '" "btllib::RandomSequenceGenerator::SequenceType""'"); + } + arg1 = static_cast< btllib::RandomSequenceGenerator::SequenceType >(val1); + result = (btllib::RandomSequenceGenerator *)new btllib::RandomSequenceGenerator(arg1); + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__RandomSequenceGenerator, SWIG_BUILTIN_INIT | 0 ); + return resultobj == Py_None ? -1 : 0; +fail: + return -1; +} + + +SWIGINTERN int _wrap_new_RandomSequenceGenerator(PyObject *self, PyObject *args, PyObject *kwargs) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + (void)self; + if (!SWIG_Python_CheckNoKeywords(kwargs, "new_RandomSequenceGenerator")) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "new_RandomSequenceGenerator", 0, 2, argv))) SWIG_fail; + --argc; + if (argc == 1) { + int retval = _wrap_new_RandomSequenceGenerator__SWIG_1(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + if (argc == 2) { + int retval = _wrap_new_RandomSequenceGenerator__SWIG_0(self, argc, argv); + if (retval == 0 || !SWIG_Python_TypeErrorOccurred(NULL)) return retval; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_RandomSequenceGenerator'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::RandomSequenceGenerator::RandomSequenceGenerator(btllib::RandomSequenceGenerator::SequenceType,btllib::RandomSequenceGenerator::Masking)\n" + " btllib::RandomSequenceGenerator::RandomSequenceGenerator(btllib::RandomSequenceGenerator::SequenceType)\n"); + return -1; +} + + +SWIGINTERN PyObject *_wrap_RandomSequenceGenerator_generate(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::RandomSequenceGenerator *arg1 = (btllib::RandomSequenceGenerator *) 0 ; + size_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + std::string result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandomSequenceGenerator, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RandomSequenceGenerator_generate" "', argument " "1"" of type '" "btllib::RandomSequenceGenerator *""'"); + } + arg1 = reinterpret_cast< btllib::RandomSequenceGenerator * >(argp1); + ecode2 = SWIG_AsVal_size_t(swig_obj[0], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RandomSequenceGenerator_generate" "', argument " "2"" of type '" "size_t""'"); + } + arg2 = static_cast< size_t >(val2); + result = (arg1)->generate(arg2); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_delete_RandomSequenceGenerator(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + btllib::RandomSequenceGenerator *arg1 = (btllib::RandomSequenceGenerator *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "delete_RandomSequenceGenerator", 0, 0, 0)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__RandomSequenceGenerator, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_RandomSequenceGenerator" "', argument " "1"" of type '" "btllib::RandomSequenceGenerator *""'"); + } + arg1 = reinterpret_cast< btllib::RandomSequenceGenerator * >(argp1); + delete arg1; + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_RandomSequenceGenerator) /* defines _wrap_delete_RandomSequenceGenerator_destructor_closure */ + SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; btllib::CountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::CountingBloomFilter< uint8_t > *)new btllib::CountingBloomFilter< uint8_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); @@ -36762,6 +38521,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_1(PyObject *self, Py_ssize_t int ecode2 = 0 ; btllib::CountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -36800,6 +38560,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_2(PyObject *self, Py_ssize_t int ecode2 = 0 ; btllib::CountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -36825,6 +38586,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8__SWIG_3(PyObject *self, Py_ssize_t int res1 = SWIG_OLDOBJ ; btllib::CountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -36853,6 +38615,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter8(PyObject *self, PyObject *args, Py 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter8")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter8", 0, 3, argv))) SWIG_fail; --argc; @@ -36897,6 +38660,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert__SWIG_0(PyObject *self, P void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36924,6 +38688,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert__SWIG_1(PyObject *self, P int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -36957,6 +38722,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -36986,6 +38752,208 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert(PyObject *self, PyObject } +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->remove((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_remove(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_remove", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter8_remove__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter8_remove__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_remove'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint8_t >::remove(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint8_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->clear((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter8_clear(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_clear", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter8_clear__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter8_clear__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter8_clear'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint8_t >::clear(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint8_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; @@ -36996,6 +38964,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_0(PyObject *self, int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37024,6 +38993,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains__SWIG_1(PyObject *self, int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37057,6 +39027,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains(PyObject *self, PyObjec 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -37096,6 +39067,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert__SWIG_0(PyObject int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37124,6 +39096,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert__SWIG_1(PyObject int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37157,6 +39130,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -37196,6 +39170,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains__SWIG_0(PyObject int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37224,6 +39199,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains__SWIG_1(PyObject int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37257,6 +39233,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_contains(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -37299,6 +39276,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_0(P int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37335,6 +39313,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains__SWIG_1(P int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37373,6 +39352,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_insert_thresh_contains(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -37417,6 +39397,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_0(P int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37453,6 +39434,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh__SWIG_1(P int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37491,6 +39473,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_contains_insert_thresh(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -37527,9 +39510,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_bytes(PyObject *self, PyObje btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37554,6 +39537,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt__SWIG_0(PyObject *se int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37580,6 +39564,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt__SWIG_1(PyObject *se int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37600,6 +39585,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_pop_cnt(PyObject *self, PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -37632,6 +39618,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy__SWIG_0(PyObject * int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37658,6 +39645,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy__SWIG_1(PyObject * int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37678,6 +39666,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_occupancy(PyObject *self, Py 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -37705,9 +39694,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_hash_num(PyObject *self, PyO btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37732,6 +39721,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr__SWIG_0(PyObject *self, int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37758,6 +39748,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr__SWIG_1(PyObject *self, int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37778,6 +39769,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_fpr(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -37805,9 +39797,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_get_hash_fn(PyObject *self, PyOb btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -37831,6 +39823,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_save(PyObject *self, PyObject *a int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, 0 | 0 ); @@ -37866,6 +39859,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter8_is_bloom_file(PyObject *self, Py PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -37894,8 +39888,8 @@ SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter8(PyObject *self, PyObject btllib::CountingBloomFilter< uint8_t > *arg1 = (btllib::CountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter8", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -37916,6 +39910,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_0(PyObject *self, Py_ssize_ PyObject *resultobj = 0; btllib::CountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::CountingBloomFilter< uint16_t > *)new btllib::CountingBloomFilter< uint16_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); @@ -37936,6 +39931,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_1(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -37974,6 +39970,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_2(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -37999,6 +39996,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16__SWIG_3(PyObject *self, Py_ssize_ int res1 = SWIG_OLDOBJ ; btllib::CountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -38027,6 +40025,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter16(PyObject *self, PyObject *args, P 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter16")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter16", 0, 3, argv))) SWIG_fail; --argc; @@ -38071,6 +40070,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert__SWIG_0(PyObject *self, void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38098,6 +40098,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert__SWIG_1(PyObject *self, int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38131,6 +40132,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -38160,6 +40162,208 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert(PyObject *self, PyObject } +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->remove((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_remove(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_remove", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter16_remove__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter16_remove__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_remove'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint16_t >::remove(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint16_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->clear((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint16_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter16_clear(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_clear", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter16_clear__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter16_clear__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter16_clear'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint16_t >::clear(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint16_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; @@ -38170,6 +40374,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_0(PyObject *self int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38198,6 +40403,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains__SWIG_1(PyObject *self int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38231,6 +40437,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains(PyObject *self, PyObje 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -38270,6 +40477,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert__SWIG_0(PyObjec int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38298,6 +40506,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38331,6 +40540,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -38370,6 +40580,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains__SWIG_0(PyObjec int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38398,6 +40609,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38431,6 +40643,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_contains(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -38473,6 +40686,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_0( int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38509,6 +40723,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains__SWIG_1( int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38547,6 +40762,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_insert_thresh_contains(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -38591,6 +40807,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_0( int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38627,6 +40844,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh__SWIG_1( int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38665,6 +40883,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_contains_insert_thresh(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -38701,9 +40920,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_bytes(PyObject *self, PyObj btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38728,6 +40947,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt__SWIG_0(PyObject *s int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38754,6 +40974,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt__SWIG_1(PyObject *s int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38774,6 +40995,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_pop_cnt(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -38806,6 +41028,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy__SWIG_0(PyObject int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38832,6 +41055,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy__SWIG_1(PyObject int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38852,6 +41076,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_occupancy(PyObject *self, P 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -38879,9 +41104,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_hash_num(PyObject *self, Py btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38906,6 +41131,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr__SWIG_0(PyObject *self, int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38932,6 +41158,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr__SWIG_1(PyObject *self, int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -38952,6 +41179,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_fpr(PyObject *self, PyObjec 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -38979,9 +41207,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_get_hash_fn(PyObject *self, PyO btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39005,6 +41233,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_save(PyObject *self, PyObject * int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, 0 | 0 ); @@ -39040,6 +41269,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter16_is_bloom_file(PyObject *self, P PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -39068,8 +41298,8 @@ SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter16(PyObject *self, PyObject btllib::CountingBloomFilter< uint16_t > *arg1 = (btllib::CountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter16", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -39090,6 +41320,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_0(PyObject *self, Py_ssize_ PyObject *resultobj = 0; btllib::CountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::CountingBloomFilter< uint32_t > *)new btllib::CountingBloomFilter< uint32_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); @@ -39110,6 +41341,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_1(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -39148,6 +41380,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_2(PyObject *self, Py_ssize_ int ecode2 = 0 ; btllib::CountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -39173,6 +41406,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32__SWIG_3(PyObject *self, Py_ssize_ int res1 = SWIG_OLDOBJ ; btllib::CountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -39201,6 +41435,7 @@ SWIGINTERN int _wrap_new_CountingBloomFilter32(PyObject *self, PyObject *args, P 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_CountingBloomFilter32")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_CountingBloomFilter32", 0, 3, argv))) SWIG_fail; --argc; @@ -39245,6 +41480,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert__SWIG_0(PyObject *self, void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39272,6 +41508,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert__SWIG_1(PyObject *self, int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39305,6 +41542,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert(PyObject *self, PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -39334,6 +41572,208 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert(PyObject *self, PyObject } +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->remove((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_remove(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_remove", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter32_remove__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter32_remove__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_remove'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint32_t >::remove(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint32_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->clear((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::CountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::CountingBloomFilter< uint32_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "CountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_CountingBloomFilter32_clear(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_clear", 0, 2, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_CountingBloomFilter32_clear__SWIG_0(self, argc, argv); + } +check_1: + + if (argc == 2) { + PyObject *retobj = _wrap_CountingBloomFilter32_clear__SWIG_1(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'CountingBloomFilter32_clear'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::CountingBloomFilter< uint32_t >::clear(uint64_t const *)\n" + " btllib::CountingBloomFilter< uint32_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; @@ -39344,6 +41784,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_0(PyObject *self int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39372,6 +41813,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains__SWIG_1(PyObject *self int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39405,6 +41847,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains(PyObject *self, PyObje 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -39444,6 +41887,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert__SWIG_0(PyObjec int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39472,6 +41916,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39505,6 +41950,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains_insert", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -39544,6 +41990,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains__SWIG_0(PyObjec int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39572,6 +42019,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains__SWIG_1(PyObjec int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39605,6 +42053,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_contains(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert_contains", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -39647,6 +42096,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_0( int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39683,6 +42133,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains__SWIG_1( int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39721,6 +42172,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_insert_thresh_contains(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_insert_thresh_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -39765,6 +42217,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_0( int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39801,6 +42254,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh__SWIG_1( int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39839,6 +42293,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_contains_insert_thresh(PyObject 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_contains_insert_thresh", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -39875,9 +42330,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_bytes(PyObject *self, PyObj btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39902,6 +42357,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_0(PyObject *s int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39928,6 +42384,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt__SWIG_1(PyObject *s int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -39948,6 +42405,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_pop_cnt(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -39980,6 +42438,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_0(PyObject int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40006,6 +42465,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy__SWIG_1(PyObject int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40026,6 +42486,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_occupancy(PyObject *self, P 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -40053,9 +42514,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_num(PyObject *self, Py btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40080,6 +42541,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_0(PyObject *self, int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40106,6 +42568,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr__SWIG_1(PyObject *self, int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40126,6 +42589,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_fpr(PyObject *self, PyObjec 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -40153,9 +42617,9 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_get_hash_fn(PyObject *self, PyO btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "CountingBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40179,6 +42643,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_save(PyObject *self, PyObject * int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, 0 | 0 ); @@ -40214,6 +42679,7 @@ SWIGINTERN PyObject *_wrap_CountingBloomFilter32_is_bloom_file(PyObject *self, P PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -40242,8 +42708,8 @@ SWIGINTERN PyObject *_wrap_delete_CountingBloomFilter32(PyObject *self, PyObject btllib::CountingBloomFilter< uint32_t > *arg1 = (btllib::CountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_CountingBloomFilter32", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__CountingBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -40264,6 +42730,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_0(PyObject *self, Py_ssi PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::KmerCountingBloomFilter< uint8_t > *)new btllib::KmerCountingBloomFilter< uint8_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_BUILTIN_INIT | 0 ); @@ -40286,6 +42753,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_1(PyObject *self, Py_ssi int ecode3 = 0 ; btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -40316,6 +42784,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8__SWIG_2(PyObject *self, Py_ssi int res1 = SWIG_OLDOBJ ; btllib::KmerCountingBloomFilter< uint8_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -40344,6 +42813,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter8(PyObject *self, PyObject *args 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter8")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter8", 0, 3, argv))) SWIG_fail; --argc; @@ -40386,6 +42856,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_0(PyObject *sel size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40420,6 +42891,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_1(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40456,6 +42928,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_2(PyObject *sel void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40483,6 +42956,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert__SWIG_3(PyObject *sel int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40516,6 +42990,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert(PyObject *self, PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -40563,6 +43038,396 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert(PyObject *self, PyObj } +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + + (void)self; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->remove((char const *)arg2,arg3); + resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->remove((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_remove(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_remove", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_KmerCountingBloomFilter8_remove__SWIG_2(self, argc, argv); + } +check_1: + + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter8_remove__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_remove__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_remove__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_remove'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::KmerCountingBloomFilter< uint8_t >::remove(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::remove(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::remove(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + + (void)self; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->clear((char const *)arg2,arg3); + resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->clear((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint8_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint8_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter8_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_clear(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_clear", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_KmerCountingBloomFilter8_clear__SWIG_2(self, argc, argv); + } +check_1: + + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter8_clear__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_clear__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter8_clear__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter8_clear'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::KmerCountingBloomFilter< uint8_t >::clear(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::clear(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::clear(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint8_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; @@ -40577,6 +43442,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_0(PyObject *s int ecode3 = 0 ; uint64_t result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40612,6 +43478,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_1(PyObject *s int res2 = SWIG_OLDOBJ ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40649,6 +43516,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_2(PyObject *s int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40677,6 +43545,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains__SWIG_3(PyObject *s int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40710,6 +43579,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -40771,6 +43641,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_0(PyOb int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40806,6 +43677,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_1(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40843,6 +43715,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_2(PyOb int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40871,6 +43744,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert__SWIG_3(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -40904,6 +43778,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert(PyObject *se 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -40965,6 +43840,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_0(PyOb int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41000,6 +43876,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_1(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41037,6 +43914,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_2(PyOb int res2 = 0 ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41065,6 +43943,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains__SWIG_3(PyOb int res2 = SWIG_OLDOBJ ; unsigned char result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41098,6 +43977,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_contains(PyObject *se 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -41162,6 +44042,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode4 = 0 ; unsigned char result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41205,6 +44086,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41250,6 +44132,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41286,6 +44169,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41324,6 +44208,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_insert_thresh_contains(PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -41392,6 +44277,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode4 = 0 ; unsigned char result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41435,6 +44321,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41480,6 +44367,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41516,6 +44404,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh__SWIG int ecode3 = 0 ; unsigned char result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41554,6 +44443,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_contains_insert_thresh(PyObj 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -41610,9 +44500,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_bytes(PyObject *self, Py btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41637,6 +44527,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_0(PyObject int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41663,6 +44554,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt__SWIG_1(PyObject int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41683,6 +44575,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_pop_cnt(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -41715,6 +44608,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_0(PyObje int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41741,6 +44635,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy__SWIG_1(PyObje int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41761,6 +44656,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_occupancy(PyObject *self 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -41788,9 +44684,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_num(PyObject *self, btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41815,6 +44711,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_0(PyObject *se int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41841,6 +44738,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr__SWIG_1(PyObject *se int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41861,6 +44759,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_fpr(PyObject *self, PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -41888,9 +44787,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_k(PyObject *self, PyObje btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41910,9 +44809,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_hash_fn(PyObject *self, btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41932,9 +44831,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_get_counting_bloom_filter(Py btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::CountingBloomFilter< unsigned char > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter8_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -41958,6 +44857,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_save(PyObject *self, PyObjec int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, 0 | 0 ); @@ -41993,6 +44893,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter8_is_bloom_file(PyObject *self PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -42021,8 +44922,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter8(PyObject *self, PyObj btllib::KmerCountingBloomFilter< uint8_t > *arg1 = (btllib::KmerCountingBloomFilter< uint8_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter8", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_char_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -42043,6 +44944,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_0(PyObject *self, Py_ss PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::KmerCountingBloomFilter< uint16_t > *)new btllib::KmerCountingBloomFilter< uint16_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_BUILTIN_INIT | 0 ); @@ -42065,6 +44967,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_1(PyObject *self, Py_ss int ecode3 = 0 ; btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -42095,6 +44998,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16__SWIG_2(PyObject *self, Py_ss int res1 = SWIG_OLDOBJ ; btllib::KmerCountingBloomFilter< uint16_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -42123,6 +45027,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter16(PyObject *self, PyObject *arg 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter16")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter16", 0, 3, argv))) SWIG_fail; --argc; @@ -42165,6 +45070,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_0(PyObject *se size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42199,6 +45105,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_1(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42235,6 +45142,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_2(PyObject *se void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42262,6 +45170,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert__SWIG_3(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42295,6 +45204,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert(PyObject *self, PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -42342,6 +45252,396 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert(PyObject *self, PyOb } +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + + (void)self; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->remove((char const *)arg2,arg3); + resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->remove((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_remove(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_remove", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_KmerCountingBloomFilter16_remove__SWIG_2(self, argc, argv); + } +check_1: + + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter16_remove__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter16_remove__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter16_remove__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_remove'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::KmerCountingBloomFilter< uint16_t >::remove(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::remove(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::remove(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + + (void)self; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->clear((char const *)arg2,arg3); + resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->clear((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint16_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint16_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter16_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_clear(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_clear", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_KmerCountingBloomFilter16_clear__SWIG_2(self, argc, argv); + } +check_1: + + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter16_clear__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter16_clear__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter16_clear__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter16_clear'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::KmerCountingBloomFilter< uint16_t >::clear(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::clear(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::clear(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint16_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; @@ -42356,6 +45656,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_0(PyObject * int ecode3 = 0 ; uint64_t result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42391,6 +45692,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_1(PyObject * int res2 = SWIG_OLDOBJ ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42428,6 +45730,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_2(PyObject * int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42456,6 +45759,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains__SWIG_3(PyObject * int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42489,6 +45793,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains(PyObject *self, Py 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -42550,6 +45855,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_0(PyO int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42585,6 +45891,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42622,6 +45929,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_2(PyO int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42650,6 +45958,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42683,6 +45992,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert(PyObject *s 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -42744,6 +46054,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_0(PyO int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42779,6 +46090,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42816,6 +46128,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_2(PyO int res2 = 0 ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42844,6 +46157,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned short result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42877,6 +46191,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_contains(PyObject *s 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -42941,6 +46256,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode4 = 0 ; unsigned short result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -42984,6 +46300,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43029,6 +46346,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43065,6 +46383,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43103,6 +46422,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_insert_thresh_contains(PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -43171,6 +46491,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode4 = 0 ; unsigned short result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43214,6 +46535,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43259,6 +46581,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43295,6 +46618,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned short result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43333,6 +46657,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_contains_insert_thresh(PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -43389,9 +46714,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_bytes(PyObject *self, P btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43416,6 +46741,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_0(PyObjec int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43442,6 +46768,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt__SWIG_1(PyObjec int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43462,6 +46789,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_pop_cnt(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -43494,6 +46822,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_0(PyObj int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43520,6 +46849,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy__SWIG_1(PyObj int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43540,6 +46870,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_occupancy(PyObject *sel 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -43567,9 +46898,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_num(PyObject *self btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43594,6 +46925,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_0(PyObject *s int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43620,6 +46952,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr__SWIG_1(PyObject *s int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43640,6 +46973,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_fpr(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -43667,9 +47001,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_k(PyObject *self, PyObj btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43689,9 +47023,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_hash_fn(PyObject *self, btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43711,9 +47045,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_get_counting_bloom_filter(P btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::CountingBloomFilter< unsigned short > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter16_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43737,6 +47071,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_save(PyObject *self, PyObje int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0 | 0 ); @@ -43772,6 +47107,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter16_is_bloom_file(PyObject *sel PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -43800,8 +47136,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter16(PyObject *self, PyOb btllib::KmerCountingBloomFilter< uint16_t > *arg1 = (btllib::KmerCountingBloomFilter< uint16_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter16", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_short_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -43822,6 +47158,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_0(PyObject *self, Py_ss PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; result = (btllib::KmerCountingBloomFilter< uint32_t > *)new btllib::KmerCountingBloomFilter< uint32_t >(); resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_BUILTIN_INIT | 0 ); @@ -43844,6 +47181,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_1(PyObject *self, Py_ss int ecode3 = 0 ; btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; ecode1 = SWIG_AsVal_size_t(swig_obj[0], &val1); if (!SWIG_IsOK(ecode1)) { @@ -43874,6 +47212,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32__SWIG_2(PyObject *self, Py_ss int res1 = SWIG_OLDOBJ ; btllib::KmerCountingBloomFilter< uint32_t > *result = 0 ; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; { std::string *ptr = (std::string *)0; @@ -43902,6 +47241,7 @@ SWIGINTERN int _wrap_new_KmerCountingBloomFilter32(PyObject *self, PyObject *arg 0 }; + (void)self; if (!SWIG_Python_CheckNoKeywords(kwargs, "new_KmerCountingBloomFilter32")) SWIG_fail; if (!(argc = SWIG_Python_UnpackTuple(args, "new_KmerCountingBloomFilter32", 0, 3, argv))) SWIG_fail; --argc; @@ -43944,6 +47284,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_0(PyObject *se size_t val3 ; int ecode3 = 0 ; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -43978,6 +47319,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_1(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44014,6 +47356,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_2(PyObject *se void *argp2 = 0 ; int res2 = 0 ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44041,6 +47384,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert__SWIG_3(PyObject *se int res1 = 0 ; int res2 = SWIG_OLDOBJ ; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44074,6 +47418,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert(PyObject *self, PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -44121,6 +47466,396 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert(PyObject *self, PyOb } +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + + (void)self; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->remove((char const *)arg2,arg3); + resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->remove((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_remove" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->remove((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_remove(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_remove", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_KmerCountingBloomFilter32_remove__SWIG_2(self, argc, argv); + } +check_1: + + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter32_remove__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter32_remove__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter32_remove__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_remove'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::KmerCountingBloomFilter< uint32_t >::remove(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::remove(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::remove(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::remove(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + char *arg2 = (char *) 0 ; + size_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + size_t val3 ; + int ecode3 = 0 ; + + (void)self; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_size_t(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "3"" of type '" "size_t""'"); + } + arg3 = static_cast< size_t >(val3); + (arg1)->clear((char const *)arg2,arg3); + resultobj = SWIG_Py_Void(); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + std::string *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + { + std::string *ptr = (std::string *)0; + res2 = SWIG_AsPtr_std_string(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::string const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::string const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::string const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + uint64_t *arg2 = (uint64_t *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2,SWIGTYPE_p_unsigned_long_long, 0 | 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "uint64_t const *""'"); + } + arg2 = reinterpret_cast< uint64_t * >(argp2); + (arg1)->clear((uint64_t const *)arg2); + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear__SWIG_3(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; + std::vector< uint64_t,std::allocator< uint64_t > > *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 = SWIG_OLDOBJ ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "1"" of type '" "btllib::KmerCountingBloomFilter< uint32_t > *""'"); + } + arg1 = reinterpret_cast< btllib::KmerCountingBloomFilter< uint32_t > * >(argp1); + { + std::vector< uint64_t,std::allocator< uint64_t > > *ptr = (std::vector< uint64_t,std::allocator< uint64_t > > *)0; + res2 = swig::asptr(swig_obj[1], &ptr); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + if (!ptr) { + SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "KmerCountingBloomFilter32_clear" "', argument " "2"" of type '" "std::vector< uint64_t,std::allocator< uint64_t > > const &""'"); + } + arg2 = ptr; + } + (arg1)->clear((std::vector< uint64_t,std::allocator< uint64_t > > const &)*arg2); + resultobj = SWIG_Py_Void(); + if (SWIG_IsNewObj(res2)) delete arg2; + return resultobj; +fail: + if (SWIG_IsNewObj(res2)) delete arg2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_clear(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + (void)self; + if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_clear", 0, 3, argv+1))) SWIG_fail; + argv[0] = self; + if (argc == 2) { + int _v = 0; + { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_unsigned_long_long, 0); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_1; + return _wrap_KmerCountingBloomFilter32_clear__SWIG_2(self, argc, argv); + } +check_1: + + if (argc == 2) { + int _v = 0; + { + int res = SWIG_AsPtr_std_string(argv[1], (std::string**)(0)); + _v = SWIG_CheckState(res); + } + if (!_v) goto check_2; + return _wrap_KmerCountingBloomFilter32_clear__SWIG_1(self, argc, argv); + } +check_2: + + if (argc == 2) { + PyObject *retobj = _wrap_KmerCountingBloomFilter32_clear__SWIG_3(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + if (argc == 3) { + PyObject *retobj = _wrap_KmerCountingBloomFilter32_clear__SWIG_0(self, argc, argv); + if (!SWIG_Python_TypeErrorOccurred(retobj)) return retobj; + SWIG_fail; + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'KmerCountingBloomFilter32_clear'.\n" + " Possible C/C++ prototypes are:\n" + " btllib::KmerCountingBloomFilter< uint32_t >::clear(char const *,size_t)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::clear(std::string const &)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::clear(uint64_t const *)\n" + " btllib::KmerCountingBloomFilter< uint32_t >::clear(std::vector< uint64_t,std::allocator< uint64_t > > const &)\n"); + return 0; +} + + SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; @@ -44135,6 +47870,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_0(PyObject * int ecode3 = 0 ; uint64_t result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44170,6 +47906,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_1(PyObject * int res2 = SWIG_OLDOBJ ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44207,6 +47944,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_2(PyObject * int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44235,6 +47973,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains__SWIG_3(PyObject * int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44268,6 +48007,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains(PyObject *self, Py 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -44329,6 +48069,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_0(PyO int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44364,6 +48105,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44401,6 +48143,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_2(PyO int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44429,6 +48172,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44462,6 +48206,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert(PyObject *s 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains_insert", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -44523,6 +48268,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_0(PyO int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44558,6 +48304,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_1(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44595,6 +48342,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_2(PyO int res2 = 0 ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44623,6 +48371,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains__SWIG_3(PyO int res2 = SWIG_OLDOBJ ; unsigned int result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44656,6 +48405,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_contains(PyObject *s 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert_contains", 0, 3, argv+1))) SWIG_fail; argv[0] = self; if (argc == 2) { @@ -44720,6 +48470,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode4 = 0 ; unsigned int result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44763,6 +48514,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44808,6 +48560,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44844,6 +48597,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44882,6 +48636,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_insert_thresh_contains(PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_insert_thresh_contains", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -44950,6 +48705,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode4 = 0 ; unsigned int result; + (void)self; if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -44993,6 +48749,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45038,6 +48795,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45074,6 +48832,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh__SWI int ecode3 = 0 ; unsigned int result; + (void)self; if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45112,6 +48871,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_contains_insert_thresh(PyOb 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_contains_insert_thresh", 0, 4, argv+1))) SWIG_fail; argv[0] = self; if (argc == 3) { @@ -45168,9 +48928,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_bytes(PyObject *self, P btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; size_t result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_bytes", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45195,6 +48955,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_0(PyObjec int ecode2 = 0 ; uint64_t result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45221,6 +48982,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt__SWIG_1(PyObjec int res1 = 0 ; uint64_t result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45241,6 +49003,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_pop_cnt(PyObject *self, 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_pop_cnt", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -45273,6 +49036,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_0(PyObj int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45299,6 +49063,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy__SWIG_1(PyObj int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45319,6 +49084,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_occupancy(PyObject *sel 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_occupancy", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -45346,9 +49112,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_hash_num(PyObject *self btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_hash_num", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45373,6 +49139,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr__SWIG_0(PyObject *s int ecode2 = 0 ; double result; + (void)self; if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45399,6 +49166,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr__SWIG_1(PyObject *s int res1 = 0 ; double result; + (void)self; if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45419,6 +49187,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_fpr(PyObject *self, PyO 0 }; + (void)self; if (!(argc = SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_fpr", 0, 2, argv+1))) SWIG_fail; argv[0] = self; if (argc == 1) { @@ -45446,9 +49215,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_k(PyObject *self, PyObj btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; unsigned int result; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_k", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45468,9 +49237,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_hash_fn(PyObject *self, btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; std::string *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_hash_fn", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45490,9 +49259,9 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_get_counting_bloom_filter(P btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; btllib::CountingBloomFilter< unsigned int > *result = 0 ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "KmerCountingBloomFilter32_get_counting_bloom_filter", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); if (!SWIG_IsOK(res1)) { @@ -45516,6 +49285,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_save(PyObject *self, PyObje int res2 = SWIG_OLDOBJ ; PyObject *swig_obj[2] ; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0 | 0 ); @@ -45551,6 +49321,7 @@ SWIGINTERN PyObject *_wrap_KmerCountingBloomFilter32_is_bloom_file(PyObject *sel PyObject *swig_obj[1] ; bool result; + (void)self; if (!args) SWIG_fail; swig_obj[0] = args; { @@ -45579,8 +49350,8 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter32(PyObject *self, PyOb btllib::KmerCountingBloomFilter< uint32_t > *arg1 = (btllib::KmerCountingBloomFilter< uint32_t > *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; + (void)self; if (!SWIG_Python_UnpackTuple(args, "delete_KmerCountingBloomFilter32", 0, 0, 0)) SWIG_fail; res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_btllib__KmerCountingBloomFilterT_unsigned_int_t, SWIG_POINTER_DISOWN | 0 ); if (!SWIG_IsOK(res1)) { @@ -45598,8 +49369,6 @@ SWIGINTERN PyObject *_wrap_delete_KmerCountingBloomFilter32(PyObject *self, PyOb SWIGPY_DESTRUCTOR_CLOSURE(_wrap_delete_KmerCountingBloomFilter32) /* defines _wrap_delete_KmerCountingBloomFilter32_destructor_closure */ static PyMethodDef SwigMethods[] = { - { "SWIG_PyInstanceMethod_New", SWIG_PyInstanceMethod_New, METH_O, NULL}, - { "SWIG_PyStaticMethod_New", SWIG_PyStaticMethod_New, METH_O, NULL}, { "ios_base_boolalpha_get", _wrap_ios_base_boolalpha_get, METH_VARARGS, NULL}, { "ios_base_dec_get", _wrap_ios_base_dec_get, METH_VARARGS, NULL}, { "ios_base_fixed_get", _wrap_ios_base_fixed_get, METH_VARARGS, NULL}, @@ -45631,16 +49400,9 @@ static PyMethodDef SwigMethods[] = { { "ios_base_beg_get", _wrap_ios_base_beg_get, METH_VARARGS, NULL}, { "ios_base_cur_get", _wrap_ios_base_cur_get, METH_VARARGS, NULL}, { "ios_base_end_get", _wrap_ios_base_end_get, METH_VARARGS, NULL}, - { "ios_base_sync_with_stdio", _wrap_ios_base_sync_with_stdio, METH_VARARGS, NULL}, - { "ios_base_xalloc", _wrap_ios_base_xalloc, METH_NOARGS, NULL}, { "endl", _wrap_endl, METH_O, "swig_ptr: endl_cb_ptr"}, { "ends", _wrap_ends, METH_O, "swig_ptr: ends_cb_ptr"}, { "flush", _wrap_flush, METH_O, "swig_ptr: flush_cb_ptr"}, - { "BloomFilter_save", _wrap_BloomFilter_save, METH_VARARGS, NULL}, - { "BloomFilter_is_bloom_file", _wrap_BloomFilter_is_bloom_file, METH_O, NULL}, - { "BloomFilter_check_file_signature", _wrap_BloomFilter_check_file_signature, METH_VARARGS, NULL}, - { "KmerBloomFilter_is_bloom_file", _wrap_KmerBloomFilter_is_bloom_file, METH_O, NULL}, - { "SeedBloomFilter_is_bloom_file", _wrap_SeedBloomFilter_is_bloom_file, METH_O, NULL}, { "split", _wrap_split, METH_VARARGS, NULL}, { "join", _wrap_join, METH_VARARGS, NULL}, { "ltrim", _wrap_ltrim, METH_VARARGS, NULL}, @@ -45680,18 +49442,10 @@ static PyMethodDef SwigMethods[] = { { "parse_seeds", _wrap_parse_seeds, METH_VARARGS, NULL}, { "parsed_seeds_to_blocks", _wrap_parsed_seeds_to_blocks, METH_VARARGS, NULL}, { "check_seeds", _wrap_check_seeds, METH_VARARGS, NULL}, - { "CountingBloomFilter8_is_bloom_file", _wrap_CountingBloomFilter8_is_bloom_file, METH_O, NULL}, - { "CountingBloomFilter16_is_bloom_file", _wrap_CountingBloomFilter16_is_bloom_file, METH_O, NULL}, - { "CountingBloomFilter32_is_bloom_file", _wrap_CountingBloomFilter32_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter8_is_bloom_file", _wrap_KmerCountingBloomFilter8_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter16_is_bloom_file", _wrap_KmerCountingBloomFilter16_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter32_is_bloom_file", _wrap_KmerCountingBloomFilter32_is_bloom_file, METH_O, NULL}, { NULL, NULL, 0, NULL } }; static PyMethodDef SwigMethods_proxydocs[] = { - { "SWIG_PyInstanceMethod_New", SWIG_PyInstanceMethod_New, METH_O, NULL}, - { "SWIG_PyStaticMethod_New", SWIG_PyStaticMethod_New, METH_O, NULL}, { "ios_base_boolalpha_get", _wrap_ios_base_boolalpha_get, METH_VARARGS, NULL}, { "ios_base_dec_get", _wrap_ios_base_dec_get, METH_VARARGS, NULL}, { "ios_base_fixed_get", _wrap_ios_base_fixed_get, METH_VARARGS, NULL}, @@ -45723,16 +49477,9 @@ static PyMethodDef SwigMethods_proxydocs[] = { { "ios_base_beg_get", _wrap_ios_base_beg_get, METH_VARARGS, NULL}, { "ios_base_cur_get", _wrap_ios_base_cur_get, METH_VARARGS, NULL}, { "ios_base_end_get", _wrap_ios_base_end_get, METH_VARARGS, NULL}, - { "ios_base_sync_with_stdio", _wrap_ios_base_sync_with_stdio, METH_VARARGS, NULL}, - { "ios_base_xalloc", _wrap_ios_base_xalloc, METH_NOARGS, NULL}, { "endl", _wrap_endl, METH_O, "swig_ptr: endl_cb_ptr"}, { "ends", _wrap_ends, METH_O, "swig_ptr: ends_cb_ptr"}, { "flush", _wrap_flush, METH_O, "swig_ptr: flush_cb_ptr"}, - { "BloomFilter_save", _wrap_BloomFilter_save, METH_VARARGS, NULL}, - { "BloomFilter_is_bloom_file", _wrap_BloomFilter_is_bloom_file, METH_O, NULL}, - { "BloomFilter_check_file_signature", _wrap_BloomFilter_check_file_signature, METH_VARARGS, NULL}, - { "KmerBloomFilter_is_bloom_file", _wrap_KmerBloomFilter_is_bloom_file, METH_O, NULL}, - { "SeedBloomFilter_is_bloom_file", _wrap_SeedBloomFilter_is_bloom_file, METH_O, NULL}, { "split", _wrap_split, METH_VARARGS, NULL}, { "join", _wrap_join, METH_VARARGS, NULL}, { "ltrim", _wrap_ltrim, METH_VARARGS, NULL}, @@ -45772,78 +49519,72 @@ static PyMethodDef SwigMethods_proxydocs[] = { { "parse_seeds", _wrap_parse_seeds, METH_VARARGS, NULL}, { "parsed_seeds_to_blocks", _wrap_parsed_seeds_to_blocks, METH_VARARGS, NULL}, { "check_seeds", _wrap_check_seeds, METH_VARARGS, NULL}, - { "CountingBloomFilter8_is_bloom_file", _wrap_CountingBloomFilter8_is_bloom_file, METH_O, NULL}, - { "CountingBloomFilter16_is_bloom_file", _wrap_CountingBloomFilter16_is_bloom_file, METH_O, NULL}, - { "CountingBloomFilter32_is_bloom_file", _wrap_CountingBloomFilter32_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter8_is_bloom_file", _wrap_KmerCountingBloomFilter8_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter16_is_bloom_file", _wrap_KmerCountingBloomFilter16_is_bloom_file, METH_O, NULL}, - { "KmerCountingBloomFilter32_is_bloom_file", _wrap_KmerCountingBloomFilter32_is_bloom_file, METH_O, NULL}, { NULL, NULL, 0, NULL } }; -static SwigPyGetSet ios_base_ios_base_in_getset = { _wrap_ios_base_ios_base_in_get, 0 }; -static PyGetSetDef ios_base_ios_base_in_getset_def = { (char *)"ios_base_in", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ios_base_in", &ios_base_ios_base_in_getset }; +static SwigPyGetSet ios_base_scientific_getset = { _wrap_ios_base_scientific_get, 0 }; +static PyGetSetDef ios_base_scientific_getset_def = { (char *)"scientific", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.scientific", &ios_base_scientific_getset }; +static SwigPyGetSet ios_base_floatfield_getset = { _wrap_ios_base_floatfield_get, 0 }; +static PyGetSetDef ios_base_floatfield_getset_def = { (char *)"floatfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.floatfield", &ios_base_floatfield_getset }; +static SwigPyGetSet ios_base___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet ios_base_failbit_getset = { _wrap_ios_base_failbit_get, 0 }; +static PyGetSetDef ios_base_failbit_getset_def = { (char *)"failbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.failbit", &ios_base_failbit_getset }; +static SwigPyGetSet ios_base_hex_getset = { _wrap_ios_base_hex_get, 0 }; +static PyGetSetDef ios_base_hex_getset_def = { (char *)"hex", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.hex", &ios_base_hex_getset }; +static SwigPyGetSet ios_base_right_getset = { _wrap_ios_base_right_get, 0 }; +static PyGetSetDef ios_base_right_getset_def = { (char *)"right", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.right", &ios_base_right_getset }; static SwigPyGetSet ios_base_basefield_getset = { _wrap_ios_base_basefield_get, 0 }; static PyGetSetDef ios_base_basefield_getset_def = { (char *)"basefield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.basefield", &ios_base_basefield_getset }; -static SwigPyGetSet ios_base_ate_getset = { _wrap_ios_base_ate_get, 0 }; -static PyGetSetDef ios_base_ate_getset_def = { (char *)"ate", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ate", &ios_base_ate_getset }; -static SwigPyGetSet ios_base_unitbuf_getset = { _wrap_ios_base_unitbuf_get, 0 }; -static PyGetSetDef ios_base_unitbuf_getset_def = { (char *)"unitbuf", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.unitbuf", &ios_base_unitbuf_getset }; +static SwigPyGetSet ios_base_trunc_getset = { _wrap_ios_base_trunc_get, 0 }; +static PyGetSetDef ios_base_trunc_getset_def = { (char *)"trunc", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.trunc", &ios_base_trunc_getset }; +static SwigPyGetSet ios_base_end_getset = { _wrap_ios_base_end_get, 0 }; +static PyGetSetDef ios_base_end_getset_def = { (char *)"end", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.end", &ios_base_end_getset }; +static SwigPyGetSet ios_base_left_getset = { _wrap_ios_base_left_get, 0 }; +static PyGetSetDef ios_base_left_getset_def = { (char *)"left", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.left", &ios_base_left_getset }; +static SwigPyGetSet ios_base_showpoint_getset = { _wrap_ios_base_showpoint_get, 0 }; +static PyGetSetDef ios_base_showpoint_getset_def = { (char *)"showpoint", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpoint", &ios_base_showpoint_getset }; +static SwigPyGetSet ios_base_showpos_getset = { _wrap_ios_base_showpos_get, 0 }; +static PyGetSetDef ios_base_showpos_getset_def = { (char *)"showpos", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpos", &ios_base_showpos_getset }; +static SwigPyGetSet ios_base_boolalpha_getset = { _wrap_ios_base_boolalpha_get, 0 }; +static PyGetSetDef ios_base_boolalpha_getset_def = { (char *)"boolalpha", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.boolalpha", &ios_base_boolalpha_getset }; +static SwigPyGetSet ios_base_eofbit_getset = { _wrap_ios_base_eofbit_get, 0 }; +static PyGetSetDef ios_base_eofbit_getset_def = { (char *)"eofbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.eofbit", &ios_base_eofbit_getset }; static SwigPyGetSet ios_base_out_getset = { _wrap_ios_base_out_get, 0 }; static PyGetSetDef ios_base_out_getset_def = { (char *)"out", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.out", &ios_base_out_getset }; -static SwigPyGetSet ios_base_app_getset = { _wrap_ios_base_app_get, 0 }; -static PyGetSetDef ios_base_app_getset_def = { (char *)"app", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.app", &ios_base_app_getset }; -static SwigPyGetSet ios_base_beg_getset = { _wrap_ios_base_beg_get, 0 }; -static PyGetSetDef ios_base_beg_getset_def = { (char *)"beg", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.beg", &ios_base_beg_getset }; -static SwigPyGetSet ios_base_cur_getset = { _wrap_ios_base_cur_get, 0 }; -static PyGetSetDef ios_base_cur_getset_def = { (char *)"cur", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.cur", &ios_base_cur_getset }; +static SwigPyGetSet ios_base_unitbuf_getset = { _wrap_ios_base_unitbuf_get, 0 }; +static PyGetSetDef ios_base_unitbuf_getset_def = { (char *)"unitbuf", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.unitbuf", &ios_base_unitbuf_getset }; static SwigPyGetSet ios_base_oct_getset = { _wrap_ios_base_oct_get, 0 }; static PyGetSetDef ios_base_oct_getset_def = { (char *)"oct", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.oct", &ios_base_oct_getset }; -static SwigPyGetSet ios_base_uppercase_getset = { _wrap_ios_base_uppercase_get, 0 }; -static PyGetSetDef ios_base_uppercase_getset_def = { (char *)"uppercase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.uppercase", &ios_base_uppercase_getset }; static SwigPyGetSet ios_base_internal_getset = { _wrap_ios_base_internal_get, 0 }; static PyGetSetDef ios_base_internal_getset_def = { (char *)"internal", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.internal", &ios_base_internal_getset }; -static SwigPyGetSet ios_base_eofbit_getset = { _wrap_ios_base_eofbit_get, 0 }; -static PyGetSetDef ios_base_eofbit_getset_def = { (char *)"eofbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.eofbit", &ios_base_eofbit_getset }; +static SwigPyGetSet ios_base_binary_getset = { _wrap_ios_base_binary_get, 0 }; +static PyGetSetDef ios_base_binary_getset_def = { (char *)"binary", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.binary", &ios_base_binary_getset }; +static SwigPyGetSet ios_base_ios_base_in_getset = { _wrap_ios_base_ios_base_in_get, 0 }; +static PyGetSetDef ios_base_ios_base_in_getset_def = { (char *)"ios_base_in", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ios_base_in", &ios_base_ios_base_in_getset }; static SwigPyGetSet ios_base_skipws_getset = { _wrap_ios_base_skipws_get, 0 }; static PyGetSetDef ios_base_skipws_getset_def = { (char *)"skipws", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.skipws", &ios_base_skipws_getset }; -static SwigPyGetSet ios_base_failbit_getset = { _wrap_ios_base_failbit_get, 0 }; -static PyGetSetDef ios_base_failbit_getset_def = { (char *)"failbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.failbit", &ios_base_failbit_getset }; -static SwigPyGetSet ios_base___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet ios_base_showpoint_getset = { _wrap_ios_base_showpoint_get, 0 }; -static PyGetSetDef ios_base_showpoint_getset_def = { (char *)"showpoint", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpoint", &ios_base_showpoint_getset }; -static SwigPyGetSet ios_base_showpos_getset = { _wrap_ios_base_showpos_get, 0 }; -static PyGetSetDef ios_base_showpos_getset_def = { (char *)"showpos", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showpos", &ios_base_showpos_getset }; +static SwigPyGetSet ios_base_uppercase_getset = { _wrap_ios_base_uppercase_get, 0 }; +static PyGetSetDef ios_base_uppercase_getset_def = { (char *)"uppercase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.uppercase", &ios_base_uppercase_getset }; +static SwigPyGetSet ios_base_cur_getset = { _wrap_ios_base_cur_get, 0 }; +static PyGetSetDef ios_base_cur_getset_def = { (char *)"cur", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.cur", &ios_base_cur_getset }; +static SwigPyGetSet ios_base_goodbit_getset = { _wrap_ios_base_goodbit_get, 0 }; +static PyGetSetDef ios_base_goodbit_getset_def = { (char *)"goodbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.goodbit", &ios_base_goodbit_getset }; +static SwigPyGetSet ios_base_app_getset = { _wrap_ios_base_app_get, 0 }; +static PyGetSetDef ios_base_app_getset_def = { (char *)"app", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.app", &ios_base_app_getset }; static SwigPyGetSet ios_base_dec_getset = { _wrap_ios_base_dec_get, 0 }; static PyGetSetDef ios_base_dec_getset_def = { (char *)"dec", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.dec", &ios_base_dec_getset }; -static SwigPyGetSet ios_base_binary_getset = { _wrap_ios_base_binary_get, 0 }; -static PyGetSetDef ios_base_binary_getset_def = { (char *)"binary", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.binary", &ios_base_binary_getset }; -static SwigPyGetSet ios_base_hex_getset = { _wrap_ios_base_hex_get, 0 }; -static PyGetSetDef ios_base_hex_getset_def = { (char *)"hex", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.hex", &ios_base_hex_getset }; +static SwigPyGetSet ios_base_adjustfield_getset = { _wrap_ios_base_adjustfield_get, 0 }; +static PyGetSetDef ios_base_adjustfield_getset_def = { (char *)"adjustfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.adjustfield", &ios_base_adjustfield_getset }; +static SwigPyGetSet ios_base_fixed_getset = { _wrap_ios_base_fixed_get, 0 }; +static PyGetSetDef ios_base_fixed_getset_def = { (char *)"fixed", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.fixed", &ios_base_fixed_getset }; +static SwigPyGetSet ios_base_ate_getset = { _wrap_ios_base_ate_get, 0 }; +static PyGetSetDef ios_base_ate_getset_def = { (char *)"ate", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.ate", &ios_base_ate_getset }; +static SwigPyGetSet ios_base_beg_getset = { _wrap_ios_base_beg_get, 0 }; +static PyGetSetDef ios_base_beg_getset_def = { (char *)"beg", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.beg", &ios_base_beg_getset }; static SwigPyGetSet ios_base_showbase_getset = { _wrap_ios_base_showbase_get, 0 }; static PyGetSetDef ios_base_showbase_getset_def = { (char *)"showbase", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.showbase", &ios_base_showbase_getset }; -static SwigPyGetSet ios_base_right_getset = { _wrap_ios_base_right_get, 0 }; -static PyGetSetDef ios_base_right_getset_def = { (char *)"right", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.right", &ios_base_right_getset }; -static SwigPyGetSet ios_base_boolalpha_getset = { _wrap_ios_base_boolalpha_get, 0 }; -static PyGetSetDef ios_base_boolalpha_getset_def = { (char *)"boolalpha", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.boolalpha", &ios_base_boolalpha_getset }; -static SwigPyGetSet ios_base_goodbit_getset = { _wrap_ios_base_goodbit_get, 0 }; -static PyGetSetDef ios_base_goodbit_getset_def = { (char *)"goodbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.goodbit", &ios_base_goodbit_getset }; -static SwigPyGetSet ios_base_end_getset = { _wrap_ios_base_end_get, 0 }; -static PyGetSetDef ios_base_end_getset_def = { (char *)"end", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.end", &ios_base_end_getset }; -static SwigPyGetSet ios_base_left_getset = { _wrap_ios_base_left_get, 0 }; -static PyGetSetDef ios_base_left_getset_def = { (char *)"left", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.left", &ios_base_left_getset }; static SwigPyGetSet ios_base_badbit_getset = { _wrap_ios_base_badbit_get, 0 }; static PyGetSetDef ios_base_badbit_getset_def = { (char *)"badbit", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.badbit", &ios_base_badbit_getset }; -static SwigPyGetSet ios_base_fixed_getset = { _wrap_ios_base_fixed_get, 0 }; -static PyGetSetDef ios_base_fixed_getset_def = { (char *)"fixed", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.fixed", &ios_base_fixed_getset }; -static SwigPyGetSet ios_base_scientific_getset = { _wrap_ios_base_scientific_get, 0 }; -static PyGetSetDef ios_base_scientific_getset_def = { (char *)"scientific", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.scientific", &ios_base_scientific_getset }; -static SwigPyGetSet ios_base_adjustfield_getset = { _wrap_ios_base_adjustfield_get, 0 }; -static PyGetSetDef ios_base_adjustfield_getset_def = { (char *)"adjustfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.adjustfield", &ios_base_adjustfield_getset }; -static SwigPyGetSet ios_base_floatfield_getset = { _wrap_ios_base_floatfield_get, 0 }; -static PyGetSetDef ios_base_floatfield_getset_def = { (char *)"floatfield", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.floatfield", &ios_base_floatfield_getset }; -static SwigPyGetSet ios_base_trunc_getset = { _wrap_ios_base_trunc_get, 0 }; -static PyGetSetDef ios_base_trunc_getset_def = { (char *)"trunc", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"std::ios_base.trunc", &ios_base_trunc_getset }; SWIGINTERN PyGetSetDef SwigPyBuiltin__std__ios_base_getset[] = { { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &ios_base___dict___getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ @@ -45891,7 +49632,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_ios_base_destructor_closure, /* tp_dealloc */ +#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 @@ -45963,6 +49708,252 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif + }, +#endif + { + (binaryfunc) 0, /* nb_add */ + (binaryfunc) 0, /* nb_subtract */ + (binaryfunc) 0, /* nb_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_divide */ +#endif + (binaryfunc) 0, /* nb_remainder */ + (binaryfunc) 0, /* nb_divmod */ + (ternaryfunc) 0, /* nb_power */ + (unaryfunc) 0, /* nb_negative */ + (unaryfunc) 0, /* nb_positive */ + (unaryfunc) 0, /* nb_absolute */ + (inquiry) 0, /* nb_nonzero */ + (unaryfunc) 0, /* nb_invert */ + (binaryfunc) 0, /* nb_lshift */ + (binaryfunc) 0, /* nb_rshift */ + (binaryfunc) 0, /* nb_and */ + (binaryfunc) 0, /* nb_xor */ + (binaryfunc) 0, /* nb_or */ +#if PY_VERSION_HEX < 0x03000000 + (coercion) 0, /* nb_coerce */ +#endif + (unaryfunc) 0, /* nb_int */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* nb_reserved */ +#else + (unaryfunc) 0, /* nb_long */ +#endif + (unaryfunc) 0, /* nb_float */ +#if PY_VERSION_HEX < 0x03000000 + (unaryfunc) 0, /* nb_oct */ + (unaryfunc) 0, /* nb_hex */ +#endif + (binaryfunc) 0, /* nb_inplace_add */ + (binaryfunc) 0, /* nb_inplace_subtract */ + (binaryfunc) 0, /* nb_inplace_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_inplace_divide */ +#endif + (binaryfunc) 0, /* nb_inplace_remainder */ + (ternaryfunc) 0, /* nb_inplace_power */ + (binaryfunc) 0, /* nb_inplace_lshift */ + (binaryfunc) 0, /* nb_inplace_rshift */ + (binaryfunc) 0, /* nb_inplace_and */ + (binaryfunc) 0, /* nb_inplace_xor */ + (binaryfunc) 0, /* nb_inplace_or */ + (binaryfunc) 0, /* nb_floor_divide */ + (binaryfunc) 0, /* nb_true_divide */ + (binaryfunc) 0, /* nb_inplace_floor_divide */ + (binaryfunc) 0, /* nb_inplace_true_divide */ + (unaryfunc) 0, /* nb_index */ +#if PY_VERSION_HEX >= 0x03050000 + (binaryfunc) 0, /* nb_matrix_multiply */ + (binaryfunc) 0, /* nb_inplace_matrix_multiply */ +#endif + }, + { + (lenfunc) 0, /* mp_length */ + (binaryfunc) 0, /* mp_subscript */ + (objobjargproc) 0, /* mp_ass_subscript */ + }, + { + (lenfunc) 0, /* sq_length */ + (binaryfunc) 0, /* sq_concat */ + (ssizeargfunc) 0, /* sq_repeat */ + (ssizeargfunc) 0, /* sq_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_slice */ +#else + (ssizessizeargfunc) 0, /* sq_slice */ +#endif + (ssizeobjargproc) 0, /* sq_ass_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_ass_slice */ +#else + (ssizessizeobjargproc) 0, /* sq_ass_slice */ +#endif + (objobjproc) 0, /* sq_contains */ + (binaryfunc) 0, /* sq_inplace_concat */ + (ssizeargfunc) 0, /* sq_inplace_repeat */ + }, + { +#if PY_VERSION_HEX < 0x03000000 + (readbufferproc) 0, /* bf_getreadbuffer */ + (writebufferproc) 0, /* bf_getwritebuffer */ + (segcountproc) 0, /* bf_getsegcount */ + (charbufferproc) 0, /* bf_getcharbuffer */ +#endif + (getbufferproc) 0, /* bf_getbuffer */ + (releasebufferproc) 0, /* bf_releasebuffer */ + }, + (PyObject *) 0, /* ht_name */ + (PyObject *) 0, /* ht_slots */ +#if PY_VERSION_HEX >= 0x03030000 + (PyObject *) 0, /* ht_qualname */ + 0, /* ht_cached_keys */ +#endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif +}; + +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__ios_base_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__ios_base_type}; + +static SwigPyGetSet ios___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__basic_iosT_char_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &ios___dict___getset }, + { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ +}; + +SWIGINTERN PyObject * +SwigPyBuiltin__std__basic_iosT_char_t_richcompare(PyObject *self, PyObject *other, int op) { + PyObject *result = NULL; + if (!result) { + if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { + result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); + } else { + result = Py_NotImplemented; + Py_INCREF(result); + } + } + return result; +} + +SWIGINTERN PyMethodDef SwigPyBuiltin__std__basic_iosT_char_t_methods[] = { + { "rdstate", _wrap_ios_rdstate, METH_NOARGS, "" }, + { "clear", _wrap_ios_clear, METH_VARARGS, "" }, + { "setstate", _wrap_ios_setstate, METH_O, "" }, + { "good", _wrap_ios_good, METH_NOARGS, "" }, + { "eof", _wrap_ios_eof, METH_NOARGS, "" }, + { "fail", _wrap_ios_fail, METH_NOARGS, "" }, + { "bad", _wrap_ios_bad, METH_NOARGS, "" }, + { "exceptions", _wrap_ios_exceptions, METH_VARARGS, "" }, + { "tie", _wrap_ios_tie, METH_VARARGS, "" }, + { "rdbuf", _wrap_ios_rdbuf, METH_VARARGS, "" }, + { "copyfmt", _wrap_ios_copyfmt, METH_O, "" }, + { "fill", _wrap_ios_fill, METH_VARARGS, "" }, + { "imbue", _wrap_ios_imbue, METH_O, "" }, + { "narrow", _wrap_ios_narrow, METH_VARARGS, "" }, + { "widen", _wrap_ios_widen, METH_O, "" }, + { NULL, NULL, 0, NULL } /* Sentinel */ +}; + +static PyHeapTypeObject SwigPyBuiltin__std__basic_iosT_char_t_type = { + { +#if PY_VERSION_HEX >= 0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ +#endif + "btllib.ios", /* tp_name */ + sizeof(SwigPyObject), /* tp_basicsize */ + 0, /* tp_itemsize */ + _wrap_delete_ios_destructor_closure, /* tp_dealloc */ +#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 + 0, /* tp_compare */ +#else + (cmpfunc) 0, /* tp_compare */ +#endif + (reprfunc) 0, /* tp_repr */ + &SwigPyBuiltin__std__basic_iosT_char_t_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__std__basic_iosT_char_t_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__std__basic_iosT_char_t_type.as_mapping, /* tp_as_mapping */ + SwigPyObject_hash, /* tp_hash */ + (ternaryfunc) 0, /* tp_call */ + (reprfunc) 0, /* tp_str */ + (getattrofunc) 0, /* tp_getattro */ + (setattrofunc) 0, /* tp_setattro */ + &SwigPyBuiltin__std__basic_iosT_char_t_type.as_buffer, /* tp_as_buffer */ +#if PY_VERSION_HEX >= 0x03000000 + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ +#else + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ +#endif + "std::basic_ios< char >", /* tp_doc */ + (traverseproc) 0, /* tp_traverse */ + (inquiry) 0, /* tp_clear */ + SwigPyBuiltin__std__basic_iosT_char_t_richcompare, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + (getiterfunc) 0, /* tp_iter */ + (iternextfunc) 0, /* tp_iternext */ + SwigPyBuiltin__std__basic_iosT_char_t_methods, /* tp_methods */ + 0, /* tp_members */ + SwigPyBuiltin__std__basic_iosT_char_t_getset, /* tp_getset */ + 0, /* tp_base */ + 0, /* tp_dict */ + (descrgetfunc) 0, /* tp_descr_get */ + (descrsetfunc) 0, /* tp_descr_set */ + offsetof(SwigPyObject, dict), /* tp_dictoffset */ + _wrap_new_ios, /* tp_init */ + (allocfunc) 0, /* tp_alloc */ + (newfunc) 0, /* tp_new */ + (freefunc) 0, /* tp_free */ + (inquiry) 0, /* tp_is_gc */ + (PyObject *) 0, /* tp_bases */ + (PyObject *) 0, /* tp_mro */ + (PyObject *) 0, /* tp_cache */ + (PyObject *) 0, /* tp_subclasses */ + (PyObject *) 0, /* tp_weaklist */ + (destructor) 0, /* tp_del */ + (int) 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + (destructor) 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + (vectorcallfunc) 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + (Py_ssize_t) 0, /* tp_allocs */ + (Py_ssize_t) 0, /* tp_frees */ + (Py_ssize_t) 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0, /* tp_next */ +#endif + }, +#if PY_VERSION_HEX >= 0x03050000 + { + (unaryfunc) 0, /* am_await */ + (unaryfunc) 0, /* am_aiter */ + (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -46063,232 +50054,14 @@ static PyHeapTypeObject SwigPyBuiltin__std__ios_base_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -}; - -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__ios_base_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__ios_base_type}; - -static SwigPyGetSet ios___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__basic_iosT_char_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &ios___dict___getset }, - { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ -}; - -SWIGINTERN PyObject * -SwigPyBuiltin__std__basic_iosT_char_t_richcompare(PyObject *self, PyObject *other, int op) { - PyObject *result = NULL; - if (!result) { - if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { - result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); - } else { - result = Py_NotImplemented; - Py_INCREF(result); - } - } - return result; -} - -SWIGINTERN PyMethodDef SwigPyBuiltin__std__basic_iosT_char_t_methods[] = { - { "rdstate", _wrap_ios_rdstate, METH_NOARGS, "" }, - { "clear", _wrap_ios_clear, METH_VARARGS, "" }, - { "setstate", _wrap_ios_setstate, METH_O, "" }, - { "good", _wrap_ios_good, METH_NOARGS, "" }, - { "eof", _wrap_ios_eof, METH_NOARGS, "" }, - { "fail", _wrap_ios_fail, METH_NOARGS, "" }, - { "bad", _wrap_ios_bad, METH_NOARGS, "" }, - { "exceptions", _wrap_ios_exceptions, METH_VARARGS, "" }, - { "tie", _wrap_ios_tie, METH_VARARGS, "" }, - { "rdbuf", _wrap_ios_rdbuf, METH_VARARGS, "" }, - { "copyfmt", _wrap_ios_copyfmt, METH_O, "" }, - { "fill", _wrap_ios_fill, METH_VARARGS, "" }, - { "imbue", _wrap_ios_imbue, METH_O, "" }, - { "narrow", _wrap_ios_narrow, METH_VARARGS, "" }, - { "widen", _wrap_ios_widen, METH_O, "" }, - { NULL, NULL, 0, NULL } /* Sentinel */ -}; - -static PyHeapTypeObject SwigPyBuiltin__std__basic_iosT_char_t_type = { - { -#if PY_VERSION_HEX >= 0x03000000 - PyVarObject_HEAD_INIT(NULL, 0) -#else - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ -#endif - "btllib.ios", /* tp_name */ - sizeof(SwigPyObject), /* tp_basicsize */ - 0, /* tp_itemsize */ - _wrap_delete_ios_destructor_closure, /* tp_dealloc */ - (printfunc) 0, /* tp_print */ - (getattrfunc) 0, /* tp_getattr */ - (setattrfunc) 0, /* tp_setattr */ -#if PY_VERSION_HEX >= 0x03000000 - 0, /* tp_compare */ -#else - (cmpfunc) 0, /* tp_compare */ -#endif - (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__basic_iosT_char_t_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__std__basic_iosT_char_t_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__std__basic_iosT_char_t_type.as_mapping, /* tp_as_mapping */ - SwigPyObject_hash, /* tp_hash */ - (ternaryfunc) 0, /* tp_call */ - (reprfunc) 0, /* tp_str */ - (getattrofunc) 0, /* tp_getattro */ - (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__basic_iosT_char_t_type.as_buffer, /* tp_as_buffer */ -#if PY_VERSION_HEX >= 0x03000000 - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ -#else - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ -#endif - "std::basic_ios< char >", /* tp_doc */ - (traverseproc) 0, /* tp_traverse */ - (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__basic_iosT_char_t_richcompare, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ - (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__basic_iosT_char_t_methods, /* tp_methods */ - 0, /* tp_members */ - SwigPyBuiltin__std__basic_iosT_char_t_getset, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - (descrgetfunc) 0, /* tp_descr_get */ - (descrsetfunc) 0, /* tp_descr_set */ - offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_ios, /* tp_init */ - (allocfunc) 0, /* tp_alloc */ - (newfunc) 0, /* tp_new */ - (freefunc) 0, /* tp_free */ - (inquiry) 0, /* tp_is_gc */ - (PyObject *) 0, /* tp_bases */ - (PyObject *) 0, /* tp_mro */ - (PyObject *) 0, /* tp_cache */ - (PyObject *) 0, /* tp_subclasses */ - (PyObject *) 0, /* tp_weaklist */ - (destructor) 0, /* tp_del */ - (int) 0, /* tp_version_tag */ -#if PY_VERSION_HEX >= 0x03040000 - (destructor) 0, /* tp_finalize */ -#endif -#if PY_VERSION_HEX >= 0x03080000 - (vectorcallfunc) 0, /* tp_vectorcall */ -#endif -#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) - 0, /* tp_print */ -#endif -#ifdef COUNT_ALLOCS - (Py_ssize_t) 0, /* tp_allocs */ - (Py_ssize_t) 0, /* tp_frees */ - (Py_ssize_t) 0, /* tp_maxalloc */ - 0, /* tp_prev */ - 0, /* tp_next */ -#endif - }, -#if PY_VERSION_HEX >= 0x03050000 - { - (unaryfunc) 0, /* am_await */ - (unaryfunc) 0, /* am_aiter */ - (unaryfunc) 0, /* am_anext */ - }, +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ #endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ { - (binaryfunc) 0, /* nb_add */ - (binaryfunc) 0, /* nb_subtract */ - (binaryfunc) 0, /* nb_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_divide */ -#endif - (binaryfunc) 0, /* nb_remainder */ - (binaryfunc) 0, /* nb_divmod */ - (ternaryfunc) 0, /* nb_power */ - (unaryfunc) 0, /* nb_negative */ - (unaryfunc) 0, /* nb_positive */ - (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ - (unaryfunc) 0, /* nb_invert */ - (binaryfunc) 0, /* nb_lshift */ - (binaryfunc) 0, /* nb_rshift */ - (binaryfunc) 0, /* nb_and */ - (binaryfunc) 0, /* nb_xor */ - (binaryfunc) 0, /* nb_or */ -#if PY_VERSION_HEX < 0x03000000 - (coercion) 0, /* nb_coerce */ -#endif - (unaryfunc) 0, /* nb_int */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* nb_reserved */ -#else - (unaryfunc) 0, /* nb_long */ -#endif - (unaryfunc) 0, /* nb_float */ -#if PY_VERSION_HEX < 0x03000000 - (unaryfunc) 0, /* nb_oct */ - (unaryfunc) 0, /* nb_hex */ -#endif - (binaryfunc) 0, /* nb_inplace_add */ - (binaryfunc) 0, /* nb_inplace_subtract */ - (binaryfunc) 0, /* nb_inplace_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_inplace_divide */ -#endif - (binaryfunc) 0, /* nb_inplace_remainder */ - (ternaryfunc) 0, /* nb_inplace_power */ - (binaryfunc) 0, /* nb_inplace_lshift */ - (binaryfunc) 0, /* nb_inplace_rshift */ - (binaryfunc) 0, /* nb_inplace_and */ - (binaryfunc) 0, /* nb_inplace_xor */ - (binaryfunc) 0, /* nb_inplace_or */ - (binaryfunc) 0, /* nb_floor_divide */ - (binaryfunc) 0, /* nb_true_divide */ - (binaryfunc) 0, /* nb_inplace_floor_divide */ - (binaryfunc) 0, /* nb_inplace_true_divide */ - (unaryfunc) 0, /* nb_index */ -#if PY_VERSION_HEX >= 0x03050000 - (binaryfunc) 0, /* nb_matrix_multiply */ - (binaryfunc) 0, /* nb_inplace_matrix_multiply */ -#endif - }, - { - (lenfunc) 0, /* mp_length */ - (binaryfunc) 0, /* mp_subscript */ - (objobjargproc) 0, /* mp_ass_subscript */ - }, - { - (lenfunc) 0, /* sq_length */ - (binaryfunc) 0, /* sq_concat */ - (ssizeargfunc) 0, /* sq_repeat */ - (ssizeargfunc) 0, /* sq_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_slice */ -#else - (ssizessizeargfunc) 0, /* sq_slice */ -#endif - (ssizeobjargproc) 0, /* sq_ass_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_ass_slice */ -#else - (ssizessizeobjargproc) 0, /* sq_ass_slice */ -#endif - (objobjproc) 0, /* sq_contains */ - (binaryfunc) 0, /* sq_inplace_concat */ - (ssizeargfunc) 0, /* sq_inplace_repeat */ - }, - { -#if PY_VERSION_HEX < 0x03000000 - (readbufferproc) 0, /* bf_getreadbuffer */ - (writebufferproc) 0, /* bf_getwritebuffer */ - (segcountproc) 0, /* bf_getsegcount */ - (charbufferproc) 0, /* bf_getcharbuffer */ -#endif - (getbufferproc) 0, /* bf_getbuffer */ - (releasebufferproc) 0, /* bf_releasebuffer */ - }, - (PyObject *) 0, /* ht_name */ - (PyObject *) 0, /* ht_slots */ -#if PY_VERSION_HEX >= 0x03030000 - (PyObject *) 0, /* ht_qualname */ - 0, /* ht_cached_keys */ + (PyObject *) 0, /* getitem */ + } #endif }; @@ -46336,7 +50109,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_ostream_destructor_closure, /* tp_dealloc */ +#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 @@ -46408,6 +50185,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -46508,6 +50288,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_ostreamT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_ostreamT_char_t_type}; @@ -46561,7 +50350,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_istream_destructor_closure, /* tp_dealloc */ +#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 @@ -46633,6 +50426,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -46733,6 +50529,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_istreamT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_istreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_istreamT_char_t_type}; @@ -46773,7 +50578,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iostreamT_char_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_iostream_destructor_closure, /* tp_dealloc */ +#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 @@ -46845,6 +50654,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iostreamT_char_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -46945,6 +50757,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__basic_iostreamT_char_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__basic_iostreamT_char_t_type}; @@ -47006,7 +50827,11 @@ static PyHeapTypeObject SwigPyBuiltin__swig__SwigPyIterator_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SwigPyIterator_destructor_closure, /* tp_dealloc */ +#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 @@ -47078,6 +50903,9 @@ static PyHeapTypeObject SwigPyBuiltin__swig__SwigPyIterator_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -47178,6 +51006,15 @@ static PyHeapTypeObject SwigPyBuiltin__swig__SwigPyIterator_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__swig__SwigPyIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__swig__SwigPyIterator_type}; @@ -47249,7 +51086,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorString_destructor_closure, /* tp_dealloc */ +#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 @@ -47321,6 +51162,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -47421,6 +51265,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_std__string_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_std__string_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_std__string_t_type}; @@ -47492,7 +51345,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorInt_destructor_closure,/* tp_dealloc */ +#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 @@ -47564,6 +51421,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -47664,6 +51524,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_int_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_int_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_int_t_type}; @@ -47735,7 +51604,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorUnsigned_destructor_closure, /* tp_dealloc */ +#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 @@ -47807,6 +51680,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -47907,6 +51783,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_unsigned_int_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_unsigned_int_t_type}; @@ -47978,7 +51863,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorDouble_destructor_closure, /* tp_dealloc */ +#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 @@ -48050,6 +51939,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -48150,248 +52042,273 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_double_t_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -}; - -SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_double_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_double_t_type}; - -static SwigPyGetSet VectorUint64t___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_uint64_t_t_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorUint64t___dict___getset }, - { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ -}; - -SWIGINTERN PyObject * -SwigPyBuiltin__std__vectorT_uint64_t_t_richcompare(PyObject *self, PyObject *other, int op) { - PyObject *result = NULL; - if (!result) { - if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { - result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); - } else { - result = Py_NotImplemented; - Py_INCREF(result); - } - } - return result; -} - -SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_uint64_t_t_methods[] = { - { "iterator", _wrap_VectorUint64t_iterator, METH_NOARGS, "" }, - { "__nonzero__", _wrap_VectorUint64t___nonzero__, METH_NOARGS, "" }, - { "__bool__", _wrap_VectorUint64t___bool__, METH_NOARGS, "" }, - { "__len__", _wrap_VectorUint64t___len__, METH_NOARGS, "" }, - { "__getslice__", _wrap_VectorUint64t___getslice__, METH_VARARGS, "" }, - { "__setslice__", _wrap_VectorUint64t___setslice__, METH_VARARGS, "" }, - { "__delslice__", _wrap_VectorUint64t___delslice__, METH_VARARGS, "" }, - { "__delitem__", _wrap_VectorUint64t___delitem__, METH_VARARGS, "" }, - { "__getitem__", _wrap_VectorUint64t___getitem__, METH_VARARGS, "" }, - { "__setitem__", _wrap_VectorUint64t___setitem__, METH_VARARGS, "" }, - { "pop", _wrap_VectorUint64t_pop, METH_NOARGS, "" }, - { "append", _wrap_VectorUint64t_append, METH_O, "" }, - { "empty", _wrap_VectorUint64t_empty, METH_NOARGS, "" }, - { "size", _wrap_VectorUint64t_size, METH_NOARGS, "" }, - { "swap", _wrap_VectorUint64t_swap, METH_O, "" }, - { "begin", _wrap_VectorUint64t_begin, METH_NOARGS, "" }, - { "end", _wrap_VectorUint64t_end, METH_NOARGS, "" }, - { "rbegin", _wrap_VectorUint64t_rbegin, METH_NOARGS, "" }, - { "rend", _wrap_VectorUint64t_rend, METH_NOARGS, "" }, - { "clear", _wrap_VectorUint64t_clear, METH_NOARGS, "" }, - { "get_allocator", _wrap_VectorUint64t_get_allocator, METH_NOARGS, "" }, - { "pop_back", _wrap_VectorUint64t_pop_back, METH_NOARGS, "" }, - { "resize", _wrap_VectorUint64t_resize, METH_VARARGS, "" }, - { "erase", _wrap_VectorUint64t_erase, METH_VARARGS, "" }, - { "push_back", _wrap_VectorUint64t_push_back, METH_O, "" }, - { "front", _wrap_VectorUint64t_front, METH_NOARGS, "" }, - { "back", _wrap_VectorUint64t_back, METH_NOARGS, "" }, - { "assign", _wrap_VectorUint64t_assign, METH_VARARGS, "" }, - { "insert", _wrap_VectorUint64t_insert, METH_VARARGS, "" }, - { "reserve", _wrap_VectorUint64t_reserve, METH_O, "" }, - { "capacity", _wrap_VectorUint64t_capacity, METH_NOARGS, "" }, - { NULL, NULL, 0, NULL } /* Sentinel */ -}; - -static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { - { -#if PY_VERSION_HEX >= 0x03000000 - PyVarObject_HEAD_INIT(NULL, 0) -#else - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ -#endif - "btllib.VectorUint64t", /* tp_name */ - sizeof(SwigPyObject), /* tp_basicsize */ - 0, /* tp_itemsize */ - _wrap_delete_VectorUint64t_destructor_closure, /* tp_dealloc */ - (printfunc) 0, /* tp_print */ - (getattrfunc) 0, /* tp_getattr */ - (setattrfunc) 0, /* tp_setattr */ -#if PY_VERSION_HEX >= 0x03000000 - 0, /* tp_compare */ -#else - (cmpfunc) 0, /* tp_compare */ -#endif - (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_mapping, /* tp_as_mapping */ - SwigPyObject_hash, /* tp_hash */ - (ternaryfunc) 0, /* tp_call */ - (reprfunc) 0, /* tp_str */ - (getattrofunc) 0, /* tp_getattro */ - (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_buffer, /* tp_as_buffer */ -#if PY_VERSION_HEX >= 0x03000000 - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ -#else - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ -#endif - "std::vector< uint64_t >", /* tp_doc */ - (traverseproc) 0, /* tp_traverse */ - (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__std__vectorT_uint64_t_t_richcompare, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - _wrap_VectorUint64t_iterator_getiterfunc_closure, /* tp_iter */ - (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__std__vectorT_uint64_t_t_methods, /* tp_methods */ - 0, /* tp_members */ - SwigPyBuiltin__std__vectorT_uint64_t_t_getset, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - (descrgetfunc) 0, /* tp_descr_get */ - (descrsetfunc) 0, /* tp_descr_set */ - offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_VectorUint64t, /* tp_init */ - (allocfunc) 0, /* tp_alloc */ - (newfunc) 0, /* tp_new */ - (freefunc) 0, /* tp_free */ - (inquiry) 0, /* tp_is_gc */ - (PyObject *) 0, /* tp_bases */ - (PyObject *) 0, /* tp_mro */ - (PyObject *) 0, /* tp_cache */ - (PyObject *) 0, /* tp_subclasses */ - (PyObject *) 0, /* tp_weaklist */ - (destructor) 0, /* tp_del */ - (int) 0, /* tp_version_tag */ -#if PY_VERSION_HEX >= 0x03040000 - (destructor) 0, /* tp_finalize */ -#endif -#if PY_VERSION_HEX >= 0x03080000 - (vectorcallfunc) 0, /* tp_vectorcall */ -#endif -#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) - 0, /* tp_print */ +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif +}; + +SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_double_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_double_t_type}; + +static SwigPyGetSet VectorUint64t___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__std__vectorT_uint64_t_t_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &VectorUint64t___dict___getset }, + { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ +}; + +SWIGINTERN PyObject * +SwigPyBuiltin__std__vectorT_uint64_t_t_richcompare(PyObject *self, PyObject *other, int op) { + PyObject *result = NULL; + if (!result) { + if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { + result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); + } else { + result = Py_NotImplemented; + Py_INCREF(result); + } + } + return result; +} + +SWIGINTERN PyMethodDef SwigPyBuiltin__std__vectorT_uint64_t_t_methods[] = { + { "iterator", _wrap_VectorUint64t_iterator, METH_NOARGS, "" }, + { "__nonzero__", _wrap_VectorUint64t___nonzero__, METH_NOARGS, "" }, + { "__bool__", _wrap_VectorUint64t___bool__, METH_NOARGS, "" }, + { "__len__", _wrap_VectorUint64t___len__, METH_NOARGS, "" }, + { "__getslice__", _wrap_VectorUint64t___getslice__, METH_VARARGS, "" }, + { "__setslice__", _wrap_VectorUint64t___setslice__, METH_VARARGS, "" }, + { "__delslice__", _wrap_VectorUint64t___delslice__, METH_VARARGS, "" }, + { "__delitem__", _wrap_VectorUint64t___delitem__, METH_VARARGS, "" }, + { "__getitem__", _wrap_VectorUint64t___getitem__, METH_VARARGS, "" }, + { "__setitem__", _wrap_VectorUint64t___setitem__, METH_VARARGS, "" }, + { "pop", _wrap_VectorUint64t_pop, METH_NOARGS, "" }, + { "append", _wrap_VectorUint64t_append, METH_O, "" }, + { "empty", _wrap_VectorUint64t_empty, METH_NOARGS, "" }, + { "size", _wrap_VectorUint64t_size, METH_NOARGS, "" }, + { "swap", _wrap_VectorUint64t_swap, METH_O, "" }, + { "begin", _wrap_VectorUint64t_begin, METH_NOARGS, "" }, + { "end", _wrap_VectorUint64t_end, METH_NOARGS, "" }, + { "rbegin", _wrap_VectorUint64t_rbegin, METH_NOARGS, "" }, + { "rend", _wrap_VectorUint64t_rend, METH_NOARGS, "" }, + { "clear", _wrap_VectorUint64t_clear, METH_NOARGS, "" }, + { "get_allocator", _wrap_VectorUint64t_get_allocator, METH_NOARGS, "" }, + { "pop_back", _wrap_VectorUint64t_pop_back, METH_NOARGS, "" }, + { "resize", _wrap_VectorUint64t_resize, METH_VARARGS, "" }, + { "erase", _wrap_VectorUint64t_erase, METH_VARARGS, "" }, + { "push_back", _wrap_VectorUint64t_push_back, METH_O, "" }, + { "front", _wrap_VectorUint64t_front, METH_NOARGS, "" }, + { "back", _wrap_VectorUint64t_back, METH_NOARGS, "" }, + { "assign", _wrap_VectorUint64t_assign, METH_VARARGS, "" }, + { "insert", _wrap_VectorUint64t_insert, METH_VARARGS, "" }, + { "reserve", _wrap_VectorUint64t_reserve, METH_O, "" }, + { "capacity", _wrap_VectorUint64t_capacity, METH_NOARGS, "" }, + { NULL, NULL, 0, NULL } /* Sentinel */ +}; + +static PyHeapTypeObject SwigPyBuiltin__std__vectorT_uint64_t_t_type = { + { +#if PY_VERSION_HEX >= 0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ +#endif + "btllib.VectorUint64t", /* tp_name */ + sizeof(SwigPyObject), /* tp_basicsize */ + 0, /* tp_itemsize */ + _wrap_delete_VectorUint64t_destructor_closure, /* tp_dealloc */ +#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 + 0, /* tp_compare */ +#else + (cmpfunc) 0, /* tp_compare */ +#endif + (reprfunc) 0, /* tp_repr */ + &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_mapping, /* tp_as_mapping */ + SwigPyObject_hash, /* tp_hash */ + (ternaryfunc) 0, /* tp_call */ + (reprfunc) 0, /* tp_str */ + (getattrofunc) 0, /* tp_getattro */ + (setattrofunc) 0, /* tp_setattro */ + &SwigPyBuiltin__std__vectorT_uint64_t_t_type.as_buffer, /* tp_as_buffer */ +#if PY_VERSION_HEX >= 0x03000000 + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ +#else + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ +#endif + "std::vector< uint64_t >", /* tp_doc */ + (traverseproc) 0, /* tp_traverse */ + (inquiry) 0, /* tp_clear */ + SwigPyBuiltin__std__vectorT_uint64_t_t_richcompare, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + _wrap_VectorUint64t_iterator_getiterfunc_closure, /* tp_iter */ + (iternextfunc) 0, /* tp_iternext */ + SwigPyBuiltin__std__vectorT_uint64_t_t_methods, /* tp_methods */ + 0, /* tp_members */ + SwigPyBuiltin__std__vectorT_uint64_t_t_getset, /* tp_getset */ + 0, /* tp_base */ + 0, /* tp_dict */ + (descrgetfunc) 0, /* tp_descr_get */ + (descrsetfunc) 0, /* tp_descr_set */ + offsetof(SwigPyObject, dict), /* tp_dictoffset */ + _wrap_new_VectorUint64t, /* tp_init */ + (allocfunc) 0, /* tp_alloc */ + (newfunc) 0, /* tp_new */ + (freefunc) 0, /* tp_free */ + (inquiry) 0, /* tp_is_gc */ + (PyObject *) 0, /* tp_bases */ + (PyObject *) 0, /* tp_mro */ + (PyObject *) 0, /* tp_cache */ + (PyObject *) 0, /* tp_subclasses */ + (PyObject *) 0, /* tp_weaklist */ + (destructor) 0, /* tp_del */ + (int) 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + (destructor) 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + (vectorcallfunc) 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + (Py_ssize_t) 0, /* tp_allocs */ + (Py_ssize_t) 0, /* tp_frees */ + (Py_ssize_t) 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0, /* tp_next */ +#endif + }, +#if PY_VERSION_HEX >= 0x03050000 + { + (unaryfunc) 0, /* am_await */ + (unaryfunc) 0, /* am_aiter */ + (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif + }, +#endif + { + (binaryfunc) 0, /* nb_add */ + (binaryfunc) 0, /* nb_subtract */ + (binaryfunc) 0, /* nb_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_divide */ +#endif + (binaryfunc) 0, /* nb_remainder */ + (binaryfunc) 0, /* nb_divmod */ + (ternaryfunc) 0, /* nb_power */ + (unaryfunc) 0, /* nb_negative */ + (unaryfunc) 0, /* nb_positive */ + (unaryfunc) 0, /* nb_absolute */ + _wrap_VectorUint64t___nonzero___inquiry_closure, /* nb_nonzero */ + (unaryfunc) 0, /* nb_invert */ + (binaryfunc) 0, /* nb_lshift */ + (binaryfunc) 0, /* nb_rshift */ + (binaryfunc) 0, /* nb_and */ + (binaryfunc) 0, /* nb_xor */ + (binaryfunc) 0, /* nb_or */ +#if PY_VERSION_HEX < 0x03000000 + (coercion) 0, /* nb_coerce */ +#endif + (unaryfunc) 0, /* nb_int */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* nb_reserved */ +#else + (unaryfunc) 0, /* nb_long */ +#endif + (unaryfunc) 0, /* nb_float */ +#if PY_VERSION_HEX < 0x03000000 + (unaryfunc) 0, /* nb_oct */ + (unaryfunc) 0, /* nb_hex */ +#endif + (binaryfunc) 0, /* nb_inplace_add */ + (binaryfunc) 0, /* nb_inplace_subtract */ + (binaryfunc) 0, /* nb_inplace_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_inplace_divide */ +#endif + (binaryfunc) 0, /* nb_inplace_remainder */ + (ternaryfunc) 0, /* nb_inplace_power */ + (binaryfunc) 0, /* nb_inplace_lshift */ + (binaryfunc) 0, /* nb_inplace_rshift */ + (binaryfunc) 0, /* nb_inplace_and */ + (binaryfunc) 0, /* nb_inplace_xor */ + (binaryfunc) 0, /* nb_inplace_or */ + (binaryfunc) 0, /* nb_floor_divide */ + (binaryfunc) 0, /* nb_true_divide */ + (binaryfunc) 0, /* nb_inplace_floor_divide */ + (binaryfunc) 0, /* nb_inplace_true_divide */ + (unaryfunc) 0, /* nb_index */ +#if PY_VERSION_HEX >= 0x03050000 + (binaryfunc) 0, /* nb_matrix_multiply */ + (binaryfunc) 0, /* nb_inplace_matrix_multiply */ +#endif + }, + { + (lenfunc) 0, /* mp_length */ + _wrap_VectorUint64t___getitem___binaryfunc_closure, /* mp_subscript */ + _wrap_VectorUint64t___setitem___objobjargproc_closure, /* mp_ass_subscript */ + }, + { + _wrap_VectorUint64t___len___lenfunc_closure, /* sq_length */ + (binaryfunc) 0, /* sq_concat */ + (ssizeargfunc) 0, /* sq_repeat */ + (ssizeargfunc) 0, /* sq_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_slice */ +#else + (ssizessizeargfunc) 0, /* sq_slice */ +#endif + (ssizeobjargproc) 0, /* sq_ass_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_ass_slice */ +#else + (ssizessizeobjargproc) 0, /* sq_ass_slice */ +#endif + (objobjproc) 0, /* sq_contains */ + (binaryfunc) 0, /* sq_inplace_concat */ + (ssizeargfunc) 0, /* sq_inplace_repeat */ + }, + { +#if PY_VERSION_HEX < 0x03000000 + (readbufferproc) 0, /* bf_getreadbuffer */ + (writebufferproc) 0, /* bf_getwritebuffer */ + (segcountproc) 0, /* bf_getsegcount */ + (charbufferproc) 0, /* bf_getcharbuffer */ +#endif + (getbufferproc) 0, /* bf_getbuffer */ + (releasebufferproc) 0, /* bf_releasebuffer */ + }, + (PyObject *) 0, /* ht_name */ + (PyObject *) 0, /* ht_slots */ +#if PY_VERSION_HEX >= 0x03030000 + (PyObject *) 0, /* ht_qualname */ + 0, /* ht_cached_keys */ +#endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ #endif -#ifdef COUNT_ALLOCS - (Py_ssize_t) 0, /* tp_allocs */ - (Py_ssize_t) 0, /* tp_frees */ - (Py_ssize_t) 0, /* tp_maxalloc */ - 0, /* tp_prev */ - 0, /* tp_next */ -#endif - }, -#if PY_VERSION_HEX >= 0x03050000 - { - (unaryfunc) 0, /* am_await */ - (unaryfunc) 0, /* am_aiter */ - (unaryfunc) 0, /* am_anext */ - }, -#endif - { - (binaryfunc) 0, /* nb_add */ - (binaryfunc) 0, /* nb_subtract */ - (binaryfunc) 0, /* nb_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_divide */ -#endif - (binaryfunc) 0, /* nb_remainder */ - (binaryfunc) 0, /* nb_divmod */ - (ternaryfunc) 0, /* nb_power */ - (unaryfunc) 0, /* nb_negative */ - (unaryfunc) 0, /* nb_positive */ - (unaryfunc) 0, /* nb_absolute */ - _wrap_VectorUint64t___nonzero___inquiry_closure, /* nb_nonzero */ - (unaryfunc) 0, /* nb_invert */ - (binaryfunc) 0, /* nb_lshift */ - (binaryfunc) 0, /* nb_rshift */ - (binaryfunc) 0, /* nb_and */ - (binaryfunc) 0, /* nb_xor */ - (binaryfunc) 0, /* nb_or */ -#if PY_VERSION_HEX < 0x03000000 - (coercion) 0, /* nb_coerce */ -#endif - (unaryfunc) 0, /* nb_int */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* nb_reserved */ -#else - (unaryfunc) 0, /* nb_long */ -#endif - (unaryfunc) 0, /* nb_float */ -#if PY_VERSION_HEX < 0x03000000 - (unaryfunc) 0, /* nb_oct */ - (unaryfunc) 0, /* nb_hex */ -#endif - (binaryfunc) 0, /* nb_inplace_add */ - (binaryfunc) 0, /* nb_inplace_subtract */ - (binaryfunc) 0, /* nb_inplace_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_inplace_divide */ -#endif - (binaryfunc) 0, /* nb_inplace_remainder */ - (ternaryfunc) 0, /* nb_inplace_power */ - (binaryfunc) 0, /* nb_inplace_lshift */ - (binaryfunc) 0, /* nb_inplace_rshift */ - (binaryfunc) 0, /* nb_inplace_and */ - (binaryfunc) 0, /* nb_inplace_xor */ - (binaryfunc) 0, /* nb_inplace_or */ - (binaryfunc) 0, /* nb_floor_divide */ - (binaryfunc) 0, /* nb_true_divide */ - (binaryfunc) 0, /* nb_inplace_floor_divide */ - (binaryfunc) 0, /* nb_inplace_true_divide */ - (unaryfunc) 0, /* nb_index */ -#if PY_VERSION_HEX >= 0x03050000 - (binaryfunc) 0, /* nb_matrix_multiply */ - (binaryfunc) 0, /* nb_inplace_matrix_multiply */ -#endif - }, - { - (lenfunc) 0, /* mp_length */ - _wrap_VectorUint64t___getitem___binaryfunc_closure, /* mp_subscript */ - _wrap_VectorUint64t___setitem___objobjargproc_closure, /* mp_ass_subscript */ - }, - { - _wrap_VectorUint64t___len___lenfunc_closure, /* sq_length */ - (binaryfunc) 0, /* sq_concat */ - (ssizeargfunc) 0, /* sq_repeat */ - (ssizeargfunc) 0, /* sq_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_slice */ -#else - (ssizessizeargfunc) 0, /* sq_slice */ -#endif - (ssizeobjargproc) 0, /* sq_ass_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_ass_slice */ -#else - (ssizessizeobjargproc) 0, /* sq_ass_slice */ -#endif - (objobjproc) 0, /* sq_contains */ - (binaryfunc) 0, /* sq_inplace_concat */ - (ssizeargfunc) 0, /* sq_inplace_repeat */ - }, +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ { -#if PY_VERSION_HEX < 0x03000000 - (readbufferproc) 0, /* bf_getreadbuffer */ - (writebufferproc) 0, /* bf_getwritebuffer */ - (segcountproc) 0, /* bf_getsegcount */ - (charbufferproc) 0, /* bf_getcharbuffer */ -#endif - (getbufferproc) 0, /* bf_getbuffer */ - (releasebufferproc) 0, /* bf_releasebuffer */ - }, - (PyObject *) 0, /* ht_name */ - (PyObject *) 0, /* ht_slots */ -#if PY_VERSION_HEX >= 0x03030000 - (PyObject *) 0, /* ht_qualname */ - 0, /* ht_cached_keys */ + (PyObject *) 0, /* getitem */ + } #endif }; @@ -48464,7 +52381,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorMinimizer_destructor_closure, /* tp_dealloc */ +#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 @@ -48536,6 +52457,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -48636,6 +52560,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_type}; @@ -48707,7 +52640,11 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_VectorSpacedSeed_destructor_closure, /* tp_dealloc */ +#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 @@ -48779,6 +52716,9 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -48879,6 +52819,15 @@ static PyHeapTypeObject SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_type}; @@ -48907,6 +52856,7 @@ SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr_methods[] = { { "output_id", _wrap_Indexlr_output_id, METH_NOARGS, "" }, { "output_bx", _wrap_Indexlr_output_bx, METH_NOARGS, "" }, { "output_seq", _wrap_Indexlr_output_seq, METH_NOARGS, "" }, + { "output_qual", _wrap_Indexlr_output_qual, METH_NOARGS, "" }, { "filter_in", _wrap_Indexlr_filter_in, METH_NOARGS, "" }, { "filter_out", _wrap_Indexlr_filter_out, METH_NOARGS, "" }, { "short_mode", _wrap_Indexlr_short_mode, METH_NOARGS, "" }, @@ -48931,7 +52881,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_Indexlr_destructor_closure, /* tp_dealloc */ +#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 @@ -49003,6 +52957,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -49103,6 +53060,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr_type}; @@ -49143,7 +53109,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_IndexlrFlag_destructor_closure, /* tp_dealloc */ +#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 @@ -49215,6 +53185,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -49315,23 +53288,34 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Flag_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Flag_type}; -static SwigPyGetSet Minimizer_pos_getset = { _wrap_Minimizer_pos_get, _wrap_Minimizer_pos_set }; -static SwigPyGetSet Minimizer_forward_getset = { _wrap_Minimizer_forward_get, _wrap_Minimizer_forward_set }; -static SwigPyGetSet Minimizer_out_hash_getset = { _wrap_Minimizer_out_hash_get, _wrap_Minimizer_out_hash_set }; static SwigPyGetSet Minimizer___dict___getset = { SwigPyObject_get___dict__, 0 }; static SwigPyGetSet Minimizer_min_hash_getset = { _wrap_Minimizer_min_hash_get, _wrap_Minimizer_min_hash_set }; static SwigPyGetSet Minimizer_seq_getset = { _wrap_Minimizer_seq_get, _wrap_Minimizer_seq_set }; +static SwigPyGetSet Minimizer_out_hash_getset = { _wrap_Minimizer_out_hash_get, _wrap_Minimizer_out_hash_set }; +static SwigPyGetSet Minimizer_forward_getset = { _wrap_Minimizer_forward_get, _wrap_Minimizer_forward_set }; +static SwigPyGetSet Minimizer_pos_getset = { _wrap_Minimizer_pos_get, _wrap_Minimizer_pos_set }; +static SwigPyGetSet Minimizer_qual_getset = { _wrap_Minimizer_qual_get, _wrap_Minimizer_qual_set }; SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Minimizer_getset[] = { - { (char *)"pos", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_pos_getset }, - { (char *)"forward", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_forward_getset }, - { (char *)"out_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_out_hash_getset }, { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Minimizer___dict___getset }, { (char *)"min_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_min_hash_getset }, { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_seq_getset }, + { (char *)"out_hash", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_out_hash_getset }, + { (char *)"forward", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_forward_getset }, + { (char *)"pos", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_pos_getset }, + { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Minimizer_qual_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; @@ -49365,7 +53349,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_Minimizer_destructor_closure,/* tp_dealloc */ +#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 @@ -49437,6 +53425,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -49537,228 +53528,253 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Minimizer_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -}; - -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Minimizer_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Minimizer_type}; - -static SwigPyGetSet IndexlrRecord_minimizers_getset = { _wrap_IndexlrRecord_minimizers_get, _wrap_IndexlrRecord_minimizers_set }; -static SwigPyGetSet IndexlrRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet IndexlrRecord_num_getset = { _wrap_IndexlrRecord_num_get, _wrap_IndexlrRecord_num_set }; -static SwigPyGetSet IndexlrRecord_id_getset = { _wrap_IndexlrRecord_id_get, _wrap_IndexlrRecord_id_set }; -static SwigPyGetSet IndexlrRecord_readlen_getset = { _wrap_IndexlrRecord_readlen_get, _wrap_IndexlrRecord_readlen_set }; -static SwigPyGetSet IndexlrRecord_barcode_getset = { _wrap_IndexlrRecord_barcode_get, _wrap_IndexlrRecord_barcode_set }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Record_getset[] = { - { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_minimizers_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecord___dict___getset }, - { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_num_getset }, - { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_id_getset }, - { (char *)"readlen", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_readlen_getset }, - { (char *)"barcode", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_barcode_getset }, - { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ -}; - -SWIGINTERN PyObject * -SwigPyBuiltin__btllib__Indexlr__Record_richcompare(PyObject *self, PyObject *other, int op) { - PyObject *result = NULL; - if (!result) { - if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { - result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); - } else { - result = Py_NotImplemented; - Py_INCREF(result); - } - } - return result; -} - -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__Record_methods[] = { - { "__nonzero__", _wrap_IndexlrRecord___nonzero__, METH_NOARGS, "" }, - { NULL, NULL, 0, NULL } /* Sentinel */ -}; - -static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { - { -#if PY_VERSION_HEX >= 0x03000000 - PyVarObject_HEAD_INIT(NULL, 0) -#else - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ -#endif - "btllib.IndexlrRecord", /* tp_name */ - sizeof(SwigPyObject), /* tp_basicsize */ - 0, /* tp_itemsize */ - _wrap_delete_IndexlrRecord_destructor_closure, /* tp_dealloc */ - (printfunc) 0, /* tp_print */ - (getattrfunc) 0, /* tp_getattr */ - (setattrfunc) 0, /* tp_setattr */ -#if PY_VERSION_HEX >= 0x03000000 - 0, /* tp_compare */ -#else - (cmpfunc) 0, /* tp_compare */ -#endif - (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_mapping, /* tp_as_mapping */ - SwigPyObject_hash, /* tp_hash */ - (ternaryfunc) 0, /* tp_call */ - (reprfunc) 0, /* tp_str */ - (getattrofunc) 0, /* tp_getattro */ - (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__Indexlr__Record_type.as_buffer, /* tp_as_buffer */ -#if PY_VERSION_HEX >= 0x03000000 - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ -#else - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ -#endif - "btllib::Indexlr::Record", /* tp_doc */ - (traverseproc) 0, /* tp_traverse */ - (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__Indexlr__Record_richcompare, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ - (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__Indexlr__Record_methods, /* tp_methods */ - 0, /* tp_members */ - SwigPyBuiltin__btllib__Indexlr__Record_getset, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - (descrgetfunc) 0, /* tp_descr_get */ - (descrsetfunc) 0, /* tp_descr_set */ - offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_IndexlrRecord, /* tp_init */ - (allocfunc) 0, /* tp_alloc */ - (newfunc) 0, /* tp_new */ - (freefunc) 0, /* tp_free */ - (inquiry) 0, /* tp_is_gc */ - (PyObject *) 0, /* tp_bases */ - (PyObject *) 0, /* tp_mro */ - (PyObject *) 0, /* tp_cache */ - (PyObject *) 0, /* tp_subclasses */ - (PyObject *) 0, /* tp_weaklist */ - (destructor) 0, /* tp_del */ - (int) 0, /* tp_version_tag */ -#if PY_VERSION_HEX >= 0x03040000 - (destructor) 0, /* tp_finalize */ -#endif -#if PY_VERSION_HEX >= 0x03080000 - (vectorcallfunc) 0, /* tp_vectorcall */ -#endif -#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) - 0, /* tp_print */ -#endif -#ifdef COUNT_ALLOCS - (Py_ssize_t) 0, /* tp_allocs */ - (Py_ssize_t) 0, /* tp_frees */ - (Py_ssize_t) 0, /* tp_maxalloc */ - 0, /* tp_prev */ - 0, /* tp_next */ -#endif - }, -#if PY_VERSION_HEX >= 0x03050000 - { - (unaryfunc) 0, /* am_await */ - (unaryfunc) 0, /* am_aiter */ - (unaryfunc) 0, /* am_anext */ - }, -#endif - { - (binaryfunc) 0, /* nb_add */ - (binaryfunc) 0, /* nb_subtract */ - (binaryfunc) 0, /* nb_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_divide */ +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif +}; + +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__Minimizer_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__Minimizer_type}; + +static SwigPyGetSet IndexlrRecord_num_getset = { _wrap_IndexlrRecord_num_get, _wrap_IndexlrRecord_num_set }; +static SwigPyGetSet IndexlrRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; +static SwigPyGetSet IndexlrRecord_minimizers_getset = { _wrap_IndexlrRecord_minimizers_get, _wrap_IndexlrRecord_minimizers_set }; +static SwigPyGetSet IndexlrRecord_readlen_getset = { _wrap_IndexlrRecord_readlen_get, _wrap_IndexlrRecord_readlen_set }; +static SwigPyGetSet IndexlrRecord_id_getset = { _wrap_IndexlrRecord_id_get, _wrap_IndexlrRecord_id_set }; +static SwigPyGetSet IndexlrRecord_barcode_getset = { _wrap_IndexlrRecord_barcode_get, _wrap_IndexlrRecord_barcode_set }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Indexlr__Record_getset[] = { + { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_num_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &IndexlrRecord___dict___getset }, + { (char *)"minimizers", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_minimizers_getset }, + { (char *)"readlen", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_readlen_getset }, + { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_id_getset }, + { (char *)"barcode", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &IndexlrRecord_barcode_getset }, + { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ +}; + +SWIGINTERN PyObject * +SwigPyBuiltin__btllib__Indexlr__Record_richcompare(PyObject *self, PyObject *other, int op) { + PyObject *result = NULL; + if (!result) { + if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { + result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); + } else { + result = Py_NotImplemented; + Py_INCREF(result); + } + } + return result; +} + +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__Indexlr__Record_methods[] = { + { "__nonzero__", _wrap_IndexlrRecord___nonzero__, METH_NOARGS, "" }, + { NULL, NULL, 0, NULL } /* Sentinel */ +}; + +static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__Record_type = { + { +#if PY_VERSION_HEX >= 0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ +#endif + "btllib.IndexlrRecord", /* tp_name */ + sizeof(SwigPyObject), /* tp_basicsize */ + 0, /* tp_itemsize */ + _wrap_delete_IndexlrRecord_destructor_closure, /* tp_dealloc */ +#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 + 0, /* tp_compare */ +#else + (cmpfunc) 0, /* tp_compare */ +#endif + (reprfunc) 0, /* tp_repr */ + &SwigPyBuiltin__btllib__Indexlr__Record_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__Indexlr__Record_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__Indexlr__Record_type.as_mapping, /* tp_as_mapping */ + SwigPyObject_hash, /* tp_hash */ + (ternaryfunc) 0, /* tp_call */ + (reprfunc) 0, /* tp_str */ + (getattrofunc) 0, /* tp_getattro */ + (setattrofunc) 0, /* tp_setattro */ + &SwigPyBuiltin__btllib__Indexlr__Record_type.as_buffer, /* tp_as_buffer */ +#if PY_VERSION_HEX >= 0x03000000 + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ +#else + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ +#endif + "btllib::Indexlr::Record", /* tp_doc */ + (traverseproc) 0, /* tp_traverse */ + (inquiry) 0, /* tp_clear */ + SwigPyBuiltin__btllib__Indexlr__Record_richcompare, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + (getiterfunc) 0, /* tp_iter */ + (iternextfunc) 0, /* tp_iternext */ + SwigPyBuiltin__btllib__Indexlr__Record_methods, /* tp_methods */ + 0, /* tp_members */ + SwigPyBuiltin__btllib__Indexlr__Record_getset, /* tp_getset */ + 0, /* tp_base */ + 0, /* tp_dict */ + (descrgetfunc) 0, /* tp_descr_get */ + (descrsetfunc) 0, /* tp_descr_set */ + offsetof(SwigPyObject, dict), /* tp_dictoffset */ + _wrap_new_IndexlrRecord, /* tp_init */ + (allocfunc) 0, /* tp_alloc */ + (newfunc) 0, /* tp_new */ + (freefunc) 0, /* tp_free */ + (inquiry) 0, /* tp_is_gc */ + (PyObject *) 0, /* tp_bases */ + (PyObject *) 0, /* tp_mro */ + (PyObject *) 0, /* tp_cache */ + (PyObject *) 0, /* tp_subclasses */ + (PyObject *) 0, /* tp_weaklist */ + (destructor) 0, /* tp_del */ + (int) 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + (destructor) 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + (vectorcallfunc) 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + (Py_ssize_t) 0, /* tp_allocs */ + (Py_ssize_t) 0, /* tp_frees */ + (Py_ssize_t) 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0, /* tp_next */ +#endif + }, +#if PY_VERSION_HEX >= 0x03050000 + { + (unaryfunc) 0, /* am_await */ + (unaryfunc) 0, /* am_aiter */ + (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif + }, +#endif + { + (binaryfunc) 0, /* nb_add */ + (binaryfunc) 0, /* nb_subtract */ + (binaryfunc) 0, /* nb_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_divide */ +#endif + (binaryfunc) 0, /* nb_remainder */ + (binaryfunc) 0, /* nb_divmod */ + (ternaryfunc) 0, /* nb_power */ + (unaryfunc) 0, /* nb_negative */ + (unaryfunc) 0, /* nb_positive */ + (unaryfunc) 0, /* nb_absolute */ + _wrap_IndexlrRecord___nonzero___inquiry_closure, /* nb_nonzero */ + (unaryfunc) 0, /* nb_invert */ + (binaryfunc) 0, /* nb_lshift */ + (binaryfunc) 0, /* nb_rshift */ + (binaryfunc) 0, /* nb_and */ + (binaryfunc) 0, /* nb_xor */ + (binaryfunc) 0, /* nb_or */ +#if PY_VERSION_HEX < 0x03000000 + (coercion) 0, /* nb_coerce */ +#endif + (unaryfunc) 0, /* nb_int */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* nb_reserved */ +#else + (unaryfunc) 0, /* nb_long */ +#endif + (unaryfunc) 0, /* nb_float */ +#if PY_VERSION_HEX < 0x03000000 + (unaryfunc) 0, /* nb_oct */ + (unaryfunc) 0, /* nb_hex */ +#endif + (binaryfunc) 0, /* nb_inplace_add */ + (binaryfunc) 0, /* nb_inplace_subtract */ + (binaryfunc) 0, /* nb_inplace_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_inplace_divide */ +#endif + (binaryfunc) 0, /* nb_inplace_remainder */ + (ternaryfunc) 0, /* nb_inplace_power */ + (binaryfunc) 0, /* nb_inplace_lshift */ + (binaryfunc) 0, /* nb_inplace_rshift */ + (binaryfunc) 0, /* nb_inplace_and */ + (binaryfunc) 0, /* nb_inplace_xor */ + (binaryfunc) 0, /* nb_inplace_or */ + (binaryfunc) 0, /* nb_floor_divide */ + (binaryfunc) 0, /* nb_true_divide */ + (binaryfunc) 0, /* nb_inplace_floor_divide */ + (binaryfunc) 0, /* nb_inplace_true_divide */ + (unaryfunc) 0, /* nb_index */ +#if PY_VERSION_HEX >= 0x03050000 + (binaryfunc) 0, /* nb_matrix_multiply */ + (binaryfunc) 0, /* nb_inplace_matrix_multiply */ +#endif + }, + { + (lenfunc) 0, /* mp_length */ + (binaryfunc) 0, /* mp_subscript */ + (objobjargproc) 0, /* mp_ass_subscript */ + }, + { + (lenfunc) 0, /* sq_length */ + (binaryfunc) 0, /* sq_concat */ + (ssizeargfunc) 0, /* sq_repeat */ + (ssizeargfunc) 0, /* sq_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_slice */ +#else + (ssizessizeargfunc) 0, /* sq_slice */ +#endif + (ssizeobjargproc) 0, /* sq_ass_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_ass_slice */ +#else + (ssizessizeobjargproc) 0, /* sq_ass_slice */ +#endif + (objobjproc) 0, /* sq_contains */ + (binaryfunc) 0, /* sq_inplace_concat */ + (ssizeargfunc) 0, /* sq_inplace_repeat */ + }, + { +#if PY_VERSION_HEX < 0x03000000 + (readbufferproc) 0, /* bf_getreadbuffer */ + (writebufferproc) 0, /* bf_getwritebuffer */ + (segcountproc) 0, /* bf_getsegcount */ + (charbufferproc) 0, /* bf_getcharbuffer */ +#endif + (getbufferproc) 0, /* bf_getbuffer */ + (releasebufferproc) 0, /* bf_releasebuffer */ + }, + (PyObject *) 0, /* ht_name */ + (PyObject *) 0, /* ht_slots */ +#if PY_VERSION_HEX >= 0x03030000 + (PyObject *) 0, /* ht_qualname */ + 0, /* ht_cached_keys */ +#endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ #endif - (binaryfunc) 0, /* nb_remainder */ - (binaryfunc) 0, /* nb_divmod */ - (ternaryfunc) 0, /* nb_power */ - (unaryfunc) 0, /* nb_negative */ - (unaryfunc) 0, /* nb_positive */ - (unaryfunc) 0, /* nb_absolute */ - _wrap_IndexlrRecord___nonzero___inquiry_closure, /* nb_nonzero */ - (unaryfunc) 0, /* nb_invert */ - (binaryfunc) 0, /* nb_lshift */ - (binaryfunc) 0, /* nb_rshift */ - (binaryfunc) 0, /* nb_and */ - (binaryfunc) 0, /* nb_xor */ - (binaryfunc) 0, /* nb_or */ -#if PY_VERSION_HEX < 0x03000000 - (coercion) 0, /* nb_coerce */ -#endif - (unaryfunc) 0, /* nb_int */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* nb_reserved */ -#else - (unaryfunc) 0, /* nb_long */ -#endif - (unaryfunc) 0, /* nb_float */ -#if PY_VERSION_HEX < 0x03000000 - (unaryfunc) 0, /* nb_oct */ - (unaryfunc) 0, /* nb_hex */ -#endif - (binaryfunc) 0, /* nb_inplace_add */ - (binaryfunc) 0, /* nb_inplace_subtract */ - (binaryfunc) 0, /* nb_inplace_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_inplace_divide */ -#endif - (binaryfunc) 0, /* nb_inplace_remainder */ - (ternaryfunc) 0, /* nb_inplace_power */ - (binaryfunc) 0, /* nb_inplace_lshift */ - (binaryfunc) 0, /* nb_inplace_rshift */ - (binaryfunc) 0, /* nb_inplace_and */ - (binaryfunc) 0, /* nb_inplace_xor */ - (binaryfunc) 0, /* nb_inplace_or */ - (binaryfunc) 0, /* nb_floor_divide */ - (binaryfunc) 0, /* nb_true_divide */ - (binaryfunc) 0, /* nb_inplace_floor_divide */ - (binaryfunc) 0, /* nb_inplace_true_divide */ - (unaryfunc) 0, /* nb_index */ -#if PY_VERSION_HEX >= 0x03050000 - (binaryfunc) 0, /* nb_matrix_multiply */ - (binaryfunc) 0, /* nb_inplace_matrix_multiply */ -#endif - }, - { - (lenfunc) 0, /* mp_length */ - (binaryfunc) 0, /* mp_subscript */ - (objobjargproc) 0, /* mp_ass_subscript */ - }, +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ { - (lenfunc) 0, /* sq_length */ - (binaryfunc) 0, /* sq_concat */ - (ssizeargfunc) 0, /* sq_repeat */ - (ssizeargfunc) 0, /* sq_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_slice */ -#else - (ssizessizeargfunc) 0, /* sq_slice */ -#endif - (ssizeobjargproc) 0, /* sq_ass_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_ass_slice */ -#else - (ssizessizeobjargproc) 0, /* sq_ass_slice */ -#endif - (objobjproc) 0, /* sq_contains */ - (binaryfunc) 0, /* sq_inplace_concat */ - (ssizeargfunc) 0, /* sq_inplace_repeat */ - }, - { -#if PY_VERSION_HEX < 0x03000000 - (readbufferproc) 0, /* bf_getreadbuffer */ - (writebufferproc) 0, /* bf_getwritebuffer */ - (segcountproc) 0, /* bf_getsegcount */ - (charbufferproc) 0, /* bf_getcharbuffer */ -#endif - (getbufferproc) 0, /* bf_getbuffer */ - (releasebufferproc) 0, /* bf_releasebuffer */ - }, - (PyObject *) 0, /* ht_name */ - (PyObject *) 0, /* ht_slots */ -#if PY_VERSION_HEX >= 0x03030000 - (PyObject *) 0, /* ht_qualname */ - 0, /* ht_cached_keys */ + (PyObject *) 0, /* getitem */ + } #endif }; @@ -49801,7 +53817,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_IndexlrRecordIterator_destructor_closure, /* tp_dealloc */ +#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 @@ -49873,6 +53893,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -49973,6 +53996,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Indexlr__RecordIterator_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Indexlr__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Indexlr__RecordIterator_type}; @@ -50025,7 +54057,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_BloomFilter_destructor_closure, /* tp_dealloc */ +#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 @@ -50097,6 +54133,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -50197,6 +54236,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BloomFilter_type}; @@ -50250,7 +54298,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_KmerBloomFilter_destructor_closure, /* tp_dealloc */ +#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 @@ -50322,6 +54374,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -50422,6 +54477,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerBloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerBloomFilter_type}; @@ -50479,7 +54543,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeedBloomFilter_destructor_closure, /* tp_dealloc */ +#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 @@ -50551,6 +54619,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -50651,6 +54722,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedBloomFilter_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedBloomFilter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedBloomFilter_type}; @@ -50703,7 +54783,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeqReader_destructor_closure,/* tp_dealloc */ +#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 @@ -50775,6 +54859,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -50875,6 +54962,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader_type}; @@ -50915,7 +55011,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeqReaderFlag_destructor_closure, /* tp_dealloc */ +#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 @@ -50987,6 +55087,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -51087,23 +55190,32 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Flag_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Flag_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Flag_type}; -static SwigPyGetSet SeqReaderRecord_qual_getset = { _wrap_SeqReaderRecord_qual_get, _wrap_SeqReaderRecord_qual_set }; -static SwigPyGetSet SeqReaderRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; static SwigPyGetSet SeqReaderRecord_num_getset = { _wrap_SeqReaderRecord_num_get, _wrap_SeqReaderRecord_num_set }; -static SwigPyGetSet SeqReaderRecord_id_getset = { _wrap_SeqReaderRecord_id_get, _wrap_SeqReaderRecord_id_set }; +static SwigPyGetSet SeqReaderRecord___dict___getset = { SwigPyObject_get___dict__, 0 }; static SwigPyGetSet SeqReaderRecord_comment_getset = { _wrap_SeqReaderRecord_comment_get, _wrap_SeqReaderRecord_comment_set }; static SwigPyGetSet SeqReaderRecord_seq_getset = { _wrap_SeqReaderRecord_seq_get, _wrap_SeqReaderRecord_seq_set }; +static SwigPyGetSet SeqReaderRecord_id_getset = { _wrap_SeqReaderRecord_id_get, _wrap_SeqReaderRecord_id_set }; +static SwigPyGetSet SeqReaderRecord_qual_getset = { _wrap_SeqReaderRecord_qual_get, _wrap_SeqReaderRecord_qual_set }; SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqReader__Record_getset[] = { - { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_qual_getset }, - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecord___dict___getset }, { (char *)"num", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_num_getset }, - { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_id_getset }, + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqReaderRecord___dict___getset }, { (char *)"comment", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_comment_getset }, { (char *)"seq", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_seq_getset }, + { (char *)"id", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_id_getset }, + { (char *)"qual", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &SeqReaderRecord_qual_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; @@ -51138,7 +55250,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeqReaderRecord_destructor_closure, /* tp_dealloc */ +#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 @@ -51210,6 +55326,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -51310,6 +55429,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__Record_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__Record_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__Record_type}; @@ -51351,7 +55479,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeqReaderRecordIterator_destructor_closure, /* tp_dealloc */ +#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 @@ -51423,6 +55555,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -51523,6 +55658,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeqReader__RecordIterator_type = (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqReader__RecordIterator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqReader__RecordIterator_type}; @@ -51564,7 +55708,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_Barrier_destructor_closure, /* tp_dealloc */ +#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 @@ -51636,6 +55784,241 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif + }, +#endif + { + (binaryfunc) 0, /* nb_add */ + (binaryfunc) 0, /* nb_subtract */ + (binaryfunc) 0, /* nb_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_divide */ +#endif + (binaryfunc) 0, /* nb_remainder */ + (binaryfunc) 0, /* nb_divmod */ + (ternaryfunc) 0, /* nb_power */ + (unaryfunc) 0, /* nb_negative */ + (unaryfunc) 0, /* nb_positive */ + (unaryfunc) 0, /* nb_absolute */ + (inquiry) 0, /* nb_nonzero */ + (unaryfunc) 0, /* nb_invert */ + (binaryfunc) 0, /* nb_lshift */ + (binaryfunc) 0, /* nb_rshift */ + (binaryfunc) 0, /* nb_and */ + (binaryfunc) 0, /* nb_xor */ + (binaryfunc) 0, /* nb_or */ +#if PY_VERSION_HEX < 0x03000000 + (coercion) 0, /* nb_coerce */ +#endif + (unaryfunc) 0, /* nb_int */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* nb_reserved */ +#else + (unaryfunc) 0, /* nb_long */ +#endif + (unaryfunc) 0, /* nb_float */ +#if PY_VERSION_HEX < 0x03000000 + (unaryfunc) 0, /* nb_oct */ + (unaryfunc) 0, /* nb_hex */ +#endif + (binaryfunc) 0, /* nb_inplace_add */ + (binaryfunc) 0, /* nb_inplace_subtract */ + (binaryfunc) 0, /* nb_inplace_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_inplace_divide */ +#endif + (binaryfunc) 0, /* nb_inplace_remainder */ + (ternaryfunc) 0, /* nb_inplace_power */ + (binaryfunc) 0, /* nb_inplace_lshift */ + (binaryfunc) 0, /* nb_inplace_rshift */ + (binaryfunc) 0, /* nb_inplace_and */ + (binaryfunc) 0, /* nb_inplace_xor */ + (binaryfunc) 0, /* nb_inplace_or */ + (binaryfunc) 0, /* nb_floor_divide */ + (binaryfunc) 0, /* nb_true_divide */ + (binaryfunc) 0, /* nb_inplace_floor_divide */ + (binaryfunc) 0, /* nb_inplace_true_divide */ + (unaryfunc) 0, /* nb_index */ +#if PY_VERSION_HEX >= 0x03050000 + (binaryfunc) 0, /* nb_matrix_multiply */ + (binaryfunc) 0, /* nb_inplace_matrix_multiply */ +#endif + }, + { + (lenfunc) 0, /* mp_length */ + (binaryfunc) 0, /* mp_subscript */ + (objobjargproc) 0, /* mp_ass_subscript */ + }, + { + (lenfunc) 0, /* sq_length */ + (binaryfunc) 0, /* sq_concat */ + (ssizeargfunc) 0, /* sq_repeat */ + (ssizeargfunc) 0, /* sq_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_slice */ +#else + (ssizessizeargfunc) 0, /* sq_slice */ +#endif + (ssizeobjargproc) 0, /* sq_ass_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_ass_slice */ +#else + (ssizessizeobjargproc) 0, /* sq_ass_slice */ +#endif + (objobjproc) 0, /* sq_contains */ + (binaryfunc) 0, /* sq_inplace_concat */ + (ssizeargfunc) 0, /* sq_inplace_repeat */ + }, + { +#if PY_VERSION_HEX < 0x03000000 + (readbufferproc) 0, /* bf_getreadbuffer */ + (writebufferproc) 0, /* bf_getwritebuffer */ + (segcountproc) 0, /* bf_getsegcount */ + (charbufferproc) 0, /* bf_getcharbuffer */ +#endif + (getbufferproc) 0, /* bf_getbuffer */ + (releasebufferproc) 0, /* bf_releasebuffer */ + }, + (PyObject *) 0, /* ht_name */ + (PyObject *) 0, /* ht_slots */ +#if PY_VERSION_HEX >= 0x03030000 + (PyObject *) 0, /* ht_qualname */ + 0, /* ht_cached_keys */ +#endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif +}; + +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Barrier_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Barrier_type}; + +static SwigPyGetSet SeqWriter___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqWriter_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqWriter___dict___getset }, + { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ +}; + +SWIGINTERN PyObject * +SwigPyBuiltin__btllib__SeqWriter_richcompare(PyObject *self, PyObject *other, int op) { + PyObject *result = NULL; + if (!result) { + if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { + result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); + } else { + result = Py_NotImplemented; + Py_INCREF(result); + } + } + return result; +} + +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqWriter_methods[] = { + { "close", _wrap_SeqWriter_close, METH_NOARGS, "" }, + { "write", _wrap_SeqWriter_write, METH_VARARGS, "" }, + { "__enter__", _wrap_SeqWriter___enter__, METH_NOARGS, "" }, + { "__exit__", _wrap_SeqWriter___exit__, METH_VARARGS, "" }, + { NULL, NULL, 0, NULL } /* Sentinel */ +}; + +static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { + { +#if PY_VERSION_HEX >= 0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ +#endif + "btllib.SeqWriter", /* tp_name */ + sizeof(SwigPyObject), /* tp_basicsize */ + 0, /* tp_itemsize */ + _wrap_delete_SeqWriter_destructor_closure,/* tp_dealloc */ +#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 + 0, /* tp_compare */ +#else + (cmpfunc) 0, /* tp_compare */ +#endif + (reprfunc) 0, /* tp_repr */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_number, /* tp_as_number */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_sequence, /* tp_as_sequence */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_mapping, /* tp_as_mapping */ + SwigPyObject_hash, /* tp_hash */ + (ternaryfunc) 0, /* tp_call */ + (reprfunc) 0, /* tp_str */ + (getattrofunc) 0, /* tp_getattro */ + (setattrofunc) 0, /* tp_setattro */ + &SwigPyBuiltin__btllib__SeqWriter_type.as_buffer, /* tp_as_buffer */ +#if PY_VERSION_HEX >= 0x03000000 + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ +#else + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ +#endif + "btllib::SeqWriter", /* tp_doc */ + (traverseproc) 0, /* tp_traverse */ + (inquiry) 0, /* tp_clear */ + SwigPyBuiltin__btllib__SeqWriter_richcompare, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + (getiterfunc) 0, /* tp_iter */ + (iternextfunc) 0, /* tp_iternext */ + SwigPyBuiltin__btllib__SeqWriter_methods, /* tp_methods */ + 0, /* tp_members */ + SwigPyBuiltin__btllib__SeqWriter_getset, /* tp_getset */ + 0, /* tp_base */ + 0, /* tp_dict */ + (descrgetfunc) 0, /* tp_descr_get */ + (descrsetfunc) 0, /* tp_descr_set */ + offsetof(SwigPyObject, dict), /* tp_dictoffset */ + _wrap_new_SeqWriter, /* tp_init */ + (allocfunc) 0, /* tp_alloc */ + (newfunc) 0, /* tp_new */ + (freefunc) 0, /* tp_free */ + (inquiry) 0, /* tp_is_gc */ + (PyObject *) 0, /* tp_bases */ + (PyObject *) 0, /* tp_mro */ + (PyObject *) 0, /* tp_cache */ + (PyObject *) 0, /* tp_subclasses */ + (PyObject *) 0, /* tp_weaklist */ + (destructor) 0, /* tp_del */ + (int) 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + (destructor) 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + (vectorcallfunc) 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + (Py_ssize_t) 0, /* tp_allocs */ + (Py_ssize_t) 0, /* tp_frees */ + (Py_ssize_t) 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0, /* tp_next */ +#endif + }, +#if PY_VERSION_HEX >= 0x03050000 + { + (unaryfunc) 0, /* am_await */ + (unaryfunc) 0, /* am_aiter */ + (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -51736,241 +56119,34 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Barrier_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif -}; - -SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Barrier_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Barrier_type}; - -static SwigPyGetSet SeqWriter___dict___getset = { SwigPyObject_get___dict__, 0 }; -SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__SeqWriter_getset[] = { - { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &SeqWriter___dict___getset }, - { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ -}; - -SWIGINTERN PyObject * -SwigPyBuiltin__btllib__SeqWriter_richcompare(PyObject *self, PyObject *other, int op) { - PyObject *result = NULL; - if (!result) { - if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { - result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); - } else { - result = Py_NotImplemented; - Py_INCREF(result); - } - } - return result; -} - -SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__SeqWriter_methods[] = { - { "close", _wrap_SeqWriter_close, METH_NOARGS, "" }, - { "write", _wrap_SeqWriter_write, METH_VARARGS, "" }, - { "__enter__", _wrap_SeqWriter___enter__, METH_NOARGS, "" }, - { "__exit__", _wrap_SeqWriter___exit__, METH_VARARGS, "" }, - { NULL, NULL, 0, NULL } /* Sentinel */ -}; - -static PyHeapTypeObject SwigPyBuiltin__btllib__SeqWriter_type = { - { -#if PY_VERSION_HEX >= 0x03000000 - PyVarObject_HEAD_INIT(NULL, 0) -#else - PyObject_HEAD_INIT(NULL) - 0, /* ob_size */ -#endif - "btllib.SeqWriter", /* tp_name */ - sizeof(SwigPyObject), /* tp_basicsize */ - 0, /* tp_itemsize */ - _wrap_delete_SeqWriter_destructor_closure,/* tp_dealloc */ - (printfunc) 0, /* tp_print */ - (getattrfunc) 0, /* tp_getattr */ - (setattrfunc) 0, /* tp_setattr */ -#if PY_VERSION_HEX >= 0x03000000 - 0, /* tp_compare */ -#else - (cmpfunc) 0, /* tp_compare */ -#endif - (reprfunc) 0, /* tp_repr */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_number, /* tp_as_number */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_sequence, /* tp_as_sequence */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_mapping, /* tp_as_mapping */ - SwigPyObject_hash, /* tp_hash */ - (ternaryfunc) 0, /* tp_call */ - (reprfunc) 0, /* tp_str */ - (getattrofunc) 0, /* tp_getattro */ - (setattrofunc) 0, /* tp_setattro */ - &SwigPyBuiltin__btllib__SeqWriter_type.as_buffer, /* tp_as_buffer */ -#if PY_VERSION_HEX >= 0x03000000 - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ -#else - Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ -#endif - "btllib::SeqWriter", /* tp_doc */ - (traverseproc) 0, /* tp_traverse */ - (inquiry) 0, /* tp_clear */ - SwigPyBuiltin__btllib__SeqWriter_richcompare, /* tp_richcompare */ - 0, /* tp_weaklistoffset */ - (getiterfunc) 0, /* tp_iter */ - (iternextfunc) 0, /* tp_iternext */ - SwigPyBuiltin__btllib__SeqWriter_methods, /* tp_methods */ - 0, /* tp_members */ - SwigPyBuiltin__btllib__SeqWriter_getset, /* tp_getset */ - 0, /* tp_base */ - 0, /* tp_dict */ - (descrgetfunc) 0, /* tp_descr_get */ - (descrsetfunc) 0, /* tp_descr_set */ - offsetof(SwigPyObject, dict), /* tp_dictoffset */ - _wrap_new_SeqWriter, /* tp_init */ - (allocfunc) 0, /* tp_alloc */ - (newfunc) 0, /* tp_new */ - (freefunc) 0, /* tp_free */ - (inquiry) 0, /* tp_is_gc */ - (PyObject *) 0, /* tp_bases */ - (PyObject *) 0, /* tp_mro */ - (PyObject *) 0, /* tp_cache */ - (PyObject *) 0, /* tp_subclasses */ - (PyObject *) 0, /* tp_weaklist */ - (destructor) 0, /* tp_del */ - (int) 0, /* tp_version_tag */ -#if PY_VERSION_HEX >= 0x03040000 - (destructor) 0, /* tp_finalize */ -#endif -#if PY_VERSION_HEX >= 0x03080000 - (vectorcallfunc) 0, /* tp_vectorcall */ -#endif -#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) - 0, /* tp_print */ -#endif -#ifdef COUNT_ALLOCS - (Py_ssize_t) 0, /* tp_allocs */ - (Py_ssize_t) 0, /* tp_frees */ - (Py_ssize_t) 0, /* tp_maxalloc */ - 0, /* tp_prev */ - 0, /* tp_next */ -#endif - }, -#if PY_VERSION_HEX >= 0x03050000 - { - (unaryfunc) 0, /* am_await */ - (unaryfunc) 0, /* am_aiter */ - (unaryfunc) 0, /* am_anext */ - }, -#endif - { - (binaryfunc) 0, /* nb_add */ - (binaryfunc) 0, /* nb_subtract */ - (binaryfunc) 0, /* nb_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_divide */ -#endif - (binaryfunc) 0, /* nb_remainder */ - (binaryfunc) 0, /* nb_divmod */ - (ternaryfunc) 0, /* nb_power */ - (unaryfunc) 0, /* nb_negative */ - (unaryfunc) 0, /* nb_positive */ - (unaryfunc) 0, /* nb_absolute */ - (inquiry) 0, /* nb_nonzero */ - (unaryfunc) 0, /* nb_invert */ - (binaryfunc) 0, /* nb_lshift */ - (binaryfunc) 0, /* nb_rshift */ - (binaryfunc) 0, /* nb_and */ - (binaryfunc) 0, /* nb_xor */ - (binaryfunc) 0, /* nb_or */ -#if PY_VERSION_HEX < 0x03000000 - (coercion) 0, /* nb_coerce */ -#endif - (unaryfunc) 0, /* nb_int */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* nb_reserved */ -#else - (unaryfunc) 0, /* nb_long */ +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ #endif - (unaryfunc) 0, /* nb_float */ -#if PY_VERSION_HEX < 0x03000000 - (unaryfunc) 0, /* nb_oct */ - (unaryfunc) 0, /* nb_hex */ -#endif - (binaryfunc) 0, /* nb_inplace_add */ - (binaryfunc) 0, /* nb_inplace_subtract */ - (binaryfunc) 0, /* nb_inplace_multiply */ -#if PY_VERSION_HEX < 0x03000000 - (binaryfunc) 0, /* nb_inplace_divide */ -#endif - (binaryfunc) 0, /* nb_inplace_remainder */ - (ternaryfunc) 0, /* nb_inplace_power */ - (binaryfunc) 0, /* nb_inplace_lshift */ - (binaryfunc) 0, /* nb_inplace_rshift */ - (binaryfunc) 0, /* nb_inplace_and */ - (binaryfunc) 0, /* nb_inplace_xor */ - (binaryfunc) 0, /* nb_inplace_or */ - (binaryfunc) 0, /* nb_floor_divide */ - (binaryfunc) 0, /* nb_true_divide */ - (binaryfunc) 0, /* nb_inplace_floor_divide */ - (binaryfunc) 0, /* nb_inplace_true_divide */ - (unaryfunc) 0, /* nb_index */ -#if PY_VERSION_HEX >= 0x03050000 - (binaryfunc) 0, /* nb_matrix_multiply */ - (binaryfunc) 0, /* nb_inplace_matrix_multiply */ -#endif - }, - { - (lenfunc) 0, /* mp_length */ - (binaryfunc) 0, /* mp_subscript */ - (objobjargproc) 0, /* mp_ass_subscript */ - }, +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ { - (lenfunc) 0, /* sq_length */ - (binaryfunc) 0, /* sq_concat */ - (ssizeargfunc) 0, /* sq_repeat */ - (ssizeargfunc) 0, /* sq_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_slice */ -#else - (ssizessizeargfunc) 0, /* sq_slice */ -#endif - (ssizeobjargproc) 0, /* sq_ass_item */ -#if PY_VERSION_HEX >= 0x03000000 - (void *) 0, /* was_sq_ass_slice */ -#else - (ssizessizeobjargproc) 0, /* sq_ass_slice */ -#endif - (objobjproc) 0, /* sq_contains */ - (binaryfunc) 0, /* sq_inplace_concat */ - (ssizeargfunc) 0, /* sq_inplace_repeat */ - }, - { -#if PY_VERSION_HEX < 0x03000000 - (readbufferproc) 0, /* bf_getreadbuffer */ - (writebufferproc) 0, /* bf_getwritebuffer */ - (segcountproc) 0, /* bf_getsegcount */ - (charbufferproc) 0, /* bf_getcharbuffer */ -#endif - (getbufferproc) 0, /* bf_getbuffer */ - (releasebufferproc) 0, /* bf_releasebuffer */ - }, - (PyObject *) 0, /* ht_name */ - (PyObject *) 0, /* ht_slots */ -#if PY_VERSION_HEX >= 0x03030000 - (PyObject *) 0, /* ht_qualname */ - 0, /* ht_cached_keys */ + (PyObject *) 0, /* getitem */ + } #endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeqWriter_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeqWriter_type}; -static SwigPyGetSet Datatype_prefixes_getset = { _wrap_Datatype_prefixes_get, _wrap_Datatype_prefixes_set }; -static SwigPyGetSet Datatype_cmds_check_existence_getset = { _wrap_Datatype_cmds_check_existence_get, _wrap_Datatype_cmds_check_existence_set }; +static SwigPyGetSet Datatype_read_cmds_getset = { _wrap_Datatype_read_cmds_get, _wrap_Datatype_read_cmds_set }; static SwigPyGetSet Datatype___dict___getset = { SwigPyObject_get___dict__, 0 }; -static SwigPyGetSet Datatype_suffixes_getset = { _wrap_Datatype_suffixes_get, _wrap_Datatype_suffixes_set }; -static SwigPyGetSet Datatype_append_cmds_getset = { _wrap_Datatype_append_cmds_get, _wrap_Datatype_append_cmds_set }; static SwigPyGetSet Datatype_write_cmds_getset = { _wrap_Datatype_write_cmds_get, _wrap_Datatype_write_cmds_set }; -static SwigPyGetSet Datatype_read_cmds_getset = { _wrap_Datatype_read_cmds_get, _wrap_Datatype_read_cmds_set }; +static SwigPyGetSet Datatype_append_cmds_getset = { _wrap_Datatype_append_cmds_get, _wrap_Datatype_append_cmds_set }; +static SwigPyGetSet Datatype_cmds_check_existence_getset = { _wrap_Datatype_cmds_check_existence_get, _wrap_Datatype_cmds_check_existence_set }; +static SwigPyGetSet Datatype_suffixes_getset = { _wrap_Datatype_suffixes_get, _wrap_Datatype_suffixes_set }; +static SwigPyGetSet Datatype_prefixes_getset = { _wrap_Datatype_prefixes_get, _wrap_Datatype_prefixes_set }; SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__Datatype_getset[] = { - { (char *)"prefixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_prefixes_getset }, - { (char *)"cmds_check_existence", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_cmds_check_existence_getset }, + { (char *)"read_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_read_cmds_getset }, { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &Datatype___dict___getset }, - { (char *)"suffixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_suffixes_getset }, - { (char *)"append_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_append_cmds_getset }, { (char *)"write_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_write_cmds_getset }, - { (char *)"read_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_read_cmds_getset }, + { (char *)"append_cmds", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_append_cmds_getset }, + { (char *)"cmds_check_existence", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_cmds_check_existence_getset }, + { (char *)"suffixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_suffixes_getset }, + { (char *)"prefixes", SwigPyBuiltin_FunpackGetterClosure, SwigPyBuiltin_FunpackSetterClosure, (char *)"", &Datatype_prefixes_getset }, { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ }; @@ -52004,7 +56180,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_Datatype_destructor_closure, /* tp_dealloc */ +#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 @@ -52076,6 +56256,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -52176,6 +56359,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__Datatype_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__Datatype_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__Datatype_type}; @@ -52216,7 +56408,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_DataSource_destructor_closure, /* tp_dealloc */ +#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 @@ -52288,6 +56484,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -52388,6 +56587,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSource_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSource_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSource_type}; @@ -52428,7 +56636,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_DataSink_destructor_closure, /* tp_dealloc */ +#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 @@ -52500,6 +56712,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -52600,6 +56815,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__DataSink_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__DataSink_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__DataSink_type}; @@ -52653,7 +56877,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_NtHash_destructor_closure, /* tp_dealloc */ +#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 @@ -52725,6 +56953,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -52825,6 +57056,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__NtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__NtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__NtHash_type}; @@ -52878,7 +57118,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_BlindNtHash_destructor_closure, /* tp_dealloc */ +#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 @@ -52950,6 +57194,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -53050,6 +57297,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__BlindNtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__BlindNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__BlindNtHash_type}; @@ -53103,7 +57359,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_SeedNtHash_destructor_closure, /* tp_dealloc */ +#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 @@ -53175,6 +57435,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -53275,10 +57538,248 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__SeedNtHash_type = { (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__SeedNtHash_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__SeedNtHash_type}; +static SwigPyGetSet RandomSequenceGenerator___dict___getset = { SwigPyObject_get___dict__, 0 }; +SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__RandomSequenceGenerator_getset[] = { + { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &RandomSequenceGenerator___dict___getset }, + { NULL, NULL, NULL, NULL, NULL } /* Sentinel */ +}; + +SWIGINTERN PyObject * +SwigPyBuiltin__btllib__RandomSequenceGenerator_richcompare(PyObject *self, PyObject *other, int op) { + PyObject *result = NULL; + if (!result) { + if (SwigPyObject_Check(self) && SwigPyObject_Check(other)) { + result = SwigPyObject_richcompare((SwigPyObject *)self, (SwigPyObject *)other, op); + } else { + result = Py_NotImplemented; + Py_INCREF(result); + } + } + return result; +} + +SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__RandomSequenceGenerator_methods[] = { + { "generate", _wrap_RandomSequenceGenerator_generate, METH_O, "" }, + { NULL, NULL, 0, NULL } /* Sentinel */ +}; + +static PyHeapTypeObject SwigPyBuiltin__btllib__RandomSequenceGenerator_type = { + { +#if PY_VERSION_HEX >= 0x03000000 + PyVarObject_HEAD_INIT(NULL, 0) +#else + PyObject_HEAD_INIT(NULL) + 0, /* ob_size */ +#endif + "btllib.RandomSequenceGenerator", /* tp_name */ + sizeof(SwigPyObject), /* tp_basicsize */ + 0, /* tp_itemsize */ + _wrap_delete_RandomSequenceGenerator_destructor_closure, /* tp_dealloc */ +#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 + 0, /* tp_compare */ +#else + (cmpfunc) 0, /* tp_compare */ +#endif + (reprfunc) 0, /* tp_repr */ + &SwigPyBuiltin__btllib__RandomSequenceGenerator_type.as_number,/* tp_as_number */ + &SwigPyBuiltin__btllib__RandomSequenceGenerator_type.as_sequence,/* tp_as_sequence */ + &SwigPyBuiltin__btllib__RandomSequenceGenerator_type.as_mapping,/* tp_as_mapping */ + SwigPyObject_hash, /* tp_hash */ + (ternaryfunc) 0, /* tp_call */ + (reprfunc) 0, /* tp_str */ + (getattrofunc) 0, /* tp_getattro */ + (setattrofunc) 0, /* tp_setattro */ + &SwigPyBuiltin__btllib__RandomSequenceGenerator_type.as_buffer,/* tp_as_buffer */ +#if PY_VERSION_HEX >= 0x03000000 + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ +#else + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_CHECKTYPES, /* tp_flags */ +#endif + "btllib::RandomSequenceGenerator", /* tp_doc */ + (traverseproc) 0, /* tp_traverse */ + (inquiry) 0, /* tp_clear */ + SwigPyBuiltin__btllib__RandomSequenceGenerator_richcompare, /* tp_richcompare */ + 0, /* tp_weaklistoffset */ + (getiterfunc) 0, /* tp_iter */ + (iternextfunc) 0, /* tp_iternext */ + SwigPyBuiltin__btllib__RandomSequenceGenerator_methods, /* tp_methods */ + 0, /* tp_members */ + SwigPyBuiltin__btllib__RandomSequenceGenerator_getset, /* tp_getset */ + 0, /* tp_base */ + 0, /* tp_dict */ + (descrgetfunc) 0, /* tp_descr_get */ + (descrsetfunc) 0, /* tp_descr_set */ + offsetof(SwigPyObject, dict), /* tp_dictoffset */ + _wrap_new_RandomSequenceGenerator, /* tp_init */ + (allocfunc) 0, /* tp_alloc */ + (newfunc) 0, /* tp_new */ + (freefunc) 0, /* tp_free */ + (inquiry) 0, /* tp_is_gc */ + (PyObject *) 0, /* tp_bases */ + (PyObject *) 0, /* tp_mro */ + (PyObject *) 0, /* tp_cache */ + (PyObject *) 0, /* tp_subclasses */ + (PyObject *) 0, /* tp_weaklist */ + (destructor) 0, /* tp_del */ + (int) 0, /* tp_version_tag */ +#if PY_VERSION_HEX >= 0x03040000 + (destructor) 0, /* tp_finalize */ +#endif +#if PY_VERSION_HEX >= 0x03080000 + (vectorcallfunc) 0, /* tp_vectorcall */ +#endif +#if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) + 0, /* tp_print */ +#endif +#ifdef COUNT_ALLOCS + (Py_ssize_t) 0, /* tp_allocs */ + (Py_ssize_t) 0, /* tp_frees */ + (Py_ssize_t) 0, /* tp_maxalloc */ + 0, /* tp_prev */ + 0, /* tp_next */ +#endif + }, +#if PY_VERSION_HEX >= 0x03050000 + { + (unaryfunc) 0, /* am_await */ + (unaryfunc) 0, /* am_aiter */ + (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif + }, +#endif + { + (binaryfunc) 0, /* nb_add */ + (binaryfunc) 0, /* nb_subtract */ + (binaryfunc) 0, /* nb_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_divide */ +#endif + (binaryfunc) 0, /* nb_remainder */ + (binaryfunc) 0, /* nb_divmod */ + (ternaryfunc) 0, /* nb_power */ + (unaryfunc) 0, /* nb_negative */ + (unaryfunc) 0, /* nb_positive */ + (unaryfunc) 0, /* nb_absolute */ + (inquiry) 0, /* nb_nonzero */ + (unaryfunc) 0, /* nb_invert */ + (binaryfunc) 0, /* nb_lshift */ + (binaryfunc) 0, /* nb_rshift */ + (binaryfunc) 0, /* nb_and */ + (binaryfunc) 0, /* nb_xor */ + (binaryfunc) 0, /* nb_or */ +#if PY_VERSION_HEX < 0x03000000 + (coercion) 0, /* nb_coerce */ +#endif + (unaryfunc) 0, /* nb_int */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* nb_reserved */ +#else + (unaryfunc) 0, /* nb_long */ +#endif + (unaryfunc) 0, /* nb_float */ +#if PY_VERSION_HEX < 0x03000000 + (unaryfunc) 0, /* nb_oct */ + (unaryfunc) 0, /* nb_hex */ +#endif + (binaryfunc) 0, /* nb_inplace_add */ + (binaryfunc) 0, /* nb_inplace_subtract */ + (binaryfunc) 0, /* nb_inplace_multiply */ +#if PY_VERSION_HEX < 0x03000000 + (binaryfunc) 0, /* nb_inplace_divide */ +#endif + (binaryfunc) 0, /* nb_inplace_remainder */ + (ternaryfunc) 0, /* nb_inplace_power */ + (binaryfunc) 0, /* nb_inplace_lshift */ + (binaryfunc) 0, /* nb_inplace_rshift */ + (binaryfunc) 0, /* nb_inplace_and */ + (binaryfunc) 0, /* nb_inplace_xor */ + (binaryfunc) 0, /* nb_inplace_or */ + (binaryfunc) 0, /* nb_floor_divide */ + (binaryfunc) 0, /* nb_true_divide */ + (binaryfunc) 0, /* nb_inplace_floor_divide */ + (binaryfunc) 0, /* nb_inplace_true_divide */ + (unaryfunc) 0, /* nb_index */ +#if PY_VERSION_HEX >= 0x03050000 + (binaryfunc) 0, /* nb_matrix_multiply */ + (binaryfunc) 0, /* nb_inplace_matrix_multiply */ +#endif + }, + { + (lenfunc) 0, /* mp_length */ + (binaryfunc) 0, /* mp_subscript */ + (objobjargproc) 0, /* mp_ass_subscript */ + }, + { + (lenfunc) 0, /* sq_length */ + (binaryfunc) 0, /* sq_concat */ + (ssizeargfunc) 0, /* sq_repeat */ + (ssizeargfunc) 0, /* sq_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_slice */ +#else + (ssizessizeargfunc) 0, /* sq_slice */ +#endif + (ssizeobjargproc) 0, /* sq_ass_item */ +#if PY_VERSION_HEX >= 0x03000000 + (void *) 0, /* was_sq_ass_slice */ +#else + (ssizessizeobjargproc) 0, /* sq_ass_slice */ +#endif + (objobjproc) 0, /* sq_contains */ + (binaryfunc) 0, /* sq_inplace_concat */ + (ssizeargfunc) 0, /* sq_inplace_repeat */ + }, + { +#if PY_VERSION_HEX < 0x03000000 + (readbufferproc) 0, /* bf_getreadbuffer */ + (writebufferproc) 0, /* bf_getwritebuffer */ + (segcountproc) 0, /* bf_getsegcount */ + (charbufferproc) 0, /* bf_getcharbuffer */ +#endif + (getbufferproc) 0, /* bf_getbuffer */ + (releasebufferproc) 0, /* bf_releasebuffer */ + }, + (PyObject *) 0, /* ht_name */ + (PyObject *) 0, /* ht_slots */ +#if PY_VERSION_HEX >= 0x03030000 + (PyObject *) 0, /* ht_qualname */ + 0, /* ht_cached_keys */ +#endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif +}; + +SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__RandomSequenceGenerator_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__RandomSequenceGenerator_type}; + static SwigPyGetSet CountingBloomFilter8___dict___getset = { SwigPyObject_get___dict__, 0 }; SWIGINTERN PyGetSetDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_getset[] = { { (char *)"__dict__", SwigPyBuiltin_FunpackGetterClosure, 0, (char *)"", &CountingBloomFilter8___dict___getset }, @@ -53301,6 +57802,8 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_richcompare(PyObject *self SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_methods[] = { { "insert", _wrap_CountingBloomFilter8_insert, METH_VARARGS, "" }, + { "remove", _wrap_CountingBloomFilter8_remove, METH_VARARGS, "" }, + { "clear", _wrap_CountingBloomFilter8_clear, METH_VARARGS, "" }, { "contains", _wrap_CountingBloomFilter8_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_CountingBloomFilter8_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_CountingBloomFilter8_insert_contains, METH_VARARGS, "" }, @@ -53329,7 +57832,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_CountingBloomFilter8_destructor_closure, /* tp_dealloc */ +#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 @@ -53401,6 +57908,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -53501,6 +58011,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_ty (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type}; @@ -53527,6 +58046,8 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_richcompare(PyObject *sel SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_methods[] = { { "insert", _wrap_CountingBloomFilter16_insert, METH_VARARGS, "" }, + { "remove", _wrap_CountingBloomFilter16_remove, METH_VARARGS, "" }, + { "clear", _wrap_CountingBloomFilter16_clear, METH_VARARGS, "" }, { "contains", _wrap_CountingBloomFilter16_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_CountingBloomFilter16_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_CountingBloomFilter16_insert_contains, METH_VARARGS, "" }, @@ -53555,7 +58076,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_CountingBloomFilter16_destructor_closure, /* tp_dealloc */ +#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 @@ -53627,6 +58152,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -53727,6 +58255,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_type}; @@ -53753,6 +58290,8 @@ SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_richcompare(PyObject *sel SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_methods[] = { { "insert", _wrap_CountingBloomFilter32_insert, METH_VARARGS, "" }, + { "remove", _wrap_CountingBloomFilter32_remove, METH_VARARGS, "" }, + { "clear", _wrap_CountingBloomFilter32_clear, METH_VARARGS, "" }, { "contains", _wrap_CountingBloomFilter32_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_CountingBloomFilter32_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_CountingBloomFilter32_insert_contains, METH_VARARGS, "" }, @@ -53781,7 +58320,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_CountingBloomFilter32_destructor_closure, /* tp_dealloc */ +#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 @@ -53853,6 +58396,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -53953,6 +58499,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_type}; @@ -53979,6 +58534,8 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_richcompare(PyObject * SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_methods[] = { { "insert", _wrap_KmerCountingBloomFilter8_insert, METH_VARARGS, "" }, + { "remove", _wrap_KmerCountingBloomFilter8_remove, METH_VARARGS, "" }, + { "clear", _wrap_KmerCountingBloomFilter8_clear, METH_VARARGS, "" }, { "contains", _wrap_KmerCountingBloomFilter8_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_KmerCountingBloomFilter8_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_KmerCountingBloomFilter8_insert_contains, METH_VARARGS, "" }, @@ -54009,7 +58566,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_KmerCountingBloomFilter8_destructor_closure, /* tp_dealloc */ +#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 @@ -54081,6 +58642,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -54181,6 +58745,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_ (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_type}; @@ -54207,6 +58780,8 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_richcompare(PyObject SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_methods[] = { { "insert", _wrap_KmerCountingBloomFilter16_insert, METH_VARARGS, "" }, + { "remove", _wrap_KmerCountingBloomFilter16_remove, METH_VARARGS, "" }, + { "clear", _wrap_KmerCountingBloomFilter16_clear, METH_VARARGS, "" }, { "contains", _wrap_KmerCountingBloomFilter16_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_KmerCountingBloomFilter16_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_KmerCountingBloomFilter16_insert_contains, METH_VARARGS, "" }, @@ -54237,7 +58812,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_KmerCountingBloomFilter16_destructor_closure, /* tp_dealloc */ +#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 @@ -54309,6 +58888,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -54409,6 +58991,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_type}; @@ -54435,6 +59026,8 @@ SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_richcompare(PyObject SWIGINTERN PyMethodDef SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_methods[] = { { "insert", _wrap_KmerCountingBloomFilter32_insert, METH_VARARGS, "" }, + { "remove", _wrap_KmerCountingBloomFilter32_remove, METH_VARARGS, "" }, + { "clear", _wrap_KmerCountingBloomFilter32_clear, METH_VARARGS, "" }, { "contains", _wrap_KmerCountingBloomFilter32_contains, METH_VARARGS, "" }, { "contains_insert", _wrap_KmerCountingBloomFilter32_contains_insert, METH_VARARGS, "" }, { "insert_contains", _wrap_KmerCountingBloomFilter32_insert_contains, METH_VARARGS, "" }, @@ -54465,7 +59058,11 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t sizeof(SwigPyObject), /* tp_basicsize */ 0, /* tp_itemsize */ _wrap_delete_KmerCountingBloomFilter32_destructor_closure, /* tp_dealloc */ +#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 @@ -54537,6 +59134,9 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t (unaryfunc) 0, /* am_await */ (unaryfunc) 0, /* am_aiter */ (unaryfunc) 0, /* am_anext */ +# if PY_VERSION_HEX >= 0x030a0000 + (sendfunc) 0, /* am_send */ +# endif }, #endif { @@ -54637,6 +59237,15 @@ static PyHeapTypeObject SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t (PyObject *) 0, /* ht_qualname */ 0, /* ht_cached_keys */ #endif +#if PY_VERSION_HEX >= 0x03090000 + (PyObject *) 0, /* ht_module */ +#endif +#if PY_VERSION_HEX >= 0x030b0000 + (char *) 0, /* _ht_tpname */ + { + (PyObject *) 0, /* getitem */ + } +#endif }; SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_clientdata = {0, 0, 0, 0, 0, 0, (PyTypeObject *)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_type}; @@ -54644,65 +59253,65 @@ SWIGINTERN SwigPyClientData SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ -static void *_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base &(*)(std::ios_base &)) ((std::basic_ios< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); -} -static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); -} -static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); -} -static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); -} -static void *_p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::ios_base *) ((std::basic_ios< char,std::char_traits< char > > *) x)); -} static void *_p_btllib__DataSinkTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((btllib::DataStream *) ((btllib::DataSink *) x)); } static void *_p_btllib__DataSourceTo_p_btllib__DataStream(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((btllib::DataStream *) ((btllib::DataSource *) x)); } +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +} +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +} +static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +} static void *_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)) x)); } static void *_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)) x)); } -static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); +static void *_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) ((std::basic_ios< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } -static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); +static void *_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +} +static void *_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); +} +static void *_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base &(*)(std::ios_base &)) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::ios_base &)) x)); } static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_ios< char,std::char_traits< char > > *) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } +static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); +} +static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ios< char,std::char_traits< char > > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); +} static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_istreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { return (void *)((std::basic_istream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::basic_ostream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) ((std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +static void *_p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) ((std::basic_ios< char,std::char_traits< char > > *) x)); } -static void *_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) (std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)) x)); +static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *)(std::basic_istream< char > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); } -static void *_p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t(void *x, int *SWIGUNUSEDPARM(newmemory)) { - return (void *)((std::basic_ostream< char,std::char_traits< char > > *) ((std::basic_iostream< char,std::char_traits< char > > *) x)); +static void *_p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_istream< char,std::char_traits< char > > *) x)); +} +static void *_p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base(void *x, int *SWIGUNUSEDPARM(newmemory)) { + return (void *)((std::ios_base *) (std::basic_ios< char > *) ((std::basic_ostream< char,std::char_traits< char > > *) x)); } static swig_type_info _swigt__p_HashedKmer = {"_p_HashedKmer", "HashedKmer *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_SwigPyObject = {"_p_SwigPyObject", "SwigPyObject *", 0, 0, (void*)0, 0}; @@ -54712,23 +59321,24 @@ static swig_type_info _swigt__p_btllib__Barrier = {"_p_btllib__Barrier", "btllib static swig_type_info _swigt__p_btllib__BlindNtHash = {"_p_btllib__BlindNtHash", "btllib::BlindNtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__BlindNtHash_clientdata, 0}; static swig_type_info _swigt__p_btllib__BloomFilter = {"_p_btllib__BloomFilter", "btllib::BloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__BloomFilter_clientdata, 0}; static swig_type_info _swigt__p_btllib__CString = {"_p_btllib__CString", "btllib::CString *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_char_t = {"_p_btllib__CountingBloomFilterT_unsigned_char_t", "btllib::CountingBloomFilter< unsigned char > *|btllib::CountingBloomFilter8 *|btllib::CountingBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_char_t = {"_p_btllib__CountingBloomFilterT_unsigned_char_t", "btllib::CountingBloomFilter8 *|btllib::CountingBloomFilter< uint8_t > *|btllib::CountingBloomFilter< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_int_t = {"_p_btllib__CountingBloomFilterT_unsigned_int_t", "btllib::CountingBloomFilter32 *|btllib::CountingBloomFilter< uint32_t > *|btllib::CountingBloomFilter< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint32_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_short_t = {"_p_btllib__CountingBloomFilterT_unsigned_short_t", "btllib::CountingBloomFilter< unsigned short > *|btllib::CountingBloomFilter16 *|btllib::CountingBloomFilter< uint16_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__CountingBloomFilterT_unsigned_short_t = {"_p_btllib__CountingBloomFilterT_unsigned_short_t", "btllib::CountingBloomFilter16 *|btllib::CountingBloomFilter< uint16_t > *|btllib::CountingBloomFilter< unsigned short > *", 0, 0, (void*)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint16_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataSink = {"_p_btllib__DataSink", "btllib::DataSink *", 0, 0, (void*)&SwigPyBuiltin__btllib__DataSink_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataSource = {"_p_btllib__DataSource", "btllib::DataSource *", 0, 0, (void*)&SwigPyBuiltin__btllib__DataSource_clientdata, 0}; static swig_type_info _swigt__p_btllib__DataStream = {"_p_btllib__DataStream", "btllib::DataStream *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_btllib__Datatype = {"_p_btllib__Datatype", "btllib::Datatype *", 0, 0, (void*)&SwigPyBuiltin__btllib__Datatype_clientdata, 0}; static swig_type_info _swigt__p_btllib__Indexlr = {"_p_btllib__Indexlr", "btllib::Indexlr *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr_clientdata, 0}; static swig_type_info _swigt__p_btllib__Indexlr__Flag = {"_p_btllib__Indexlr__Flag", "btllib::Indexlr::Flag *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__Flag_clientdata, 0}; -static swig_type_info _swigt__p_btllib__Indexlr__Minimizer = {"_p_btllib__Indexlr__Minimizer", "btllib::Indexlr::Minimizer *|std::vector< btllib::Indexlr::Minimizer >::value_type *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__Minimizer_clientdata, 0}; +static swig_type_info _swigt__p_btllib__Indexlr__Minimizer = {"_p_btllib__Indexlr__Minimizer", "std::vector< btllib::Indexlr::Minimizer >::value_type *|btllib::Indexlr::Minimizer *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__Minimizer_clientdata, 0}; static swig_type_info _swigt__p_btllib__Indexlr__Record = {"_p_btllib__Indexlr__Record", "btllib::Indexlr::Record *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__Record_clientdata, 0}; static swig_type_info _swigt__p_btllib__Indexlr__RecordIterator = {"_p_btllib__Indexlr__RecordIterator", "btllib::Indexlr::RecordIterator *", 0, 0, (void*)&SwigPyBuiltin__btllib__Indexlr__RecordIterator_clientdata, 0}; static swig_type_info _swigt__p_btllib__KmerBloomFilter = {"_p_btllib__KmerBloomFilter", "btllib::KmerBloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerBloomFilter_clientdata, 0}; -static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_char_t", "btllib::KmerCountingBloomFilter< unsigned char > *|btllib::KmerCountingBloomFilter8 *|btllib::KmerCountingBloomFilter< uint8_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_char_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_char_t", "btllib::KmerCountingBloomFilter8 *|btllib::KmerCountingBloomFilter< uint8_t > *|btllib::KmerCountingBloomFilter< unsigned char > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint8_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_int_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_int_t", "btllib::KmerCountingBloomFilter32 *|btllib::KmerCountingBloomFilter< uint32_t > *|btllib::KmerCountingBloomFilter< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint32_t_t_clientdata, 0}; -static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_short_t", "btllib::KmerCountingBloomFilter< unsigned short > *|btllib::KmerCountingBloomFilter16 *|btllib::KmerCountingBloomFilter< uint16_t > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata, 0}; +static swig_type_info _swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t = {"_p_btllib__KmerCountingBloomFilterT_unsigned_short_t", "btllib::KmerCountingBloomFilter16 *|btllib::KmerCountingBloomFilter< uint16_t > *|btllib::KmerCountingBloomFilter< unsigned short > *", 0, 0, (void*)&SwigPyBuiltin__btllib__KmerCountingBloomFilterT_uint16_t_t_clientdata, 0}; static swig_type_info _swigt__p_btllib__NtHash = {"_p_btllib__NtHash", "btllib::NtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__NtHash_clientdata, 0}; +static swig_type_info _swigt__p_btllib__RandomSequenceGenerator = {"_p_btllib__RandomSequenceGenerator", "btllib::RandomSequenceGenerator *", 0, 0, (void*)&SwigPyBuiltin__btllib__RandomSequenceGenerator_clientdata, 0}; static swig_type_info _swigt__p_btllib__SeedBloomFilter = {"_p_btllib__SeedBloomFilter", "btllib::SeedBloomFilter *", 0, 0, (void*)&SwigPyBuiltin__btllib__SeedBloomFilter_clientdata, 0}; static swig_type_info _swigt__p_btllib__SeedNtHash = {"_p_btllib__SeedNtHash", "btllib::SeedNtHash *", 0, 0, (void*)&SwigPyBuiltin__btllib__SeedNtHash_clientdata, 0}; static swig_type_info _swigt__p_btllib__SeqReader = {"_p_btllib__SeqReader", "btllib::SeqReader *", 0, 0, (void*)&SwigPyBuiltin__btllib__SeqReader_clientdata, 0}; @@ -54741,28 +59351,28 @@ static swig_type_info _swigt__p_char_type = {"_p_char_type", "char_type *", 0, 0 static swig_type_info _swigt__p_cpptoml__table = {"_p_cpptoml__table", "cpptoml::table *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_difference_type = {"_p_difference_type", "difference_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void = {"_p_f_enum_std__ios_base__event_r_std__ios_base_int__void", "void (*)(enum std::ios_base::event,std::ios_base &,int)|std::ios_base::event_callback", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void = {"_p_f_enum_std__ios_base__event_r_std__ios_base_int__void", "std::ios_base::event_callback|void (*)(enum std::ios_base::event,std::ios_base &,int)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char,std::char_traits< char > > &(*)(std::basic_ios< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char,std::char_traits< char > > &(*)(std::basic_istream< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char,std::char_traits< char > > &(*)(std::basic_ostream< char,std::char_traits< char > > &)", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__ios_base = {"_p_f_r_std__ios_base__r_std__ios_base", "std::ios_base &(*)(std::ios_base &)", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; -static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; +static swig_type_info _swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t", 0, 0, 0, 0, 0}; static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_fmtflags = {"_p_fmtflags", "fmtflags *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_int = {"_p_int", "intptr_t *|int *|int_least32_t *|int_fast32_t *|int32_t *|int_fast16_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_int = {"_p_int", "int32_t *|int_fast16_t *|int_fast32_t *|int_least32_t *|intptr_t *|int *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_int_type = {"_p_int_type", "int_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_iostate = {"_p_iostate", "iostate *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long = {"_p_long", "long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long_double = {"_p_long_double", "long double *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_long_long = {"_p_long_long", "int_least64_t *|int_fast64_t *|int64_t *|long long *|intmax_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_long_long = {"_p_long_long", "int64_t *|int_fast64_t *|int_least64_t *|intmax_t *|long long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_off_type = {"_p_off_type", "off_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_openmode = {"_p_openmode", "openmode *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_PyObject = {"_p_p_PyObject", "PyObject **", 0, 0, (void*)0, 0}; @@ -54770,46 +59380,46 @@ static swig_type_info _swigt__p_p_unsigned_long_long = {"_p_p_unsigned_long_long static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_pos_type = {"_p_pos_type", "pos_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_seekdir = {"_p_seekdir", "seekdir *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_short = {"_p_short", "short *|int_least16_t *|int16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "signed char *|int_least8_t *|int_fast8_t *|int8_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_short = {"_p_short", "int16_t *|int_least16_t *|short *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_signed_char = {"_p_signed_char", "int8_t *|int_fast8_t *|int_least8_t *|signed char *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_size_t = {"_p_size_t", "std::streamsize *|size_t *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_state_type = {"_p_state_type", "state_type *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__allocatorT_btllib__Indexlr__Minimizer_t = {"_p_std__allocatorT_btllib__Indexlr__Minimizer_t", "std::allocator< btllib::Indexlr::Minimizer > *|std::vector< btllib::Indexlr::Minimizer >::allocator_type *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__allocatorT_btllib__Indexlr__Minimizer_t = {"_p_std__allocatorT_btllib__Indexlr__Minimizer_t", "std::vector< btllib::Indexlr::Minimizer >::allocator_type *|std::allocator< btllib::Indexlr::Minimizer > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_double_t = {"_p_std__allocatorT_double_t", "std::vector< double >::allocator_type *|std::allocator< double > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_int_t = {"_p_std__allocatorT_int_t", "std::vector< int >::allocator_type *|std::allocator< int > *", 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_unsigned_int_std__allocatorT_unsigned_int_t_t_t = {"_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t", "std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t = {"_p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t", "std::vector< std::vector< unsigned int,std::allocator< unsigned int > > >::allocator_type *|std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__allocatorT_unsigned_int_t = {"_p_std__allocatorT_unsigned_int_t", "std::vector< unsigned int >::allocator_type *|std::allocator< unsigned int > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__allocatorT_unsigned_long_long_t = {"_p_std__allocatorT_unsigned_long_long_t", "std::allocator< uint64_t > *|std::vector< uint64_t >::allocator_type *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char > *|std::basic_ios< char,std::char_traits< char > > *|std::ios *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iosT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t", "std::basic_iostream< char,std::char_traits< char > > *|std::basic_iostream< char > *|std::iostream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char > *|std::basic_istream< char,std::char_traits< char > > *|std::istream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_istreamT_char_t_clientdata, 0}; -static swig_type_info _swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char > *|std::basic_ostream< char,std::char_traits< char > > *|std::ostream *", 0, 0, (void*)&SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__allocatorT_unsigned_long_long_t = {"_p_std__allocatorT_unsigned_long_long_t", "std::vector< uint64_t >::allocator_type *|std::allocator< uint64_t > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iosT_char_std__char_traitsT_char_t_t", "std::basic_ios< char,std::char_traits< char > > *|std::ios *|std::basic_ios< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iosT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_iostreamT_char_std__char_traitsT_char_t_t", "std::basic_iostream< char,std::char_traits< char > > *|std::iostream *|std::basic_iostream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_iostreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_istreamT_char_std__char_traitsT_char_t_t", "std::basic_istream< char,std::char_traits< char > > *|std::istream *|std::basic_istream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_istreamT_char_t_clientdata, 0}; +static swig_type_info _swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t = {"_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t", "std::basic_ostream< char,std::char_traits< char > > *|std::ostream *|std::basic_ostream< char > *", 0, 0, (void*)&SwigPyBuiltin__std__basic_ostreamT_char_t_clientdata, 0}; static swig_type_info _swigt__p_std__basic_streambufT_char_std__char_traitsT_char_t_t = {"_p_std__basic_streambufT_char_std__char_traitsT_char_t_t", "std::basic_streambuf< char,std::char_traits< char > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t = {"_p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t", "std::basic_string< char,std::char_traits< char >,std::allocator< char > > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__ios_base = {"_p_std__ios_base", "std::ios_base *", 0, 0, (void*)&SwigPyBuiltin__std__ios_base_clientdata, 0}; static swig_type_info _swigt__p_std__locale = {"_p_std__locale", "std::locale *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t = {"_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t", "std::vector< btllib::Indexlr::Minimizer > *|std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t = {"_p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t", "std::vector< btllib::Indexlr::Minimizer,std::allocator< btllib::Indexlr::Minimizer > > *|std::vector< btllib::Indexlr::Minimizer > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__Indexlr__Minimizer_t_clientdata, 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 > > *|std::vector< double > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_double_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_int_std__allocatorT_int_t_t = {"_p_std__vectorT_int_std__allocatorT_int_t_t", "std::vector< int,std::allocator< int > > *|std::vector< int > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_int_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t = {"_p_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t", "btllib::SpacedSeedBlocks *|std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > *", 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*)&SwigPyBuiltin__std__vectorT_std__string_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t = {"_p_std__vectorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_std__allocatorT_std__vectorT_std__arrayT_unsigned_int_2_t_std__allocatorT_std__arrayT_unsigned_int_2_t_t_t_t_t", "std::vector< btllib::SpacedSeedBlocks,std::allocator< btllib::SpacedSeedBlocks > > *|std::vector< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > >,std::allocator< std::vector< std::array< unsigned int,2 >,std::allocator< std::array< unsigned int,2 > > > > > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t = {"_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t", "std::vector< btllib::SpacedSeed > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > *|std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t = {"_p_std__vectorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t_t", "std::vector< btllib::SpacedSeed > *|std::vector< btllib::SpacedSeedMonomers,std::allocator< btllib::SpacedSeedMonomers > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > >,std::allocator< std::vector< unsigned int,std::allocator< unsigned int > > > > *|std::vector< std::vector< unsigned int,std::allocator< unsigned int > > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_btllib__SpacedSeed_t_clientdata, 0}; static swig_type_info _swigt__p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t = {"_p_std__vectorT_unsigned_char_std__allocatorT_unsigned_char_t_t", "std::vector< unsigned char,std::allocator< unsigned char > > *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t = {"_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t", "btllib::SpacedSeed *|std::vector< unsigned int,std::allocator< unsigned int > > *|std::vector< unsigned int > *|btllib::SpacedSeedMonomers *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata, 0}; -static swig_type_info _swigt__p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t = {"_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t", "std::vector< uint64_t > *|std::vector< uint64_t > *|std::vector< uint64_t,std::allocator< uint64_t > > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata, 0}; -static swig_type_info _swigt__p_streamoff = {"_p_streamoff", "std::basic_ostream< char >::off_type *|std::basic_istream< char >::off_type *|streamoff *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_streampos = {"_p_streampos", "std::basic_ostream< char >::pos_type *|std::basic_istream< char >::pos_type *|streampos *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t = {"_p_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t", "btllib::SpacedSeed *|btllib::SpacedSeedMonomers *|std::vector< unsigned int,std::allocator< unsigned int > > *|std::vector< unsigned int > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_unsigned_int_t_clientdata, 0}; +static swig_type_info _swigt__p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t = {"_p_std__vectorT_unsigned_long_long_std__allocatorT_unsigned_long_long_t_t", "std::vector< uint64_t > *|std::vector< uint64_t,std::allocator< uint64_t > > *|std::vector< uint64_t > *", 0, 0, (void*)&SwigPyBuiltin__std__vectorT_uint64_t_t_clientdata, 0}; +static swig_type_info _swigt__p_streamoff = {"_p_streamoff", "std::basic_istream< char >::off_type *|std::basic_ostream< char >::off_type *|streamoff *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_streampos = {"_p_streampos", "std::basic_istream< char >::pos_type *|std::basic_ostream< char >::pos_type *|streampos *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_swig__SwigPyIterator = {"_p_swig__SwigPyIterator", "swig::SwigPyIterator *", 0, 0, (void*)&SwigPyBuiltin__swig__SwigPyIterator_clientdata, 0}; static swig_type_info _swigt__p_traits_type = {"_p_traits_type", "traits_type *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|btllib::NTHASH_HASH_NUM_TYPE *|uint_least8_t *|uint_fast8_t *|uint8_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uintptr_t *|uint_least32_t *|uint_fast32_t *|uint32_t *|unsigned int *|uint_fast16_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "btllib::PipelineId *|unsigned long *|btllib::PipeId *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint_least64_t *|uint_fast64_t *|uint64_t *|uint64_t *|uintmax_t *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "btllib::NTHASH_K_TYPE *|unsigned short *|uint_least16_t *|uint16_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "btllib::NTHASH_HASH_NUM_TYPE *|uint8_t *|uint_fast8_t *|uint_least8_t *|unsigned char *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "uint32_t *|uint_fast16_t *|uint_fast32_t *|uint_least32_t *|uintptr_t *|unsigned int *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "btllib::PipeId *|btllib::PipelineId *|unsigned long *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "uint64_t *|uint_fast64_t *|uint_least64_t *|uintmax_t *|uint64_t *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "btllib::NTHASH_K_TYPE *|uint16_t *|uint_least16_t *|unsigned short *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_value_type = {"_p_value_type", "value_type *", 0, 0, (void*)0, 0}; static swig_type_info *swig_type_initial[] = { @@ -54838,6 +59448,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_int_t, &_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t, &_swigt__p_btllib__NtHash, + &_swigt__p_btllib__RandomSequenceGenerator, &_swigt__p_btllib__SeedBloomFilter, &_swigt__p_btllib__SeedNtHash, &_swigt__p_btllib__SeqReader, @@ -54947,6 +59558,7 @@ static swig_cast_info _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_char_t static swig_cast_info _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_int_t[] = { {&_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_short_t[] = { {&_swigt__p_btllib__KmerCountingBloomFilterT_unsigned_short_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__NtHash[] = { {&_swigt__p_btllib__NtHash, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_btllib__RandomSequenceGenerator[] = { {&_swigt__p_btllib__RandomSequenceGenerator, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__SeedBloomFilter[] = { {&_swigt__p_btllib__SeedBloomFilter, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__SeedNtHash[] = { {&_swigt__p_btllib__SeedNtHash, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_btllib__SeqReader[] = { {&_swigt__p_btllib__SeqReader, 0, 0, 0},{0, 0, 0, 0}}; @@ -54960,19 +59572,19 @@ static swig_cast_info _swigc__p_cpptoml__table[] = { {&_swigt__p_cpptoml__table static swig_cast_info _swigc__p_difference_type[] = { {&_swigt__p_difference_type, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_enum_std__ios_base__event_r_std__ios_base_int__void[] = { {&_swigt__p_f_enum_std__ios_base__event_r_std__ios_base_int__void, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ios__char_std__char_traits__char______r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_istream__char_std__char_traits__char______r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__basic_ostream__char_std__char_traits__char______r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__ios_base[] = { {&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__ios_base, 0, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = {{&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_f_r_std__ios_base__r_std__ios_base[] = { {&_swigt__p_f_r_std__ios_base__r_std__ios_base, 0, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0}, {&_swigt__p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_f_r_std__ios_base__r_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_f_r_std__ios_base__r_std__ios_base, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_fmtflags[] = { {&_swigt__p_fmtflags, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; @@ -55000,13 +59612,13 @@ static swig_cast_info _swigc__p_std__allocatorT_std__string_t[] = { {&_swigt__p static swig_cast_info _swigc__p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t[] = { {&_swigt__p_std__allocatorT_std__vectorT_unsigned_int_std__allocatorT_unsigned_int_t_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_unsigned_int_t[] = { {&_swigt__p_std__allocatorT_unsigned_int_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__allocatorT_unsigned_long_long_t[] = { {&_swigt__p_std__allocatorT_unsigned_long_long_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__basic_iosT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_iosT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_istreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_istreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_streambufT_char_std__char_traitsT_char_t_t[] = { {&_swigt__p_std__basic_streambufT_char_std__char_traitsT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t[] = { {&_swigt__p_std__basic_stringT_char_std__char_traitsT_char_t_std__allocatorT_char_t_t, 0, 0, 0},{0, 0, 0, 0}}; -static swig_cast_info _swigc__p_std__ios_base[] = { {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__ios_base, 0, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__ios_base[] = { {&_swigt__p_std__ios_base, 0, 0, 0}, {&_swigt__p_std__basic_iosT_char_std__char_traitsT_char_t_t, _p_std__basic_iosT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_iostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_iostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_istreamT_char_std__char_traitsT_char_t_t, _p_std__basic_istreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0}, {&_swigt__p_std__basic_ostreamT_char_std__char_traitsT_char_t_t, _p_std__basic_ostreamT_char_std__char_traitsT_char_t_tTo_p_std__ios_base, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__locale[] = { {&_swigt__p_std__locale, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__string[] = { {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t[] = { {&_swigt__p_std__vectorT_btllib__Indexlr__Minimizer_std__allocatorT_btllib__Indexlr__Minimizer_t_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -55056,6 +59668,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_int_t, _swigc__p_btllib__KmerCountingBloomFilterT_unsigned_short_t, _swigc__p_btllib__NtHash, + _swigc__p_btllib__RandomSequenceGenerator, _swigc__p_btllib__SeedBloomFilter, _swigc__p_btllib__SeedNtHash, _swigc__p_btllib__SeqReader, @@ -55206,9 +59819,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; @@ -55391,220 +60007,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 -#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; - } - - SWIGINTERN PyObject * - SWIG_globals(void) { - static PyObject *globals = 0; - if (!globals) { - globals = SWIG_newvarlink(); - } - return globals; - } - /* ----------------------------------------------------------------------------- * constants/methods manipulation * ----------------------------------------------------------------------------- */ @@ -55633,15 +60035,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; @@ -55649,7 +60048,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, @@ -55681,68 +60080,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 * -----------------------------------------------------------------------------*/ @@ -55892,7 +60236,6 @@ SWIG_init(void) { #endif } PyDict_SetItemString(md, "cvar", globals); - Py_DECREF(globals); SwigPyBuiltin_AddPublicSymbol(public_interface, "cvar"); SWIG_addvarlink(globals, "ios_base_boolalpha", Swig_var_ios_base_boolalpha_get, Swig_var_ios_base_boolalpha_set); SWIG_addvarlink(globals, "ios_base_dec", Swig_var_ios_base_dec_get, Swig_var_ios_base_dec_set); @@ -55935,97 +60278,97 @@ SWIG_init(void) { SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); PyDict_SetItemString(d, "this", this_descr); PyDict_SetItemString(d, "thisown", thisown_descr); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ios_base_in_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_scientific_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_basefield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_floatfield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ate_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_failbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_unitbuf_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_hex_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_out_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_right_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_app_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_basefield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_beg_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_trunc_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_cur_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_end_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_oct_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_left_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_uppercase_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpoint_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_internal_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpos_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_eofbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_boolalpha_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_skipws_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_eofbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_failbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_out_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpoint_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_unitbuf_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showpos_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_oct_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_dec_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_internal_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_binary_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_hex_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ios_base_in_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showbase_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_skipws_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_right_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_uppercase_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_boolalpha_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_cur_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_goodbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_end_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_app_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_left_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_dec_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_badbit_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_adjustfield_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_fixed_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_scientific_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_ate_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_adjustfield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_beg_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_floatfield_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_showbase_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); - static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_trunc_getset_def); + static_getset = SwigPyStaticVar_new_getset(metatype, &ios_base_badbit_getset_def); PyDict_SetItemString(d, static_getset->d_getset->name, (PyObject *) static_getset); Py_DECREF(static_getset); if (PyType_Ready(builtin_pytype) < 0) { @@ -56425,6 +60768,7 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "FILTER_OUT",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::FILTER_OUT))); SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SHORT_MODE",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::SHORT_MODE))); SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "LONG_MODE",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::LONG_MODE))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "QUAL",SWIG_From_unsigned_SS_int(static_cast< unsigned int >(btllib::Indexlr::Flag::QUAL))); SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); builtin_pytype->tp_new = PyType_GenericNew; builtin_base_count = 0; @@ -57015,6 +61359,35 @@ SWIG_init(void) { SwigPyBuiltin_AddPublicSymbol(public_interface, "SeedNtHash"); d = md; + /* type 'btllib::RandomSequenceGenerator' */ + builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__RandomSequenceGenerator_type; + builtin_pytype->tp_dict = d = PyDict_New(); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SequenceType_DNA",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::SequenceType::DNA))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SequenceType_RNA",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::SequenceType::RNA))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "SequenceType_PROTEIN",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::SequenceType::PROTEIN))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "Masking_NONE",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::Masking::NONE))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "Masking_SOFT",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::Masking::SOFT))); + SWIG_Python_SetConstant(d, d == md ? public_interface : NULL, "Masking_HARD",SWIG_From_int(static_cast< int >(btllib::RandomSequenceGenerator::Masking::HARD))); + SwigPyBuiltin_SetMetaType(builtin_pytype, metatype); + builtin_pytype->tp_new = PyType_GenericNew; + builtin_base_count = 0; + builtin_bases[builtin_base_count] = NULL; + SwigPyBuiltin_InitBases(builtin_pytype, builtin_bases); + PyDict_SetItemString(d, "this", this_descr); + PyDict_SetItemString(d, "thisown", thisown_descr); + if (PyType_Ready(builtin_pytype) < 0) { + PyErr_SetString(PyExc_TypeError, "Could not create type 'RandomSequenceGenerator'."); +#if PY_VERSION_HEX >= 0x03000000 + return NULL; +#else + return; +#endif + } + Py_INCREF(builtin_pytype); + PyModule_AddObject(m, "RandomSequenceGenerator", (PyObject *)builtin_pytype); + SwigPyBuiltin_AddPublicSymbol(public_interface, "RandomSequenceGenerator"); + d = md; + /* type 'btllib::CountingBloomFilter< uint8_t >' */ builtin_pytype = (PyTypeObject *)&SwigPyBuiltin__btllib__CountingBloomFilterT_uint8_t_t_type; builtin_pytype->tp_dict = d = PyDict_New(); @@ -57152,9 +61525,12 @@ SWIG_init(void) { PyModule_AddObject(m, "KmerCountingBloomFilter32", (PyObject *)builtin_pytype); SwigPyBuiltin_AddPublicSymbol(public_interface, "KmerCountingBloomFilter32"); d = md; + SWIG_Python_FixMethods(SwigMethods_proxydocs, swig_const_table, swig_types, swig_type_initial); + #if PY_VERSION_HEX >= 0x03000000 return m; #else return; #endif } + From b3b3b30f2976f3d89c5888a6978bf67f7432fc73 Mon Sep 17 00:00:00 2001 From: parham-k Date: Sun, 12 Mar 2023 14:45:04 -0700 Subject: [PATCH 5/5] Bump version --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 5591382a..48202b99 100644 --- a/meson.build +++ b/meson.build @@ -1,5 +1,5 @@ project('btllib', 'cpp', - version : '1.5.0', + version : '1.5.1', license : 'GPL3', default_options : [ 'cpp_std=c++11', 'warning_level=3', 'werror=true' ], meson_version : '>= 0.60.0')