Bryan Rivera Mon, 01 Feb 2016 21:29:16 -0800
I figured it out. Is it ok to use Ref this way?
cfunction(callbackfun, Void, (Ptr{UInt8}, UInt32, Ref{SomeConcreteType}))