new(ret, args, abi = Fiddle::DEFAULT)
Class Public methods
Construct a new Closure object.
-
retis the C type to be returned -
argsis an Array of arguments, passed to the callback function -
abiis the abi of the closure
If there is an error in preparing the ffi_cif or ffi_prep_closure, then a RuntimeError will be raised.
Please login to continue.