Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/pointer.rs contains invalid Rust code #34

Open
kinetiknz opened this issue Jan 29, 2016 · 1 comment
Open

examples/pointer.rs contains invalid Rust code #34

kinetiknz opened this issue Jan 29, 2016 · 1 comment

Comments

@kinetiknz
Copy link

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.

@Sean1708
Copy link
Owner

Ah thanks, I'll fix that soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants