Method: FFI::Function#call
- Defined in:
- ext/ffi_c/Function.c
#call(*args) ⇒ FFI::Type
Call the function
491 492 493 494 495 496 497 498 499 |
# File 'ext/ffi_c/Function.c', line 491
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);
}
|