2008-02-06 14:20:47 +01:00
|
|
|
#ifndef MEMALLOC_H_
|
|
|
|
#define MEMALLOC_H_
|
2008-02-03 21:41:39 +01:00
|
|
|
|
|
|
|
uint32_t static_alloc_used(void);
|
|
|
|
uint32_t next_powerof2(uint32_t value);
|
|
|
|
|
2008-02-06 14:20:47 +01:00
|
|
|
void * static_alloc(uint32_t size);
|
|
|
|
|
|
|
|
void * alloc(uint32_t size);
|
|
|
|
void free(void *p);
|
|
|
|
|
|
|
|
#endif /*MEMALLOC_H_*/
|