Subject:
[ruby-ffi] Re: Callback issues in OSX
From:
Ari
Date:
5/4/11 11:36 PM
To:
ruby-ffi

the callback should read

EventCallback = FFI::Function.new(:pointer,
[:pointer, :pointer, :pointer]) do | newPackets_ptr, refCon_ptr,
connRefCon_ptr |
      puts "hello from the callback"
end