rubyx/lib/kernel/system.rb

11 lines
252 B
Ruby
Raw Normal View History

module Crystal
module Kernel
def self.exit context
2014-06-26 16:52:15 +02:00
function = Virtual::Function.new(:exit , Virtual::Integer , [] )
ret = Virtual::RegisterMachine.instance.exit(function)
function.set_return ret
function
end
end
end