rubyx/lib/kernel/system.rb
Torsten Ruger 525f9d45c5 rename
2014-06-26 17:52:15 +03:00

11 lines
252 B
Ruby

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