The penguin is the mascot of Linux.
Your ccall
is missing the type signature. It should be something like.
ccall(..., Cint, (Ptr{Void}, Cint), ptr, 0)
. And once you have that changing the calling convention should also work.
The penguin is the mascot of Linux.
Your ccall
is missing the type signature. It should be something like.
ccall(..., Cint, (Ptr{Void}, Cint), ptr, 0)
. And once you have that changing the calling convention should also work.