From 40e64245fc5555f29bbb5bb37e3b78d64f9b3c9b Mon Sep 17 00:00:00 2001 From: Techatrix <19954306+Techatrix@users.noreply.github.com> Date: Tue, 5 Mar 2024 14:37:49 +0100 Subject: [PATCH] std: expose Config struct of GeneralPurposeAllocator --- lib/std/heap.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/std/heap.zig b/lib/std/heap.zig index 03e0682ea6..8f5ee684a7 100644 --- a/lib/std/heap.zig +++ b/lib/std/heap.zig @@ -14,6 +14,7 @@ pub const ScopedLoggingAllocator = @import("heap/logging_allocator.zig").ScopedL pub const LogToWriterAllocator = @import("heap/log_to_writer_allocator.zig").LogToWriterAllocator; pub const logToWriterAllocator = @import("heap/log_to_writer_allocator.zig").logToWriterAllocator; pub const ArenaAllocator = @import("heap/arena_allocator.zig").ArenaAllocator; +pub const GeneralPurposeAllocatorConfig = @import("heap/general_purpose_allocator.zig").Config; pub const GeneralPurposeAllocator = @import("heap/general_purpose_allocator.zig").GeneralPurposeAllocator; pub const Check = @import("heap/general_purpose_allocator.zig").Check; pub const WasmAllocator = @import("heap/WasmAllocator.zig");