Moved stuff

This commit is contained in:
Synthasmagoria 2026-08-28 12:08:55 +02:00
commit 5377458895
234 changed files with 12 additions and 1 deletions

View file

@ -1,16 +0,0 @@
#+build !wasm32
#+build !wasm64p32
package main
import "core:os"
_read_entire_file :: proc(name: string, allocator := context.allocator, loc := #caller_location) -> (data: []byte, success: bool) {
err: os.Error
data, err = os.read_entire_file(name, allocator, loc)
return data, err == nil
}
_write_entire_file :: proc(name: string, data: []byte, truncate := true) -> (success: bool) {
return os.write_entire_file(name, data, truncate = truncate) == nil
}