summaryrefslogtreecommitdiff
path: root/mheap.h
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2012-11-19 11:15:39 +1100
committerJustin Bedo <cu@cua0.org>2012-11-19 11:15:39 +1100
commit13da42dedf0305f7f47dfc0f6d00ca5cb169493d (patch)
treeac0a2cc964f12b3516f6d688463eda692bed33d0 /mheap.h
Initial importHEADmaster
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 *);