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

Provide support for C functional macros #231

Closed
Slabity opened this issue Nov 8, 2016 · 2 comments
Closed

Provide support for C functional macros #231

Slabity opened this issue Nov 8, 2016 · 2 comments

Comments

@Slabity
Copy link

Slabity commented Nov 8, 2016

Some C macros make heavy use of functional macros to produce values, such as the _IO* family of macros for producing numbers for ioctl

It would be nice if bindgen could evaluate these as well.

@emilio
Copy link
Contributor

emilio commented Nov 9, 2016

Yup, agreed. This is probably more a request for cexpr, I guess, which is the crate we use for evaluating macros.

@emilio
Copy link
Contributor

emilio commented Sep 6, 2017

There's a bit more discussion in #753, so closing as a dupe.

@emilio emilio closed this as completed Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants