ffi/ffi — Issue #161: Support varargs in callback.
Author: taipan-ouch
Created: 2011-10-09 17:15:16+00:00
State: open

I have a callback function:

callback(:LogFunc, [:string, :varargs], :void)

and a when I specify a proc:

LogFuncCallback = Proc.new do |string, args|
puts string
puts args.nil?
end

Args is always null. Any ideas if this can be supported?

Thanks