Sha256: fc561b5b17bd63a99597f507ebbb12f91ea8be7e0606995a6d0181faee89fe30
Contents?: true
Size: 448 Bytes
Versions: 9
Compression:
Stored size: 448 Bytes
Contents
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.send :include, GirFFI::InfoExt::IFieldInfo
Version data entries
9 entries across 9 versions & 1 rubygems