class GirFFI::Builders::MappingMethodBuilder::CallbackArgumentBuilder

TODO: Make CallbackArgumentBuilder accept argument name TODO: Fix name of post method

Public Instance Methods

post() click to toggle source
Calls superclass method
# File lib/gir_ffi/builders/mapping_method_builder.rb, line 12
def post
  if specialized_type_tag == :enum
    ["#{retname} = #{argument_class_name}[#{callarg}]"]
  else
    super
  end
end
retval() click to toggle source
Calls superclass method
# File lib/gir_ffi/builders/mapping_method_builder.rb, line 20
def retval
  if specialized_type_tag == :enum
    retname
  else
    super
  end
end