aboutsummaryrefslogtreecommitdiff
path: root/core/log
diff options
context:
space:
mode:
authorColin Davidson <colrdavidson@gmail.com>2023-12-04 03:09:13 -0800
committerColin Davidson <colrdavidson@gmail.com>2023-12-04 03:09:13 -0800
commitbfbeb23f5479af375ceea6d97d2add64a6bc6519 (patch)
tree8f6e945eea01111bd783bc626280a2672700c0e4 /core/log
parent58e4a011c72d268ca35d46d2288d5858677e9cac (diff)
add resize non zeroed in more places
Diffstat (limited to 'core/log')
-rw-r--r--core/log/log_allocator.odin9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/log/log_allocator.odin b/core/log/log_allocator.odin
index 934f0d643..846a84a62 100644
--- a/core/log/log_allocator.odin
+++ b/core/log/log_allocator.odin
@@ -80,6 +80,13 @@ log_allocator_proc :: proc(allocator_data: rawptr, mode: runtime.Allocator_Mode,
la.prefix, padding, old_memory, old_size, size, alignment,
location = location,
)
+ case .Resize_Non_Zeroed:
+ logf(
+ la.level,
+ "%s%s>>> ALLOCATOR(mode=.Resize_Non_Zeroed, ptr=%p, old_size=%d, size=%d, alignment=%d)",
+ la.prefix, padding, old_memory, old_size, size, alignment,
+ location = location,
+ )
case .Query_Features:
logf(
la.level,
@@ -111,4 +118,4 @@ log_allocator_proc :: proc(allocator_data: rawptr, mode: runtime.Allocator_Mode,
}
}
return data, err
-} \ No newline at end of file
+}