rubyx/lib/kernel/string.rb

12 lines
272 B
Ruby
Raw Normal View History

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