Sha256: 46624dc76e87a652cc3ac224278aa3c0008bd9b4932bcd381407577c00628e9e

Contents?: true

Size: 335 Bytes

Versions: 10

Compression:

Stored size: 335 Bytes

Contents

module GirFFI
  module InfoExt
    # Extensions for GObjectIntrospection::IFieldInfo needed by GirFFI
    module IFieldInfo
      def layout_specification
        [ name.to_sym,
          field_type.to_ffitype,
          offset ]
      end
    end
  end
end

GObjectIntrospection::IFieldInfo.send :include, GirFFI::InfoExt::IFieldInfo

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
gir_ffi-0.7.5 lib/gir_ffi/info_ext/i_field_info.rb
gir_ffi-0.7.4 lib/gir_ffi/info_ext/i_field_info.rb
gir_ffi-0.7.3 lib/gir_ffi/info_ext/i_field_info.rb
gir_ffi-0.7.2 lib/gir_ffi/info_ext/i_field_info.rb
gir_ffi-0.7.1 lib/gir_ffi/info_ext/i_field_info.rb
gir_ffi-0.7.0 lib/gir_ffi/info_ext/i_field_info.rb
gir_ffi-0.6.7 lib/gir_ffi/info_ext/i_field_info.rb
gir_ffi-0.6.6 lib/gir_ffi/info_ext/i_field_info.rb
gir_ffi-0.6.5 lib/gir_ffi/info_ext/i_field_info.rb
gir_ffi-0.6.4 lib/gir_ffi/info_ext/i_field_info.rb