Calling API functions

The penguin is the mascot of Linux.

Your ccallis 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.

1 Like