class FFI::StructLayout
def offset_of(field_name)
-
(Integer)
-
def offset_of(field_name) self[field_name].offset end
def offsets
-
(Array
- Array)
def offsets members.map { |m| [ m, self[m].offset ] } end
(Integer)
-
def offset_of(field_name) self[field_name].offset end
(Array)
- Arraydef offsets members.map { |m| [ m, self[m].offset ] } end