Skip to content

Conversation

@jevansaks
Copy link
Member

Per @JeremyKuhne's suggestion in #778, generate a struct wrapper to represent typedefs like WNDPROC and TIMERPROC. You can now also request these types and get a reasonable definition out.

The one problem is that function pointers do not seem to work via implicit conversions so this is slightly worse for function pointers. I am going to leave this as a draft until we can figure that out.

Fixes #1542, Fixes #778.

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.

CsWin32RunAsBuildTask fails to generate delegate structs (e.g. HOOKPROC, WNDPROC, SUBCLASSPROC) Generate wrapper structs for unmanaged delegates

2 participants