# File lib/ffi/struct.rb, line 220 def from_native(ptr, ctx) struct_class.new(AutoPointer.new(ptr, @method)) end