Class: GirFFI::Builders::VFuncArgumentBuilder
- Inherits:
-
CallbackArgumentBuilder
- Object
- BaseArgumentBuilder
- CallbackArgumentBuilder
- GirFFI::Builders::VFuncArgumentBuilder
- Defined in:
- lib/gir_ffi/builders/vfunc_argument_builder.rb
Overview
Convertor for arguments for vfuncs. Used when building the argument mapper for vfuncs.
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 CallbackArgumentBuilder
#block_argument?, #call_argument_name, #capture_variable_name, #method_argument_name, #out_parameter_name, #post_conversion, #pre_converted_name
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
#pre_conversion ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/gir_ffi/builders/vfunc_argument_builder.rb', line 8 def pre_conversion if ingoing_ref_needed super + [pre_ref_count_increase] else super end end |