class GirFFI::Builder::ErrorArgument

Implements argument processing for error handling arguments. These arguments are not part of the introspected signature, but their presence is indicated by the ‘throws’ attribute of the function.

Public Instance Methods

post() click to toggle source
# File lib/gir_ffi/builder/argument.rb, line 557
def post
  [ "GirFFI::ArgHelper.check_error(#{callarg})" ]
end
pre() click to toggle source
# File lib/gir_ffi/builder/argument.rb, line 553
def pre
  [ "#{callarg} = FFI::MemoryPointer.new(:pointer).write_pointer nil" ]
end