Subject:
[ruby-ffi] Re: Callback support in FFI?
From:
Wayne Meissner
Date:
8/19/11 5:46 AM
To:
ruby-ffi


There is a qsort example which takes callbacks at
https://github.com/ffi/ffi/blob/master/samples/qsort.rb and some more
examples in https://github.com/ffi/ffi/wiki/Examples


On Aug 19, 7:02 pm, przemo_li <an.prze...@gmail.com> wrote:
> I'm trying to implement freeGLUT bindings. Is it possible? I need to
> declare function that takes callback function without any parameters.
> Any luck with FFI?
>
> PS add info about callback in wiki!