You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let bindings = bindgen::Builder::default().header("src/wrapper.h").parse_callbacks(Box::new(my_callbacks)).new_type_alias("VCL_STRING").generate();
The above code generates this Rust code:
pubstructVCL_STRING(pub*const::std::ffi::c_char);
My my_callbacks instance implements field_visibility callback, but it never gets called for the VCL_STRING type - thus I have no way for the field to be created as private or crate-public.
The text was updated successfully, but these errors were encountered:
Given a header file
I would like to create a new alias type:
The above code generates this Rust code:
My
my_callbacks
instance implementsfield_visibility
callback, but it never gets called for theVCL_STRING
type - thus I have no way for the field to be created as private or crate-public.The text was updated successfully, but these errors were encountered: