|
1 | 1 | /* ---------------------------------------------------------------------------- |
2 | 2 | * This file was automatically generated by SWIG (https://www.swig.org). |
3 | | - * Version 4.3.0 |
| 3 | + * Version 4.3.1 |
4 | 4 | * |
5 | 5 | * Do not make changes to this file unless you know what you are doing - modify |
6 | 6 | * the SWIG interface file instead. |
7 | 7 | * ----------------------------------------------------------------------------- */ |
8 | 8 |
|
9 | 9 |
|
10 | | -#define SWIG_VERSION 0x040300 |
| 10 | +#define SWIG_VERSION 0x040301 |
11 | 11 | #define SWIGPYTHON |
12 | 12 | #define SWIG_PYTHON_THREADS |
13 | 13 | #define SWIG_PYTHON_DIRECTOR_NO_VTABLE |
|
206 | 206 | # include <Python.h> |
207 | 207 | #endif |
208 | 208 |
|
209 | | -#if !defined(SWIGPYTHON_BUILTIN) && PY_VERSION_HEX >= 0x03030000 |
210 | | -# define SWIG_HEAPTYPES |
211 | | - |
212 | | -/* Note: Currently this won't activate - it is in place ready for when the |
213 | | - * SWIGPYTHON_BUILTIN condition above gets removed. */ |
214 | | -# if PY_VERSION_HEX < 0x030c0000 && defined(SWIGPYTHON_BUILTIN) |
215 | | -# include <structmember.h> |
216 | | -# define Py_READONLY READONLY |
217 | | -# define Py_T_PYSSIZET T_PYSSIZET |
218 | | -# endif |
| 209 | +#if defined(SWIGPYTHON_BUILTIN) && defined(SWIG_HEAPTYPES) |
| 210 | +/* SWIG_HEAPTYPES is not ready for use with SWIGPYTHON_BUILTIN, but if turned on manually requires the following */ |
| 211 | +#if PY_VERSION_HEX >= 0x03030000 && PY_VERSION_HEX < 0x030c0000 |
| 212 | +#include <structmember.h> |
| 213 | +#define Py_READONLY READONLY |
| 214 | +#define Py_T_PYSSIZET T_PYSSIZET |
| 215 | +#endif |
219 | 216 | #endif |
220 | 217 |
|
221 | 218 | #if __GNUC__ >= 7 |
@@ -1477,6 +1474,10 @@ swig_varlink_setattr(PyObject *o, char *n, PyObject *p) { |
1477 | 1474 | return res; |
1478 | 1475 | } |
1479 | 1476 |
|
| 1477 | +#if !defined(SWIGPYTHON_BUILTIN) && PY_VERSION_HEX >= 0x03030000 |
| 1478 | +#define SWIG_HEAPTYPES |
| 1479 | +#endif |
| 1480 | + |
1480 | 1481 | SWIGINTERN PyTypeObject* |
1481 | 1482 | swig_varlink_type(void) { |
1482 | 1483 | static char varlink__doc__[] = "Swig var link object"; |
@@ -4317,7 +4318,7 @@ static void _set_python_exception() { |
4317 | 4318 |
|
4318 | 4319 |
|
4319 | 4320 |
|
4320 | | - /*@SWIG:/usr/local/share/swig/4.3.0/typemaps/exception.swg,59,SWIG_CATCH_STDEXCEPT@*/ /* catching std::exception */ |
| 4321 | + /*@SWIG:/usr/local/share/swig/4.3.1/typemaps/exception.swg,59,SWIG_CATCH_STDEXCEPT@*/ /* catching std::exception */ |
4321 | 4322 | catch (std::invalid_argument& e) { |
4322 | 4323 | SWIG_exception_fail(SWIG_ValueError, e.what() ); |
4323 | 4324 | } catch (std::domain_error& e) { |
|
0 commit comments