Sha256: 598235782cfc35e21e91512a50473f5b86138c5c164720674f30e0cb9dd9a983

Contents?: true

Size: 579 Bytes

Versions: 16

Compression:

Stored size: 579 Bytes

Contents

module GirFFI
  module InfoExt
    # Extension module provinding a #full_type_name method suitable for
    # callbacks, constants and registered types. Signals and vfuncs need a
    # different implementation.
    module FullTypeName
      def full_type_name
        "#{safe_namespace}::#{safe_name}"
      end
    end
  end
end

GObjectIntrospection::ICallbackInfo.send :include, GirFFI::InfoExt::FullTypeName
GObjectIntrospection::IConstantInfo.send :include, GirFFI::InfoExt::FullTypeName
GObjectIntrospection::IRegisteredTypeInfo.send :include, GirFFI::InfoExt::FullTypeName

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
gir_ffi-0.9.2 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.9.1 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.9.0 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.8.6 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.8.5 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.8.4 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.8.3 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.8.2 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.8.1 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.8.0 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.7.10 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.7.9 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.7.8 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.7.7 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.7.6 lib/gir_ffi/info_ext/full_type_name.rb
gir_ffi-0.7.5 lib/gir_ffi/info_ext/full_type_name.rb