class GirFFI::Builder::AllocatedInterfaceOutArgument

Implements argument processing for interface arguments with direction :out (structs, objects, etc.), allocated by the caller.

Public Instance Methods

post() click to toggle source
# File lib/gir_ffi/builder/argument.rb, line 280
def post
  [ "#{retname} = #{callarg}" ]
end
pre() click to toggle source
# File lib/gir_ffi/builder/argument.rb, line 276
def pre
  [ "#{callarg} = #{argument_class_name}.allocate" ]
end