Skip to content

Fix threadpool function pointer types#2232

Merged
jevansaks merged 1 commit intomainfrom
rafael/threadpool-func-pointers
Mar 20, 2026
Merged

Fix threadpool function pointer types#2232
jevansaks merged 1 commit intomainfrom
rafael/threadpool-func-pointers

Conversation

@riverar
Copy link
Copy Markdown
Collaborator

@riverar riverar commented Mar 19, 2026

When ClangSharp generates delegate declarations, it sometimes creates both a base delegate (e.g., TP_SIMPLE_CALLBACK) with full parameters and a pointer-type variant (e.g., PTP_SIMPLE_CALLBACK) with an empty parameter list. This change manually re-associates threadpool pointer-type variants with their base delegate types.

Fixes #2228

@riverar riverar requested review from a team, jevansaks and vineeththomasalex as code owners March 19, 2026 23:46
@jevansaks jevansaks merged commit 674b9f0 into main Mar 20, 2026
1 check passed
@jevansaks jevansaks deleted the rafael/threadpool-func-pointers branch March 20, 2026 04:20
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.

PTP_SIMPLE_CALLBACK regression

2 participants