Subject:
[ruby-ffi] Re: Inline Callbacks
From:
Wayne Meissner
Date:
10/29/11 8:07 PM
To:
ruby-ffi@googlegroups.com


Blocks-as-callbacks work only for the case where there is exactly one callback parameter specified for the function, when the function is called with a block, and the number of arguments passed is one less than the number specified, then pass the block as the callback.

Its in Call.c, line 86.

Not supported for varargs functions.