diff --git a/bindings/python/sigrok/core/classes.i b/bindings/python/sigrok/core/classes.i index 347a7e22..49cfba98 100644 --- a/bindings/python/sigrok/core/classes.i +++ b/bindings/python/sigrok/core/classes.i @@ -47,6 +47,7 @@ which provides access to the error code and description." %{ #include #include +#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION #include PyObject *PyGObject_lib;