# File lib/nice-ffi/typedpointer.rb, line 55 def initialize( type, options={} ) # unless type.is_a? Class and type.ancestors.include? FFI::Struct # raise TypeError, "#{self.class} only wraps FFI::Struct and subclasses." # end @type = type options = {:autorelease => true}.merge!( options ) @autorelease = options[:autorelease] end