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

Declare ZZ-family of string types #730

Merged
merged 5 commits into from
Oct 14, 2022
Merged

Declare ZZ-family of string types #730

merged 5 commits into from
Oct 14, 2022

Conversation

AArnott
Copy link
Member

@AArnott AArnott commented Oct 14, 2022

Empty-string-terminated lists of null-terminated strings are described in the metadata, but they use ordinary null-terminated string types, which led CsWin32 to as well, which resulted in poor experiences such as described in the fixed #228.

This also moves more custom generated code into the templates, and consolidates attribute search code.

@AArnott AArnott merged commit 9eba543 into main Oct 14, 2022
@AArnott AArnott deleted the fix228 branch October 14, 2022 18:30
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.

PCSTR/PCWSTR should not be used for double-null terminated strings
1 participant