Sha256: f6a1f2a7a1b551652e4f6afe31fd0efe94b738a680607aaa52786721e16e1c9e

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 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 name
    "_instance"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gir_ffi-0.7.7 lib/gir_ffi/receiver_argument_info.rb
gir_ffi-0.7.6 lib/gir_ffi/receiver_argument_info.rb
gir_ffi-0.7.5 lib/gir_ffi/receiver_argument_info.rb