rubyx/lib/kernel/system.rb

12 lines
280 B
Ruby
Raw Normal View History

2014-07-29 18:33:11 +03:00
module Salama
module Kernel
def self.exit context
2014-07-16 19:24:41 +03:00
function = Virtual::MethodDefinition.new(:exit , [] , Virtual::Integer)
return function
2014-06-26 17:52:15 +03:00
ret = Virtual::RegisterMachine.instance.exit(function)
function.set_return ret
function
end
end
end