Skip to content

Add item indexing support to windows-metadata #3612

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

Merged
merged 3 commits into from
May 22, 2025
Merged

Add item indexing support to windows-metadata #3612

merged 3 commits into from
May 22, 2025

Conversation

kennykerr
Copy link
Collaborator

Builds on #3562 to add item indexing support to the windows-metadata reader - this is a slightly higher-level index needed to quickly look up Win32-style global types, functions and constants. This is needed for the eventual replacement of the windows-bindgen metadata reader and just generally makes it a lot easier to develop tooling for COM and Win32-style APIs.

The TypeIndex provides indexing over the ECMA-335 TypeDef table that inexplicably never provided sorting directly. The ItemIndex provides indexing on top of that while further categorizing. If you're only working with WinRT metadata then the TypeIndex should suffice.

@kennykerr kennykerr merged commit bbe2bf3 into master May 22, 2025
29 checks passed
@kennykerr kennykerr deleted the item_index branch May 22, 2025 12:57
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.

1 participant