Sha256: b2eeda6f6f76d18cd6a04c37a2351ed1edfe2b9a4b104191df6e3bd6ab5543f4

Contents?: true

Size: 467 Bytes

Versions: 11

Compression:

Stored size: 467 Bytes

Contents

module GirFFI
  # Represents the type of the receiver of a signal or vfunc, conforming, as
  # needed, to the interface of GObjectIntrospection::ITypeInfo
  class ReceiverTypeInfo
    include InfoExt::ITypeInfo

    def initialize interface_info
      @interface_info = interface_info
    end

    def interface
      @interface_info
    end

    def tag
      :interface
    end

    def pointer?
      false
    end

    def array_length
      -1
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
gir_ffi-0.7.10 lib/gir_ffi/receiver_type_info.rb
gir_ffi-0.7.9 lib/gir_ffi/receiver_type_info.rb
gir_ffi-0.7.8 lib/gir_ffi/receiver_type_info.rb
gir_ffi-0.7.7 lib/gir_ffi/receiver_type_info.rb
gir_ffi-0.7.6 lib/gir_ffi/receiver_type_info.rb
gir_ffi-0.7.5 lib/gir_ffi/receiver_type_info.rb
gir_ffi-0.7.4 lib/gir_ffi/receiver_type_info.rb
gir_ffi-0.7.3 lib/gir_ffi/receiver_type_info.rb
gir_ffi-0.7.2 lib/gir_ffi/receiver_type_info.rb
gir_ffi-0.7.1 lib/gir_ffi/receiver_type_info.rb
gir_ffi-0.7.0 lib/gir_ffi/receiver_type_info.rb