comparison kernel/io.c3 @ 410:6aa9743ed362 tip

Reflect change in c3 public modifier
author Windel Bouwman
date Mon, 23 Feb 2015 21:06:04 +0100
parents 0fb6633c42f6
children
comparison
equal deleted inserted replaced
408:ad6be5454067 410:6aa9743ed362
1 module io; 1 module io;
2 import arch; 2 import arch;
3 3
4 function void println(string txt) 4 public function void println(string txt)
5 { 5 {
6 print(txt); 6 print(txt);
7 arch.putc(10); // Newline! 7 arch.putc(10); // Newline!
8 } 8 }
9 9
42 } 42 }
43 43
44 arch.putc(10); // Newline! 44 arch.putc(10); // Newline!
45 } 45 }
46 46
47 function void print2(string label, int value) 47 public function void print2(string label, int value)
48 { 48 {
49 print(label); 49 print(label);
50 print_int(value); 50 print_int(value);
51 } 51 }
52 52