Skip to content
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

Adds unsafe helpers to cast from C++ or raw IUnknown pointers to Rust IUnknown values #2010

Merged
merged 4 commits into from Sep 8, 2022

Conversation

kennykerr
Copy link
Collaborator

Fixes: #1975

crates/libs/windows/src/core/unknown.rs Outdated Show resolved Hide resolved
crates/libs/windows/src/core/unknown.rs Outdated Show resolved Hide resolved
crates/libs/windows/src/core/unknown.rs Outdated Show resolved Hide resolved
crates/tests/core/tests/unknown.rs Show resolved Hide resolved
crates/tests/core/tests/unknown.rs Outdated Show resolved Hide resolved
rylev
rylev previously approved these changes Sep 8, 2022
crates/tests/core/tests/unknown.rs Outdated Show resolved Hide resolved
Co-authored-by: Ryan Levick <rylev@users.noreply.github.com>
@kennykerr kennykerr merged commit 61bc313 into master Sep 8, 2022
@kennykerr kennykerr deleted the unknown_from_raw branch September 8, 2022 13:16
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.

How to cast C++ IUnknown pointer to Rust IUnknown struct?
2 participants