I figured this out. Is using Ref in such a way be acceptable?
cfunction(callbackfun, Void, (Ptr{UInt8}, UInt32, Ref{SomeConcreteType}))
I figured this out. Is using Ref in such a way be acceptable?
cfunction(callbackfun, Void, (Ptr{UInt8}, UInt32, Ref{SomeConcreteType}))