4 * Revision 1.2 2001/04/05 16:57:00 stegerg
5 * don't include <malloc.h> as this include does not exist in AROS
7 * Revision 1.1 2001/04/04 05:43:36 wang
8 * First commit: compiles on Linux, Amiga, Windows, Windows CE, generic gcc
10 * Revision 1.1 1998/07/02 17:35:50 bnv
24 # define MALLOC(s,d) mem_malloc(s,d)
25 # define REALLOC(p,s) mem_realloc(p,s)
26 # define FREE mem_free
28 # if defined(__BORLANDC__) && (defined(__HUGE__) || defined(__LARGE__))
29 # define MALLOC(s,d) farmalloc(s)
30 # define REALLOC(p,s) farrealloc(p,s)
33 # define MALLOC(s,d) malloc(s)
34 # define REALLOC(p,s) realloc(p,s)
39 /* ------ function prototypes --------- */
41 void *mem_malloc(size_t size
, char *desc
);
42 void *mem_realloc(void *ptr
, size_t size
);
43 void mem_free(void *ptr
);
45 long mem_allocated(void);