Sha256: cb2ccabf8e220c3c57c570abc1de66b18591a19b51dde0ed8dc388c66fea508c
Contents?: true
Size: 558 Bytes
Versions: 6
Compression:
Stored size: 558 Bytes
Contents
# frozen_string_literal: true module GObjectIntrospection # 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 field_type ITypeInfo.wrap Lib.g_field_info_get_type(@gobj) end def readable? flags[:readable] end def writable? flags[:writable] end end end
Version data entries
6 entries across 6 versions & 1 rubygems