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

have winrtclass also use the bridge pattern #192

Merged
merged 2 commits into from
Dec 23, 2024

Conversation

stevenbrix
Copy link
Collaborator

@stevenbrix stevenbrix commented Dec 19, 2024

This PR moves the WinRTClass to use the AbiBridge pattern for converting to/from the ABI. This makes the API more similar to the way interfaces work, and is a pre-cursor to array support

the bridge/contract pattern is required for classes/interfaces because they can not simply specify their abi convergence on the type themselves. as this would fail when trying to implement multiple interfaces or when using composable classes

@stevenbrix stevenbrix requested a review from a team as a code owner December 19, 2024 00:44
@stevenbrix stevenbrix force-pushed the steve/winrt-class-bridge branch from 093ef7d to 8d167f2 Compare December 23, 2024 18:58
@stevenbrix stevenbrix enabled auto-merge (squash) December 23, 2024 18:58
@stevenbrix stevenbrix merged commit ad8c2a5 into main Dec 23, 2024
1 check passed
@stevenbrix stevenbrix deleted the steve/winrt-class-bridge branch December 23, 2024 19:02
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