Skip to content
Snippets Groups Projects
Commit 07944132 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

restore NPY_NO_DEPRECATED_API macro to prevent spurious warning

parent 744879ce
No related branches found
No related tags found
1 merge request!444restore NPY_NO_DEPRECATED_API macro to prevent spurious warning
Pipeline #49034 passed
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment