Methods

FFI::StructLayout::Enum

Public Instance Methods

get(ptr) click to toggle source
    # File lib/ffi/struct.rb, line 46
46:       def get(ptr)
47:         type.find(ptr.get_int(offset))
48:       end
put(ptr, value) click to toggle source
    # File lib/ffi/struct.rb, line 50
50:       def put(ptr, value)
51:         ptr.put_int(offset, type.find(value))
52:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.