Sha256: f19836328d890fa33ba5be2ff527936176a3ef38201796bed04ca325368a9b30

Contents?: true

Size: 359 Bytes

Versions: 8

Compression:

Stored size: 359 Bytes

Contents

# Class to represent the info for the user data argument of a signal handler.
# Implements the necessary parts of IArgumentInfo's interface.
class GirFFI::UserDataArgumentInfo
  attr_reader :argument_type

  def initialize type
    @argument_type = type
  end

  def direction
    :in
  end

  def skip?
    false
  end

  def name
    "_user_data"
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gir_ffi-0.7.7 lib/gir_ffi/user_data_argument_info.rb
gir_ffi-0.7.6 lib/gir_ffi/user_data_argument_info.rb
gir_ffi-0.7.5 lib/gir_ffi/user_data_argument_info.rb
gir_ffi-0.7.4 lib/gir_ffi/user_data_argument_info.rb
gir_ffi-0.7.3 lib/gir_ffi/user_data_argument_info.rb
gir_ffi-0.7.2 lib/gir_ffi/user_data_argument_info.rb
gir_ffi-0.7.1 lib/gir_ffi/user_data_argument_info.rb
gir_ffi-0.7.0 lib/gir_ffi/user_data_argument_info.rb