Class: GirFFI::UserDataArgumentInfo
- Inherits:
-
Object
- Object
- GirFFI::UserDataArgumentInfo
- Defined in:
- lib/gir_ffi/user_data_argument_info.rb
Overview
Class to represent the info for the user data argument of a signal handler. Implements the necessary parts of IArgumentInfo’s interface.
Instance Attribute Summary collapse
-
#argument_type ⇒ Object
readonly
Returns the value of attribute argument_type.
Instance Method Summary collapse
- #direction ⇒ Object
-
#initialize(type) ⇒ UserDataArgumentInfo
constructor
A new instance of UserDataArgumentInfo.
- #name ⇒ Object
- #skip? ⇒ Boolean
Constructor Details
#initialize(type) ⇒ UserDataArgumentInfo
Returns a new instance of UserDataArgumentInfo.
6 7 8 |
# File 'lib/gir_ffi/user_data_argument_info.rb', line 6 def initialize type @argument_type = type end |
Instance Attribute Details
#argument_type ⇒ Object (readonly)
Returns the value of attribute argument_type.
4 5 6 |
# File 'lib/gir_ffi/user_data_argument_info.rb', line 4 def argument_type @argument_type end |
Instance Method Details
#direction ⇒ Object
10 11 12 |
# File 'lib/gir_ffi/user_data_argument_info.rb', line 10 def direction :in end |
#name ⇒ Object
18 19 20 |
# File 'lib/gir_ffi/user_data_argument_info.rb', line 18 def name "_user_data" end |
#skip? ⇒ Boolean
14 15 16 |
# File 'lib/gir_ffi/user_data_argument_info.rb', line 14 def skip? false end |