.. half closed range; ... open range; ... variadic syntax

This commit is contained in:
Ginger Bill
2017-07-07 23:42:43 +01:00
parent 45353465a6
commit 4b051a0d3b
19 changed files with 151 additions and 167 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ read_entire_file :: proc(name: string) -> ([]u8, bool) {
free(data);
return nil, false;
}
return data[0..<bytes_read], true;
return data[0..bytes_read], true;
}
write_entire_file :: proc(name: string, data: []u8) -> bool {