Skip to content

Conversation

kennykerr
Copy link
Collaborator

@kennykerr kennykerr commented Dec 10, 2024

With #3359 I mostly went for code gen parity (for validation) but with an eye toward greatly simplifying the resulting code gen once the new generator was available. Here are the first two of those simplifications:

  • Remove the "return void" hint to simplify the various Win32 style method permutations. I'd like to simplify this further but this is a good start.

  • Remove the TypeKind implementation on all Win32 structs. It really should only be needed for some WinRT types. I'd like to remove them on Win32 handles as well but that will require a bit more work so I'll handle that separately. 🙂

And this is why:

image

@kennykerr kennykerr changed the title Simpler Simpler code generation Dec 10, 2024
@kennykerr kennykerr merged commit 350014d into master Dec 10, 2024
75 checks passed
@kennykerr kennykerr deleted the simpler branch December 10, 2024 16:12
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.

1 participant