Thanks for posting this! I saw your other post about keeping return memory locations stable. Options for keeping return memory location stable
I’m also struggling with a c-library that has a lot of callbacks, so I’ll be looking through how you organized yours for some tips.