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

Make GDI+ private types opaque #1904

Merged
merged 3 commits into from
May 10, 2024
Merged

Make GDI+ private types opaque #1904

merged 3 commits into from
May 10, 2024

Conversation

riverar
Copy link
Collaborator

@riverar riverar commented May 10, 2024

Fixes: #1821

Updates GDI+ private classes in metadata from NativeTypeDefs with a single pointer-sized field to opaque empty structs for better accuracy and proper handling.

@riverar riverar requested a review from AArnott May 10, 2024 04:51
@riverar
Copy link
Collaborator Author

riverar commented May 10, 2024

@AArnott If you'd like to run this through CsWin32, here's a winmd:
artifact.zip

mikebattista
mikebattista previously approved these changes May 10, 2024
@mikebattista
Copy link
Contributor

Will merge pending approval from @AArnott.

@AArnott
Copy link
Member

AArnott commented May 10, 2024

I tested CsWin32 with this winmd, and full generation produces compilable code. I sign off.

@mikebattista mikebattista merged commit 056f536 into main May 10, 2024
7 checks passed
@mikebattista mikebattista deleted the rafael/gdiplus_classes branch May 10, 2024 19:08
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.

Metadata falsely represents native classes as typedef structs
3 participants