rubyx/lib/kernel/string.rb

11 lines
258 B
Ruby
Raw Normal View History

module Crystal
module Kernel
def self.putstring context
2014-06-14 22:48:12 +02:00
function = Vm::Function.new(:putstring , Vm::Reference , [] )
ret = Vm::RegisterMachine.instance.write_stdout(function)
function.set_return ret
function
end
end
end