Works for me. What your build output and your .c?
But I've found that it creates a second scalar that points to root, so DESTROY is now being called twice for the same pointer.
In reply to Re^5: How to keep C variables "alive" between invocations with Inline::C
by ikegami
in thread How to keep C variables "alive" between invocations with Inline::C
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |