Sha256: 5d7abb53508079859665ecc1cfb6d4ba1024457d516330877c1c51be73d798c8

Contents?: true

Size: 450 Bytes

Versions: 9

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true
module GObjectIntrospection
  # Wraps a GIRegisteredTypeInfo struct.
  # Represents a registered type.
  class IRegisteredTypeInfo < IBaseInfo
    def type_name
      Lib.g_registered_type_info_get_type_name @gobj
    end

    def type_init
      Lib.g_registered_type_info_get_type_init @gobj
    end

    def g_type
      Lib.g_registered_type_info_get_g_type @gobj
    end

    alias_method :gtype, :g_type
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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