rust-bindgen icon indicating copy to clipboard operation
rust-bindgen copied to clipboard

extend parse callbacks to expose discovered composite types and aliases

Open mxyns opened this issue 1 year ago • 6 comments

this is my attempt at #2657

example use case: this allowed me to build a library that discovers the bindings (for composite type) generated by bindgen (https://github.com/mxyns/bindgen-bridge)

i tried to expose as little hidden internal structs as possible (like passing ItemId as a usize) but I did not feel like duplicating the definition of CompType was a good idea so I just made it public

mxyns avatar Oct 08 '23 10:10 mxyns