Sha256: 28ab15bc204ce01eedbcef70c7069fbc304f4a90a36fe6b3ae302a37e83a3514

Contents?: true

Size: 372 Bytes

Versions: 3

Compression:

Stored size: 372 Bytes

Contents

module GirFFI
  # Wraps a GIFieldInfo struct.
  # Represents a field of an IStructInfo or an IUnionInfo.
  class IFieldInfo < IBaseInfo
    def flags; Lib.g_field_info_get_flags @gobj; end
    def size; Lib.g_field_info_get_size @gobj; end
    def offset; Lib.g_field_info_get_offset @gobj; end
    def type; ITypeInfo.wrap(Lib.g_field_info_get_type @gobj); end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gir_ffi-0.0.3 lib/gir_ffi/i_field_info.rb
gir_ffi-0.0.2 lib/gir_ffi/i_field_info.rb
gir_ffi-0.0.1 lib/gir_ffi/i_field_info.rb