Skip to content
Snippets Groups Projects

restore NPY_NO_DEPRECATED_API macro to prevent spurious warning

Merged Wuttke, Joachim requested to merge si0 into develop
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
+ 1
0
@@ -34,6 +34,7 @@
#include <Python.h>
#define PY_ARRAY_UNIQUE_SYMBOL BORNAGAIN_PYTHONAPI_ARRAY
#define NO_IMPORT_ARRAY
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION // to prevent spurious warning
#include <numpy/arrayobject.h>
#include "auto/Wrap/swig_runtime.h"
Loading