From 2f8f6191a044797a1129072fc5f2b8ab0834df29 Mon Sep 17 00:00:00 2001
From: AlQuemist <alquemist@Lyriks>
Date: Mon, 16 Sep 2024 15:20:54 +0200
Subject: [PATCH] Update SWIG-produced C++ wrappers

---
 auto/Wrap/libBornAgainBase_wrap.cpp     | 17 -----------------
 auto/Wrap/libBornAgainDevice_wrap.cpp   | 17 -----------------
 auto/Wrap/libBornAgainFit_wrap.cpp      | 17 -----------------
 auto/Wrap/libBornAgainParam_wrap.cpp    | 17 -----------------
 auto/Wrap/libBornAgainResample_wrap.cpp | 17 -----------------
 auto/Wrap/libBornAgainSample_wrap.cpp   | 17 -----------------
 auto/Wrap/libBornAgainSim_wrap.cpp      | 17 -----------------
 7 files changed, 119 deletions(-)

diff --git a/auto/Wrap/libBornAgainBase_wrap.cpp b/auto/Wrap/libBornAgainBase_wrap.cpp
index 6ae8c6aade5..00a75c401f0 100644
--- a/auto/Wrap/libBornAgainBase_wrap.cpp
+++ b/auto/Wrap/libBornAgainBase_wrap.cpp
@@ -4393,18 +4393,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -31852,11 +31840,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainDevice_wrap.cpp b/auto/Wrap/libBornAgainDevice_wrap.cpp
index 2a43ee473e6..01b9cdb1374 100644
--- a/auto/Wrap/libBornAgainDevice_wrap.cpp
+++ b/auto/Wrap/libBornAgainDevice_wrap.cpp
@@ -4422,18 +4422,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -45018,11 +45006,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainFit_wrap.cpp b/auto/Wrap/libBornAgainFit_wrap.cpp
index de7b564e88e..9d339c117dd 100644
--- a/auto/Wrap/libBornAgainFit_wrap.cpp
+++ b/auto/Wrap/libBornAgainFit_wrap.cpp
@@ -4393,18 +4393,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -30817,11 +30805,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainParam_wrap.cpp b/auto/Wrap/libBornAgainParam_wrap.cpp
index 0f09e976987..6876d9893cf 100644
--- a/auto/Wrap/libBornAgainParam_wrap.cpp
+++ b/auto/Wrap/libBornAgainParam_wrap.cpp
@@ -4393,18 +4393,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -34364,11 +34352,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainResample_wrap.cpp b/auto/Wrap/libBornAgainResample_wrap.cpp
index 5a60900fc7c..14b0b92e55a 100644
--- a/auto/Wrap/libBornAgainResample_wrap.cpp
+++ b/auto/Wrap/libBornAgainResample_wrap.cpp
@@ -4387,18 +4387,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -31140,11 +31128,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainSample_wrap.cpp b/auto/Wrap/libBornAgainSample_wrap.cpp
index 01800e6efeb..92d7e613b3c 100644
--- a/auto/Wrap/libBornAgainSample_wrap.cpp
+++ b/auto/Wrap/libBornAgainSample_wrap.cpp
@@ -4504,18 +4504,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -78260,11 +78248,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
diff --git a/auto/Wrap/libBornAgainSim_wrap.cpp b/auto/Wrap/libBornAgainSim_wrap.cpp
index ac499a6361c..a5ad5deb549 100644
--- a/auto/Wrap/libBornAgainSim_wrap.cpp
+++ b/auto/Wrap/libBornAgainSim_wrap.cpp
@@ -4426,18 +4426,6 @@ SWIGINTERNINLINE PyObject*
 
 
 #define SWIG_FILE_WITH_INIT
-/* NOTE: Using `PY_ARRAY_UNIQUE_SYMBOL` one can use
-   the Numpy Array API in multiple files for a single extension module.
-*/
-#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
-
-
-#ifndef SWIG_FILE_WITH_INIT
-#define NO_IMPORT_ARRAY
-#endif
-#include "stdio.h"
-#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
-#include <numpy/arrayobject.h>
 
 
 namespace swig {
@@ -40893,11 +40881,6 @@ SWIG_init(void) {
   
   SWIG_Python_SetConstant(d, "SHARED_PTR_DISOWN",SWIG_From_int(static_cast< int >(0)));
   
-  if(!PyArray_API) {
-    import_array();
-  }
-  
-  
   // thread safe initialization
   swig::container_owner_attribute();
   
-- 
GitLab