Method: FFI::Function#call
- Defined in:
- ext/ffi_c/Function.c
#call(*args) ⇒ FFI::Type
Call the function
493 494 495 496 497 498 499 500 501 |
# File 'ext/ffi_c/Function.c', line 493 static VALUE function_call(int argc, VALUE* argv, VALUE self) { Function* fn; TypedData_Get_Struct(self, Function, &function_data_type, fn); return (*fn->info->invoke)(argc, argv, fn->base.memory.address, fn->info); } |