FFI::Generator::Type
# File lib/generator/function.rb, line 16 def initialize(params = { }) super @type = get_attr('type') end
# File lib/generator/function.rb, line 20 def to_s params = get_params(@node).inject([]) do |array, node| array << Argument.new(:node => node, :typedefs => @typedefs).to_s end @indent_str + "attach_function :#{@symname}, [ #{params.join(', ')} ], #{get_rtype}" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.