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