class GirFFI::Builder::CArrayInOutArgument

Implements argument processing for array arguments with direction :inout.

Public Instance Methods

postpost() click to toggle source
# File lib/gir_ffi/builder/argument.rb, line 390
def postpost
  size = array_size
  pst = [ "#{retname} = #{callarg}.to_sized_array_value #{size}" ]
  pst
end
pre() click to toggle source
# File lib/gir_ffi/builder/argument.rb, line 386
def pre
  [ "#{callarg} = GirFFI::InOutPointer.from_array #{elm_t}, #{@name}" ]
end