Try p = Ptr{Int}[] julia> ccall((:sp_get_port_by_name, "libserialport"),Cint,(AbstractString, Ref{Ptr{Int}}),"/dev/cu.usbmodem1413",p)
or im;mutable Port x:
Try p = Ptr{Int}[] julia> ccall((:sp_get_port_by_name, "libserialport"),Cint,(AbstractString, Ref{Ptr{Int}}),"/dev/cu.usbmodem1413",p)
or im;mutable Port x: