Open kinetiknz opened 8 years ago
pointer.rs wraps Data in a newtype to make it opaque to C, but datalib_data_f64_append attempts to access the fields of (*data) as if it was of type Data. It needs to access the wrapper value via .0 to be valid Rust.
Ah thanks, I'll fix that soon.
pointer.rs wraps Data in a newtype to make it opaque to C, but datalib_data_f64_append attempts to access the fields of (*data) as if it was of type Data. It needs to access the wrapper value via .0 to be valid Rust.