class GirFFI::ReceiverArgumentInfo

Class to represent the info for the receiver argument of a callback or signal handler. Implements the necessary parts of IArgumentInfo's interface.

Attributes

argument_type[R]

Public Class Methods

new(type) click to toggle source
# File lib/gir_ffi/receiver_argument_info.rb, line 8
def initialize(type)
  @argument_type = type
end

Public Instance Methods

direction() click to toggle source
# File lib/gir_ffi/receiver_argument_info.rb, line 12
def direction
  :in
end
name() click to toggle source
# File lib/gir_ffi/receiver_argument_info.rb, line 21
def name
  '_instance'
end
ownership_transfer() click to toggle source
# File lib/gir_ffi/receiver_argument_info.rb, line 16
def ownership_transfer
  # FIXME: Make an informed choice for this.
  :everything
end