diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-27 09:39:08 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-27 09:39:08 +0200 |
| commit | bb30f33d507f9aa81a725d70b202821d634cd044 (patch) | |
| tree | 49e30bc4df051d91ef213500b224b5c6b9d4350a /src/common | |
| parent | 36cc9249e717c2f66848ea8d0be6c9363a6e9e50 (diff) | |
workaround odin bug
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/util_linux.odin | 6 | ||||
| -rw-r--r-- | src/common/util_windows.odin | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/common/util_linux.odin b/src/common/util_linux.odin new file mode 100644 index 0000000..203702e --- /dev/null +++ b/src/common/util_linux.odin @@ -0,0 +1,6 @@ +package common + +import "core:mem/virtual" + +Growing_Arena :: virtual.Growing_Arena +growing_arena_allocator :: virtual.growing_arena_allocator
\ No newline at end of file diff --git a/src/common/util_windows.odin b/src/common/util_windows.odin index 716d4be..b877f4b 100644 --- a/src/common/util_windows.odin +++ b/src/common/util_windows.odin @@ -130,3 +130,8 @@ run_executable :: proc(command: string, stdout: ^[]byte) -> (u32, bool, []byte) return exit_code, true, stdout[0:index] } + +import "core:mem/virtual" + +Growing_Arena :: virtual.Growing_Arena +growing_arena_allocator :: virtual.growing_arena_allocator
\ No newline at end of file |