On Thursday, 24 April 2014 at 20:09:38 UTC, Justin Whear wrote:
You can use GC.addRoot() from core.memory before passing the pointer to
the C function, then use GC.removeRoot in your myFree function.

Perfect, thanks!

Reply via email to