method

bind_function

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Importer
bind_function(name, ctype, argtype, call_type = nil, &block) public

Returns a new closure wrapper for the name function.

  • ctype is the return type of the function

  • argtype is an Array of arguments, passed to the callback function

  • call_type is the abi of the closure

  • block is passed to the callback

See Fiddle::Closure

Show source
Register or log in to add new notes.