unsafe_wrap is very difficult to use correctly due to how type-based aliasing analysis works in Julia; some of the uses in this package seem suspect. It might be useful to define a PtrArray type for internal use here, like the one in PtrArrays.jl, as an alternative.
unsafe_wrapis very difficult to use correctly due to how type-based aliasing analysis works in Julia; some of the uses in this package seem suspect. It might be useful to define aPtrArraytype for internal use here, like the one in PtrArrays.jl, as an alternative.