introducing references

This commit is contained in:
Torsten Ruger
2014-06-14 23:48:12 +03:00
parent 4db54a760e
commit a68d84a781
6 changed files with 14 additions and 8 deletions

View File

@ -1,7 +1,7 @@
module Crystal
module Kernel
def self.putstring context
function = Vm::Function.new(:putstring , Vm::Integer , [] )
function = Vm::Function.new(:putstring , Vm::Reference , [] )
ret = Vm::RegisterMachine.instance.write_stdout(function)
function.set_return ret
function