I figured it out. Is it ok to use Ref this way?
cfunction(callbackfun, Void, (Ptr{UInt8}, UInt32, Ref{SomeConcreteType}))
I figured it out. Is it ok to use Ref this way?
cfunction(callbackfun, Void, (Ptr{UInt8}, UInt32, Ref{SomeConcreteType}))