Class: GirFFI::ReceiverTypeInfo
- Inherits:
-
Object
- Object
- GirFFI::ReceiverTypeInfo
- Includes:
- InfoExt::ITypeInfo
- Defined in:
- lib/gir_ffi/receiver_type_info.rb
Overview
Represents the type of the receiver of a signal or vfunc, conforming, as needed, to the interface of GObjectIntrospection::ITypeInfo
Constant Summary
Constants included from InfoExt::ITypeInfo
InfoExt::ITypeInfo::TAGS_NEEDING_C_TO_RUBY_CONVERSION, InfoExt::ITypeInfo::TAGS_NEEDING_RUBY_TO_C_CONVERSION, InfoExt::ITypeInfo::TAG_TO_WRAPPER_CLASS_MAP
Instance Method Summary collapse
- #array_length ⇒ Object
-
#initialize(interface_info) ⇒ ReceiverTypeInfo
constructor
A new instance of ReceiverTypeInfo.
- #interface ⇒ Object
- #pointer? ⇒ Boolean
- #tag ⇒ Object
Methods included from InfoExt::ITypeInfo
#argument_class_name, #element_type, #extra_conversion_arguments, #flattened_tag, flattened_tag_to_gtype_map, #g_type, #interface_type, #make_g_value, #needs_c_to_ruby_conversion_for_callbacks?, #needs_c_to_ruby_conversion_for_closures?, #needs_c_to_ruby_conversion_for_functions?, #needs_ruby_to_c_conversion_for_callbacks?, #needs_ruby_to_c_conversion_for_functions?, #tag_or_class, #to_callback_ffitype, #to_ffitype
Constructor Details
#initialize(interface_info) ⇒ ReceiverTypeInfo
Returns a new instance of ReceiverTypeInfo.
7 8 9 |
# File 'lib/gir_ffi/receiver_type_info.rb', line 7 def initialize interface_info @interface_info = interface_info end |
Instance Method Details
#array_length ⇒ Object
23 24 25 |
# File 'lib/gir_ffi/receiver_type_info.rb', line 23 def array_length -1 end |
#interface ⇒ Object
11 12 13 |
# File 'lib/gir_ffi/receiver_type_info.rb', line 11 def interface @interface_info end |
#pointer? ⇒ Boolean
19 20 21 |
# File 'lib/gir_ffi/receiver_type_info.rb', line 19 def pointer? false end |
#tag ⇒ Object
15 16 17 |
# File 'lib/gir_ffi/receiver_type_info.rb', line 15 def tag :interface end |