1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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 *);