-
Notifications
You must be signed in to change notification settings - Fork 195
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
Don't generate function structs for extensions that have no functions #442
Comments
@Rua Are you referring to unit-like structs? The type you linked may have an empty struct, but it's the only way to get to I agree though, we could probably get rid of everything that's unused or makes no sense:
Feel free to tackle this one, or wait for @MaikKlein / @Ralith to provide their opinion. The generator is already pretty loaded, but any wins we can get in |
Ah, I didn't realise that these structures had purposes beside loading functions. |
The |
I noticed that Ash generates quite a few structs for extensions without any functions, for example
KhrSurfaceProtectedCapabilitiesFn
. These structs end up empty and are rather useless. Would it be better if the generator filtered out such cases?The text was updated successfully, but these errors were encountered: