Implements argument processing for arguments with direction :inout that are neither arrays nor ‘interfaces’.
# File lib/gir_ffi/builder/argument.rb, line 409 def post [ "#{retname} = #{callarg}.to_value" ] end
# File lib/gir_ffi/builder/argument.rb, line 400 def pre pr = [] if @array_arg pr << "#{@name} = #{@array_arg.name}.length" end pr << "#{callarg} = GirFFI::InOutPointer.from #{type_tag.inspect}, #{@name}" pr end