I need a refresher on how to do this:

for (T, postfix) in ((:Int, :int), (:Float64, :fp))
    @eval  ccall(  ___ )
end

# so Julia sees

ccall( (:convert_from_int, "myClib"), Void, (Ref{ Int     }, ), my_int_var )
ccall( (:convert_from_fp,  "myClib"), Void, (Ref{ Float64 }, ), my_fp_var  )

thank you.

Reply via email to