introducing references
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user