Sha256: 6eaa44362fac5dab2dc7fc906190bebb4080e10528350089205c4fa6917b4c61
Contents?: true
Size: 472 Bytes
Versions: 14
Compression:
Stored size: 472 Bytes
Contents
# frozen_string_literal: true module GirFFI module InfoExt # Extensions for GObjectIntrospection::IFieldInfo needed by GirFFI module IFieldInfo def layout_specification [name.to_sym, field_type.to_ffi_type, offset] end def related_array_length_field index = field_type.array_length container.fields[index] if index > -1 end end end end GObjectIntrospection::IFieldInfo.include GirFFI::InfoExt::IFieldInfo
Version data entries
14 entries across 14 versions & 1 rubygems