Object
A field in a Struct.
# File lib/ffi/tools/struct_generator.rb, line 179 def offset=(o) @offset = o end
# File lib/ffi/tools/struct_generator.rb, line 183 def to_config(name) buf = [] buf << "rbx.platform.#{name}.#{@name}.offset = #{@offset}" buf << "rbx.platform.#{name}.#{@name}.size = #{@size}" buf << "rbx.platform.#{name}.#{@name}.type = #{@type}" if @type buf end
Generated with the Darkfish Rdoc Generator 2.