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

Improve the translation of type declarations #4

Closed
eqrion opened this issue May 9, 2017 · 0 comments
Closed

Improve the translation of type declarations #4

eqrion opened this issue May 9, 2017 · 0 comments

Comments

@eqrion
Copy link
Collaborator

eqrion commented May 9, 2017

The current code for converting a Rust type to a C declaration is not correct and doesn't handle all the intricacies needed. It works for simpler things, like nested pointers, simple arrays, and simple function pointers, but I don't have confidence it works for arbitrary composition of those things.

Some broken things:

  1. Functions that return function pointers
  2. Function pointers that return function pointers
@eqrion eqrion closed this as completed in ec1dfdd May 11, 2017
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

1 participant