new

new(ptr, args, ret_type, abi = DEFAULT)
Class Public methods

Constructs a Function object.

  • ptr is a referenced function, of a Fiddle::Handle

  • args is an Array of arguments, passed to the ptr function

  • ret_type is the return type of the function

  • abi is the ABI of the function

doc_ruby_on_rails
2015-04-05 23:47:30
Comments
Leave a Comment

Please login to continue.