Clean up the FFI
Closed this issue · 0 comments
turboladen commented
We have two FFIs in wise_units
right now; one manually written, and one partially derived with ffi_derive
. We should drop the manual one in favor of the ffi_derive
version (with additional functions moved from wise_units-ffi
to the custom_ffi
module).
Couple of extra notes:
- We should make the measurement_init interface a bit easier to use. [Steve had some suggestions here|https://bitbucket.org/agrian/wise_units/pull-requests/64#Lapi/src/measurement.rsT234].
Old internal issue: DEV-13560