Method: FFI::Type::Mapped#from_native

Defined in:
ext/ffi_c/MappedType.c

#from_native(*args) ⇒ Object

Parameters:



171
172
173
174
175
176
177
178
# File 'ext/ffi_c/MappedType.c', line 171

static VALUE
mapped_from_native(int argc, VALUE* argv, VALUE self)
{
    MappedType*m = NULL;
    TypedData_Get_Struct(self, MappedType, &mapped_type_data_type, m);

    return rb_funcall2(m->rbConverter, id_from_native, argc, argv);
}