class FFI::Struct

def offsets

(see FFI::StructLayout#offsets)
def offsets
  self.class.offsets
end