X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=bindings%2Fpython%2Fsigrok%2Fcore%2Fclasses.i;fp=bindings%2Fpython%2Fsigrok%2Fcore%2Fclasses.i;h=49cfba98791443e48c7b0f4fe8d7eec246d7a873;hb=e66728886ff684e286a2544986116251e4c5531e;hp=347a7e220c4dfb23cf8588ae9cb65a0c1c19c9d5;hpb=fa72105fe621bce7767f2b3512223182f2bf6f33;p=libsigrok.git 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;