class GirFFI::Builder::EnumOutArgument

Implements argument processing for arguments with direction :out that are enums

Public Instance Methods

post() click to toggle source
# File lib/gir_ffi/builder/argument.rb, line 268
def post
  [ "#{retname} = #{argument_class_name}[#{callarg}.to_value]" ]
end
pre() click to toggle source
# File lib/gir_ffi/builder/argument.rb, line 264
def pre
  [ "#{callarg} = GirFFI::InOutPointer.for :gint32" ]
end