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

fixes for latest rust #3

Merged
merged 1 commit into from
Nov 19, 2013
Merged

fixes for latest rust #3

merged 1 commit into from
Nov 19, 2013

Conversation

itdaniher
Copy link
Collaborator

uses enum FromPrimitive trait, drop use of cast::transmute, s/sys/mem/, etc...

kevinmehall added a commit that referenced this pull request Nov 19, 2013
@kevinmehall kevinmehall merged commit 33dc217 into kevinmehall:master Nov 19, 2013
@kevinmehall
Copy link
Owner

I thought we would be able to use the enum types everywhere now that we have #[repr(C)], but returning enums from FFI functions is broken (rust-lang/rust#10308), so this looks good for now.

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

Successfully merging this pull request may close these issues.

2 participants