mem: rename Allocator primitives to alloc_bytes/dealloc_bytes (Phase 4 naming pulled forward, Agra-approved)

This commit is contained in:
agra
2026-06-11 15:33:35 +03:00
parent ca5bd52262
commit 88bae3c9f5
58 changed files with 1536 additions and 1534 deletions

View File

@@ -22,11 +22,11 @@ Tracer :: struct {
}
impl Allocator for Tracer {
alloc :: (self: *Tracer, size: s64) -> *void {
alloc_bytes :: (self: *Tracer, size: s64) -> *void {
self.count += 1;
return malloc(size);
}
dealloc :: (self: *Tracer, ptr: *void) {
dealloc_bytes :: (self: *Tracer, ptr: *void) {
free(ptr);
}
}