From bcf6901b8d5acf72c3017f9552892f7bd5a15325 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Thu, 19 Oct 2023 21:58:03 +0100 Subject: Initial Add a wrapper allocator that tracks currently used and max memory --- src/main.zig | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/main.zig (limited to 'src/main.zig') diff --git a/src/main.zig b/src/main.zig new file mode 100644 index 0000000..d5d8c78 --- /dev/null +++ b/src/main.zig @@ -0,0 +1,6 @@ +const ma = @import("max_allocator.zig"); +pub const MaxAllocator = ma.MaxAllocator; +pub const maxAllocator = ma.maxAllocator; +test { + _ = ma; +} -- cgit v1.2.3-ZIG