aboutsummaryrefslogtreecommitdiff
path: root/analyzer/utils/memory.h
diff options
context:
space:
mode:
Diffstat (limited to 'analyzer/utils/memory.h')
-rw-r--r--analyzer/utils/memory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/analyzer/utils/memory.h b/analyzer/utils/memory.h
new file mode 100644
index 0000000..1de58b9
--- /dev/null
+++ b/analyzer/utils/memory.h
@@ -0,0 +1,4 @@
+// utils/memory.h
+// helper functions for dealing with memory management
+
+#define ARR_LEN(arr) (sizeof(arr) / sizeof(arr[0]))