Skip to content

Simpler bindings generation#3367

Merged
kennykerr merged 1 commit intomasterfrom
simpler-bindings
Dec 9, 2024
Merged

Simpler bindings generation#3367
kennykerr merged 1 commit intomasterfrom
simpler-bindings

Conversation

@kennykerr
Copy link
Copy Markdown
Collaborator

Thanks to #3359, bindings for Win32 APIs can mostly ignore the artificial namespaces imposed by the metadata format. This simplifies the maintenance of binding generation scripts.

All I've done here is (1) remove the explicit namespace for types and (2) sorted alphabetically.

@kennykerr
Copy link
Copy Markdown
Collaborator Author

@ChrisDenton just fyi - no need to do this for rust-lang but its an option if you find its simpler to maintain.

@ChrisDenton
Copy link
Copy Markdown
Collaborator

It does look much simpler both for contributors and maintainers. Not least because it won't break if something is moved to another namespace.

@kennykerr
Copy link
Copy Markdown
Collaborator Author

Yep, that's a good point.

@kennykerr kennykerr merged commit 8fb1736 into master Dec 9, 2024
@kennykerr kennykerr deleted the simpler-bindings branch December 9, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants