-
Notifications
You must be signed in to change notification settings - Fork 744
Generate placeholder for .h implementation #440
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
Comments
You mean to generate a |
Ohh, ok, the other way around, I see |
I think this should be sort of trivial once we have #429. We'd only have to change the code generation for functions after that. |
Example of generated output: https://github.com/Yamakaky/cinder/blob/master/src/vulkan_h.rs#L2875-L2879 |
Is there any update on this ? I need to implement a rust library based on a large C header and did not find an appropriate tool to generate those placeholders. For now, I'm doing it by hand, based on what bindgen normally outputs, and it's long... Does someone has a better solution ? |
Triage note: It has been long and the example url that is mentioned in the comment above is gone. To get clarification -
|
We have not heard back in a while. I am closing this for now. Please reopen if this is needed again. Thank you. |
Use case: implement in Rust the functions defined in a .h. Currently I use bindgen + manual modifications (no_mangle, unimplemented!()).
The text was updated successfully, but these errors were encountered: