wrote the memory allocator, hopefully it works too
[lugburz] / src / amiga / mem.h
1 #ifndef MEM_H_
2 #define MEM_H_
3
4 enum {
5         MEM_FAST        = 1,
6         MEM_SLOW        = 2,
7         MEM_CHIP        = 4,
8         MEM_ANY         = MEM_FAST | MEM_SLOW | MEM_CHIP
9 };
10
11 int init_mem(void);
12
13 void *mem_alloc(unsigned int sz, unsigned int attr);
14 void mem_free(void *ptr);
15
16 #endif  /* MEM_H_ */