module GirFFI::InfoExt::IFieldInfo

Extensions for GObjectIntrospection::IFieldInfo needed by GirFFI

Public Instance Methods

layout_specification() click to toggle source
# File lib/gir_ffi/info_ext/i_field_info.rb, line 5
def layout_specification
  [ name.to_sym,
    field_type.to_ffitype,
    offset ]
end