FFI::Generator::Function
# File lib/generator/function.rb, line 37 def initialize(params = { }) super(params) @inline = true if params[:inline] == true end
# File lib/generator/function.rb, line 41 def to_s unless @inline @indent_str + "callback(:#{@symname}, [ #{get_params.join(', ')} ], #{get_rtype})" else @indent_str + "callback([ #{get_params.join(', ')} ], #{get_rtype})" end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.