Change record field syntax

This commit is contained in:
Ginger Bill
2016-12-18 22:23:34 +00:00
parent e370337f97
commit 4c10fbdcd4
11 changed files with 193 additions and 304 deletions
+4 -4
View File
@@ -4,13 +4,13 @@
type File_Time u64;
type File_Handle raw_union {
p: rawptr;
i: int;
p rawptr;
i int;
}
type File struct {
handle: File_Handle;
last_write_time: File_Time;
handle File_Handle;
last_write_time File_Time;
}
proc open(name string) -> (File, bool) {