mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 06:38:47 +00:00
.. half closed range; ... open range; ... variadic syntax
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user