aboutsummaryrefslogtreecommitdiff
path: root/core/runtime/default_allocators.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2020-08-16 23:05:33 +0100
committergingerBill <bill@gingerbill.org>2020-08-16 23:05:33 +0100
commite7f54d25d6ee598eabb74a526e3eff7cdeb0a287 (patch)
tree73cec34d8c50af10fc89291e481957a1c979d8dc /core/runtime/default_allocators.odin
parent033b46def884b94d3095f1f4fb71ca9cf0819081 (diff)
Add `mem.Allocator_Query_Info` and `mem.query_info`
Diffstat (limited to 'core/runtime/default_allocators.odin')
-rw-r--r--core/runtime/default_allocators.odin3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/runtime/default_allocators.odin b/core/runtime/default_allocators.odin
index 3643fccdf..14f4edcda 100644
--- a/core/runtime/default_allocators.odin
+++ b/core/runtime/default_allocators.odin
@@ -139,6 +139,9 @@ default_temp_allocator_proc :: proc(allocator_data: rawptr, mode: Allocator_Mode
set^ = {.Alloc, .Free, .Free_All, .Resize, .Query_Features};
}
return set;
+
+ case .Query_Info:
+ return nil;
}
return nil;