Closed SolidTux closed 3 years ago
It looks like master / unreleased 0.8 changes that function to return the stream ptr directly rather than using an out-pointer: https://github.com/pothosware/SoapySDR/pull/212. It uses a macro for C API backwards compatibility, but that isn't supported by rust-bindgen.
I'd ideally like to keep compatibility back to 0.6 because it's in the Ubuntu 18.04 repository. It might be possible to do something in wrapper.h using the compatibility macro or #if SOAPY_SDR_API_VERSION >= ...
to expose something with the same API on all versions.
I probably won't get to this soon, but I'd accept a PR.
Fixed in #15, cargo release tracked in #16.
With the current SoapySDR version (compiled from the master branch), the API apparently changed. With that the compilation fails