aboutsummaryrefslogtreecommitdiff
path: root/deps/ae/zmalloc.h
diff options
context:
space:
mode:
authorOnur Gündüz <ogunduz@gmail.com>2026-05-30 04:07:37 +0200
committerOnur Gündüz <ogunduz@gmail.com>2026-06-14 08:18:59 +0200
commitab50d908ba2eae14929a07341b1b716cde681c1c (patch)
tree52e3f1f8cd579eb234185dc3b397ac66cda47cbf /deps/ae/zmalloc.h
parent46f9e7c67134caf43a04ea5ee3b2325588647e28 (diff)
downloadffwd-ab50d908ba2eae14929a07341b1b716cde681c1c.tar.gz
ffwd-ab50d908ba2eae14929a07341b1b716cde681c1c.zip
server: implement HTTP API with libae integration
Diffstat (limited to 'deps/ae/zmalloc.h')
-rw-r--r--deps/ae/zmalloc.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/deps/ae/zmalloc.h b/deps/ae/zmalloc.h
new file mode 100644
index 0000000..86e9d92
--- /dev/null
+++ b/deps/ae/zmalloc.h
@@ -0,0 +1,15 @@
+/* zmalloc.h - simplified memory allocation wrapper for ae library
+ * This is a minimal version for standalone use outside Redis.
+ */
+#ifndef __ZMALLOC_H
+#define __ZMALLOC_H
+
+#include <stdlib.h>
+
+/* Simple wrappers around standard malloc/free */
+#define zmalloc malloc
+#define zfree free
+#define zrealloc realloc
+#define zcalloc calloc
+
+#endif