rubyx/lib/kernel/system.rb

12 lines
280 B
Ruby
Raw Normal View History

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