Class: CGenerator::ModuleFunction

Inherits:
RubyFunction show all
Defined in:
lib/cgen/cgen.rb

Instance Attribute Summary

Attributes inherited from Accumulator

#name, #parent

Instance Method Summary collapse

Methods inherited from RubyFunction

#arguments, #c_array_args, #initialize, #prototype, #rb_array_args

Methods inherited from Function

#arguments, #empty?, #initialize, #prototype, #return_type, #scope

Methods inherited from Template

accumulator, #initialize

Methods inherited from Accumulator

#accept?, #add, #add_one, #add_one_really, #initialize, #inspect, #inspect_one, #output, #output_one, #separator, #to_s

Constructor Details

This class inherits a constructor from CGenerator::RubyFunction

Instance Method Details

#register_args(*args) ⇒ Object



1949
1950
1951
# File 'lib/cgen/cgen.rb', line 1949

def register_args(*args)
  rb_define_module_function(*args)
end