Updated order of arguments for ccall