Zero-copy conversion of a native D slice to an FFIArray. The resulting
FFIArray has the same lifetime as the native D slice, so a stack
allocated slice will also cause the FFIArray to become invalid when
leaving its scope. DIP1000 should help avoid such issues.
Zero-copy conversion of a native D slice to an FFIArray. The resulting FFIArray has the same lifetime as the native D slice, so a stack allocated slice will also cause the FFIArray to become invalid when leaving its scope. DIP1000 should help avoid such issues.