KEMBAR78
Add item indexing support to `windows-metadata` by kennykerr · Pull Request #3612 · microsoft/windows-rs · GitHub
Skip to content

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