class FFI::Struct::ManagedStructConverter

def from_native(ptr, ctx)

Returns:
  • (Struct) -

Parameters:
  • ctx (nil) --
  • ptr (Pointer) --
def from_native(ptr, ctx)
  struct_class.new(AutoPointer.new(ptr, @method))
end