pointer(Array) is deprecated, convert to Ptr{T}