Ptr{Ptr{Cint}}

Hi,

does someone know how to replace Ptr{Ptr{Cint}} by a Ref based solution?

Example code is:

https://github.com/JuliaIO/HDF5.jl/blob/88a80661357844ccf0bc0e6a46e419e7bf8a68e5/src/HDF5.jl#L1602

Definition of C function is here:

https://github.com/JuliaIO/HDF5.jl/blob/88a80661357844ccf0bc0e6a46e419e7bf8a68e5/src/HDF5.jl#L2083

Thanks,

Tobi

The code looks correct as is. You can replace the array by a Ref of the same eltype for performance.

Hm ok. The actual issue is that mmap is not working on Windows. and I thought that this might be the root cause.

(https://github.com/JuliaIO/HDF5.jl/issues/89)

If anything, incorrect use of Ptr/Ref is rarely platform dependent.

ok thanks. Then its beyond what I can investigate.