Class: GirFFI::Builder::Argument::OutBase

Inherits:
Base
  • Object
show all
Defined in:
lib/gir_ffi/builder/argument/out_base.rb

Overview

Abstract base class implementing argument processing for arguments with direction :out.

Constant Summary

Constants inherited from Base

Base::KEYWORDS, Base::TAG_TO_WRAPPER_CLASS_MAP

Instance Attribute Summary

Attributes inherited from Base

#array_arg, #length_arg, #name

Instance Method Summary collapse

Methods inherited from Base

#argument_class_name, #array_size, #callarg, #cleanup, #elm_t, #inarg, #initialize, #post, #postpost, #pre, #retval, #safe, #subtype_tag_or_class_name, #type_info, #type_tag

Constructor Details

This class inherits a constructor from GirFFI::Builder::Argument::Base

Instance Method Details

#retnameObject



7
8
9
# File 'lib/gir_ffi/builder/argument/out_base.rb', line 7

def retname
  @retname ||= @var_gen.new_var
end