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