Skip to content

Conversation

@hvraven
Copy link

@hvraven hvraven commented Apr 17, 2025

Add a delegate list, used to track the delegates which must be emitted while procsessing functions in to_csharp_string. This allows tracking of delegates within other delegates (i.e. callbacks within callbacks). All delegates are now emmitted together in one block and are placed before the function signatures.

I tested this code with my application, but I did not perform extensive testing to ensure it does not change any existing code bases.

@neuecc
Copy link
Member

neuecc commented Aug 18, 2025

Thank you, this looks like a good change.
Sorry for the late response.
Once you fix the conflicts, I'll check it and release it right away.

Add a delegate list, used to track the delegates which must be emitted
while procsessing functions in `to_csharp_string`. This allows tracking
of delegates within other delegates (i.e. callbacks within callbacks).
All delegates are now emmitted together in one block and are placed
before the function signatures.
@hvraven
Copy link
Author

hvraven commented Aug 18, 2025

I rebased against the latest main, but did not yet perform extensive testing. At first glance it appears to be fine

@neuecc neuecc merged commit 5b517e6 into Cysharp:main Aug 19, 2025
2 checks passed
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.

2 participants