Class: RubimCode::CC_ARGS

Inherits:
Object show all
Defined in:
lib/rubimc.rb

Overview

end Isolator class

Instance Method Summary collapse

Instance Method Details

#[](index) ⇒ Object



278
279
280
# File 'lib/rubimc.rb', line 278

def [](index)
  RubimCode::UserVariable.new("argv[#{index}]", "int")
end

#countObject

class for arguments when work with clear C-code



274
275
276
# File 'lib/rubimc.rb', line 274

def count
  RubimCode::UserVariable.new("argc", "int")
end