summaryrefslogtreecommitdiff
path: root/mheap.h
blob: 2a0d54fc16fca5045052c8ad75de5914c490d71b (plain)
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 *);