KEMBAR78
Add specific test for `interface` macro `-> Result` transformation by kennykerr · Pull Request #3698 · microsoft/windows-rs · GitHub
Skip to content

Conversation

@kennykerr
Copy link
Collaborator

This update adds a specific test for the interface macro's ability to transform interface methods that return Result<()> into COM interface methods that return an HRESULT. This is done as a convenience for implementations. It would be simpler if HRESULT could just implement Try but that is not yet stable.

@kennykerr kennykerr merged commit 8e9e49c into master Aug 6, 2025
29 checks passed
@kennykerr kennykerr deleted the interface_result branch August 6, 2025 12:58
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