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

Add -public_exclusiveto flag to enable implementing exclusiveto interfaces in consuming projects #1670

Merged
merged 9 commits into from
Jul 13, 2024

Conversation

jevansaks
Copy link
Member

We have a pattern where runtimeclasses are defined in MIDL with the expectation that they'll be implemented by multiple other components. In this model the "exclusiveto" interfaces aren't so exclusive since they need to be implemented by other callers. When generating a consuming projection from such a component, we'll pass this new flag so that the exclusiveto interfaces are exposed the same as any other WinRT interface so that consumers can implement those interfaces too.

In this change I added the public_exclusiveto flag and used it in the couple of places that affect the generation of the public interface bits (i.e. helper class visibility and vtable).

@manodasanW manodasanW merged commit 9285dc8 into microsoft:staging/AOT Jul 13, 2024
1 check passed
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