This is giving me quite some trouble and extra code write.
Just wondering, can I set a function that will be called upon my object deletion ti free my object user data?
Not sure if the question is clear, but I wanted to use this:
But my user data needs to be freed (actually given back to a memory bank).
Thanks in advance.