I want to call a C function that would return a fresh pointer in
void **penv argument. So I created a
var env_ptr: UnsafeMutableRawPointer? initialized with
nil value and passed it to the function. It went right and I got that pointer in
But now I need to transfer the pointer to another variable with
UnsafeMutablePointer<T?>? type in order to use the result in other functions.
What is the proper way for the pointer transfer? I tried it several ways without luck.