I think I had a wrong understanding of what `@unmanaged` does, so it seems that the code will now be leaking `heap` memory. Would be best to figure out how to return multiple values in a way that doesn't require heap allocation.
I think I had a wrong understanding of what
@unmanageddoes, so it seems that the code will now be leakingheapmemory.Would be best to figure out how to return multiple values in a way that doesn't require heap allocation.