Sha256: 72853b7faf414a3f487fcf3ed6f1734d646cc2d01bc1d64401fad7eaadb80906

Contents?: true

Size: 369 Bytes

Versions: 5

Compression:

Stored size: 369 Bytes

Contents

# Class to represent the info for the receiver argument of a callback or signal
# handler. Implements the necessary parts of IArgumentInfo's interface.
class GirFFI::ReceiverArgumentInfo
  attr_reader :argument_type

  def initialize type
    @argument_type = type
  end

  def direction
    :in
  end

  def skip?
    false
  end

  def name
    "_instance"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gir_ffi-0.7.4 lib/gir_ffi/receiver_argument_info.rb
gir_ffi-0.7.3 lib/gir_ffi/receiver_argument_info.rb
gir_ffi-0.7.2 lib/gir_ffi/receiver_argument_info.rb
gir_ffi-0.7.1 lib/gir_ffi/receiver_argument_info.rb
gir_ffi-0.7.0 lib/gir_ffi/receiver_argument_info.rb