diff options
| author | gingerBill <bill@gingerbill.org> | 2021-09-08 13:12:38 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-09-08 13:12:38 +0100 |
| commit | ca33cb990b5a05829067e18ea24bcb36a75aba67 (patch) | |
| tree | c3fa66a18cee6f44ea409e62e3878295f881c49a /core/runtime/default_allocators_general.odin | |
| parent | d4f5ef046da7d1d3402f671e84fa483c71a3b26f (diff) | |
Strip semicolons in core which were missing
Diffstat (limited to 'core/runtime/default_allocators_general.odin')
| -rw-r--r-- | core/runtime/default_allocators_general.odin | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/runtime/default_allocators_general.odin b/core/runtime/default_allocators_general.odin index 2414d71d2..f25f8f178 100644 --- a/core/runtime/default_allocators_general.odin +++ b/core/runtime/default_allocators_general.odin @@ -8,22 +8,22 @@ when ODIN_DEFAULT_TO_NIL_ALLOCATOR { default_allocator_proc :: proc(allocator_data: rawptr, mode: Allocator_Mode, size, alignment: int, old_memory: rawptr, old_size: int, loc := #caller_location) -> ([]byte, Allocator_Error) { - return nil, .None; + return nil, .None } default_allocator :: proc() -> Allocator { return Allocator{ procedure = default_allocator_proc, data = nil, - }; + } } } else { // TODO(bill): reimplement these procedures in the os_specific stuff import "core:os" - default_allocator_proc :: os.heap_allocator_proc; + default_allocator_proc :: os.heap_allocator_proc default_allocator :: proc() -> Allocator { - return os.heap_allocator(); + return os.heap_allocator() } } |