Ptr{Ptr{Cint}}


#1

Hi,

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

Example code is:

Definition of C function is here:

Thanks,

Tobi


#2

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


#3

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)


#4

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


#5

ok thanks. Then its beyond what I can investigate.