rubyx/lib/kernel/system.rb
Torsten Ruger 7b6f364ba8 namechange
2014-07-29 18:33:11 +03:00

12 lines
280 B
Ruby

module Salama
module Kernel
def self.exit context
function = Virtual::MethodDefinition.new(:exit , [] , Virtual::Integer)
return function
ret = Virtual::RegisterMachine.instance.exit(function)
function.set_return ret
function
end
end
end