summaryrefslogtreecommitdiff
path: root/mheap.h
diff options
context:
space:
mode:
Diffstat (limited to 'mheap.h')
-rw-r--r--mheap.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/mheap.h b/mheap.h
new file mode 100644
index 0000000..2a0d54f
--- /dev/null
+++ b/mheap.h
@@ -0,0 +1,17 @@
+#pragma lib "libmheap.a"
+
+void hinit(ulong);
+
+/* Heap markers */
+ulong hpush(void);
+ulong hpop(void);
+
+
+/* Allocators */
+
+void *halloc(ulong);
+//void *hrealloc(void *, ulong);
+
+/* String functions */
+const char *hprint(char *, ...);
+const char *hstrdup(char *);