Sha256: 06108b25d51215e5e8f8598bca0d79be9278f97e44c603bc55752c045e11b810
Contents?: true
Size: 458 Bytes
Versions: 11
Compression:
Stored size: 458 Bytes
Contents
module GirFFI # Wraps a GIEnumInfo struct if it represents an enum. # If it represents a flag, an IFlagsInfo object is used instead. class IEnumInfo < IRegisteredTypeInfo def n_values Lib.g_enum_info_get_n_values @gobj end def value(index) IValueInfo.wrap(Lib.g_enum_info_get_value @gobj, index) end ## build_array_method :values def storage_type Lib.g_enum_info_get_storage_type @gobj end end end
Version data entries
11 entries across 11 versions & 1 rubygems