A field in a Struct.
# File lib/ffi/tools/struct_generator.rb, line 179 179: def offset=(o) 180: @offset = o 181: end
# File lib/ffi/tools/struct_generator.rb, line 183 183: def to_config(name) 184: buf = [] 185: buf << "rbx.platform.#{name}.#{@name}.offset = #{@offset}" 186: buf << "rbx.platform.#{name}.#{@name}.size = #{@size}" 187: buf << "rbx.platform.#{name}.#{@name}.type = #{@type}" if @type 188: buf 189: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.