Changed standard libraries for MacOS and Linux to be closer to os_windows.

This commit is contained in:
Zachary Pierson
2017-02-12 18:25:58 -06:00
parent 8df3175f10
commit 9d19ee7e4c
2 changed files with 1 additions and 20 deletions
-9
View File
@@ -166,15 +166,6 @@ read_entire_file :: proc(name: string) -> ([]byte, bool) {
return data, true;
}
read_entire_file_to_string :: proc(name: string) -> (string, bool) {
contents, success := read_entire_file(name);
if(!success) {
fmt.println("Failed to seek to end of file.");
return "", false;
}
return from_c_str(^contents[0]), true;
}
heap_alloc :: proc(size: int) -> rawptr {
assert(size > 0);