Sha256: a9ce734e935f6dbd18ded1cb511de2431791f74b7f1a4a17b11524c8d3ba4257

Contents?: true

Size: 267 Bytes

Versions: 9

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true
require 'gir_ffi/type_base'

module GirFFI
  # Base module for generated registered GLib types (these are types that have a
  # GType).
  module RegisteredTypeBase
    include TypeBase

    def gtype
      self::G_TYPE
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gir_ffi-0.11.1 lib/gir_ffi/registered_type_base.rb
gir_ffi-0.11.0 lib/gir_ffi/registered_type_base.rb
gir_ffi-0.10.2 lib/gir_ffi/registered_type_base.rb
gir_ffi-0.10.1 lib/gir_ffi/registered_type_base.rb
gir_ffi-0.10.0 lib/gir_ffi/registered_type_base.rb
gir_ffi-0.10.0.pre1 lib/gir_ffi/registered_type_base.rb
gir_ffi-0.9.5 lib/gir_ffi/registered_type_base.rb
gir_ffi-0.9.4 lib/gir_ffi/registered_type_base.rb
gir_ffi-0.9.3 lib/gir_ffi/registered_type_base.rb