diff options
author | Justin Bedo <cu@cua0.org> | 2012-11-19 11:15:39 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2012-11-19 11:15:39 +1100 |
commit | 13da42dedf0305f7f47dfc0f6d00ca5cb169493d (patch) | |
tree | ac0a2cc964f12b3516f6d688463eda692bed33d0 /mheap.h |
Diffstat (limited to 'mheap.h')
-rw-r--r-- | mheap.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -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 *); |