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.
7 8 9 |
# File 'lib/gir_ffi/user_data_argument_info.rb', line 7 def initialize(type) @argument_type = type end |
Instance Attribute Details
#argument_type ⇒ Object (readonly)
Returns the value of attribute argument_type.
5 6 7 |
# File 'lib/gir_ffi/user_data_argument_info.rb', line 5 def argument_type @argument_type end |
Instance Method Details
#direction ⇒ Object
11 12 13 |
# File 'lib/gir_ffi/user_data_argument_info.rb', line 11 def direction :in end |
#name ⇒ Object
19 20 21 |
# File 'lib/gir_ffi/user_data_argument_info.rb', line 19 def name '_user_data' end |
#skip? ⇒ Boolean
15 16 17 |
# File 'lib/gir_ffi/user_data_argument_info.rb', line 15 def skip? false end |