method

new

v1_9_3_392 - Show latest stable - Class: Fiddle::Function
new(p1, p2, p3, p4 = v4)
public

Constructs a Function object.

  • ptr is a referenced function, of a DL::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