Hi,
is there a way to obtain a type T from a Ptr{T}, e.g. get UInt32 from
Ptr{UInt32}.
I'm trying to fix NIDAQ for 0.4 (tupplecalypse)
This is needed if I have a signature of a function (demonstration example
from base, in real NIDAQ package there is huge C header processed by
Clang.jl)
cfunction = getfield(Base.dSFMT,:dsfmt_fill_array_close1_open2!)
signature = cfunction.env.defs.sig
pt = signature.types[2]
out> Ptr{Float64}
how to obtain the Float64 base type from Ptr{T} to construct the
appropriate array to pass into the function?
Petr