Skip to content

Declare ZZ-family of string types#730

Merged
AArnott merged 5 commits intomainfrom
fix228
Oct 14, 2022
Merged

Declare ZZ-family of string types#730
AArnott merged 5 commits intomainfrom
fix228

Conversation

@AArnott
Copy link
Copy Markdown
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.

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