Sha256: 1c0af0a011c8ac59538303cb3d9f80c5bf3ad8b0fd3c4bd000528e9c1821d052

Contents?: true

Size: 279 Bytes

Versions: 2

Compression:

Stored size: 279 Bytes

Contents

module GirFFI
  module InfoExt
    module IFieldInfo
      def layout_specification
        [ name.to_sym,
          field_type.layout_specification_type,
          offset ]
      end
    end
  end
end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gir_ffi-0.5.1 lib/gir_ffi/info_ext/i_field_info.rb
gir_ffi-0.5.0 lib/gir_ffi/info_ext/i_field_info.rb