-
|
I'm using bindgen to process a header for a library that accepts arguments of type As a concrete example, I'd like to be able to release a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
There's no feature that does exactly that, but you can do something like it by combining two features:
Let me know if this fixes your issue. |
Beta Was this translation helpful? Give feedback.
There's no feature that does exactly that, but you can do something like it by combining two features:
First you need to call
blocklist_typewithFILEso there's no definition forFILEanywhere in your bindings. Given thatblocklistmethods are not recursive/transitive, all the uses ofFILEin your bindings will still be present.Then you call
raw_linewithuse libc::FILE;. Given thatlibc::FILEandFILEare the same type, they should be ABI compatible.Let me know if this fixes your issue.