13 lines
226 B
C
13 lines
226 B
C
#ifndef MEMALLOC_H_
|
|
#define MEMALLOC_H_
|
|
|
|
uint32_t static_alloc_used(void);
|
|
uint32_t next_powerof2(uint32_t value);
|
|
|
|
void * static_alloc(uint32_t size);
|
|
|
|
void * alloc(uint32_t size);
|
|
void free(void *p);
|
|
|
|
#endif /*MEMALLOC_H_*/
|