class GirFFI::Builder::CArrayOutArgument

Implements argument processing for array arguments with direction :out.

Public Instance Methods

postpost() click to toggle source
# File lib/gir_ffi/builder/argument.rb, line 292
def postpost
  [ "#{retname} = #{callarg}.to_sized_array_value #{array_size}" ]
end
pre() click to toggle source
# File lib/gir_ffi/builder/argument.rb, line 288
def pre
  [ "#{callarg} = GirFFI::InOutPointer.for_array #{subtype_tag_or_class_name}" ]
end