summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2023-10-19 21:58:03 +0100
committerMartin Ashby <martin@ashbysoft.com>2023-10-19 21:58:03 +0100
commitbcf6901b8d5acf72c3017f9552892f7bd5a15325 (patch)
tree0a473d7d4683ac30bc65d5463f0ec6446ddb54ef /src/main.zig
downloadmf-zigtools-bcf6901b8d5acf72c3017f9552892f7bd5a15325.tar.gz
mf-zigtools-bcf6901b8d5acf72c3017f9552892f7bd5a15325.tar.bz2
mf-zigtools-bcf6901b8d5acf72c3017f9552892f7bd5a15325.tar.xz
mf-zigtools-bcf6901b8d5acf72c3017f9552892f7bd5a15325.zip
Initial
Add a wrapper allocator that tracks currently used and max memory
Diffstat (limited to 'src/main.zig')
-rw-r--r--src/main.zig6
1 files changed, 6 insertions, 0 deletions
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;
+}