Make c struct/union new allocate on the stack. For heap allocation use Pointer#malloc