Methods

FFI::Generator::Function::Argument

Public Instance Methods

to_s() click to toggle source
# File lib/generator/function.rb, line 5
def to_s
  case get_attr('type')
  when 'void'
    nil
  when 'v(...)'
    ':varargs'
  else
    super
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.