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
I'm not sure my expectation matches yours, what bindgen does there seems pretty reasonable.
#define is not a reasonable way to alias anything. Bindgen generates the right thing if you use a typedef instead as expected, but #defines in C could literally be anything.
We do a decent-ish job at handling macros that are just constants, but not sure we want to get into the business of trying to guess whether your macro is supposed to be a typedef to a struct or union, an enum variant defined somewhere else, a local variable name, ...
Consider the following:
Running:
generates an empty bindings file.
I would expect the file to contain the struct
lov_user_mds_data_v1
aliased aslov_user_mds_data
.Output from running:
The text was updated successfully, but these errors were encountered: