Skip to content
Snippets Groups Projects
Commit c0575b42 authored by AlQuemist's avatar AlQuemist
Browse files

rm Numpy from Wrap/Swig/commons.i

parent a502aa7d
No related branches found
No related tags found
1 merge request!2724Remove Numpy C-API from the build mechanism (Major change)
......@@ -14,17 +14,6 @@
%{
#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
%}
%include "numpy.i"
%init %{
if(!PyArray_API) {
import_array();
}
%}
#define GCC_DIAG_OFF(x)
......
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