Class: GirFFI::Builders::CallbackReturnValueBuilder
- Inherits:
-
BaseReturnValueBuilder
- Object
- BaseArgumentBuilder
- BaseReturnValueBuilder
- GirFFI::Builders::CallbackReturnValueBuilder
- Defined in:
- lib/gir_ffi/builders/callback_return_value_builder.rb
Overview
Implements building post-processing statements for return values of callbacks.
Direct Known Subclasses
Constant Summary
Constants inherited from BaseArgumentBuilder
Instance Attribute Summary
Attributes inherited from BaseArgumentBuilder
#arginfo, #array_arg, #length_arg
Instance Method Summary collapse
Methods inherited from BaseReturnValueBuilder
#capture_variable_name, #has_return_value_name?, #post_converted_name, #relevant?, #return_value_name, #void_return_value?
Methods inherited from BaseArgumentBuilder
#argument_class_name, #array_length_idx, #array_length_parameter?, #call_argument_name, #closure=, #closure?, #closure_idx, #destroy_idx, #destroy_notifier?, #direction, #helper_argument?, #initialize, #mark_as_destroy_notifier, #name, #new_variable, #ownership_transfer, #safe, #specialized_type_tag, #type_info
Constructor Details
This class inherits a constructor from GirFFI::Builders::BaseArgumentBuilder
Instance Method Details
#post_conversion ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/gir_ffi/builders/callback_return_value_builder.rb', line 10 def post_conversion if has_post_conversion? optional_outgoing_ref + base_post_conversion else [] end end |