Rename utils.allocator to utils.gpa

it seems like `gpa` has become pretty much the universally agreed upon
name for your... gpa, so we're renaming.
This commit is contained in:
Ben Buhse 2026-02-12 13:40:57 -06:00
commit 95425aa73f
No known key found for this signature in database
GPG key ID: 7916ACFCD38FD0B4
14 changed files with 89 additions and 90 deletions

View file

@ -58,7 +58,7 @@ pub const Options = struct {
};
pub fn create(options: Options) !*Context {
const context = try utils.allocator.create(Context);
const context = try utils.gpa.create(Context);
errdefer context.destroy();
context.* = .{
@ -88,7 +88,7 @@ pub fn destroy(context: *Context) void {
}
context.buffer_pool.deinit();
utils.allocator.destroy(context);
utils.gpa.destroy(context);
}
pub fn manage(context: *Context) void {