Contiki 2.5
|
Header file for the managed memory allocatorMore...
Go to the source code of this file.
Macros | |
#define | MMEM_PTR(m) |
Get a pointer to the managed memory. More... | |
Functions | |
int | mmem_alloc (struct mmem *m, unsigned int size) |
Allocate a managed memory block. More... | |
void | mmem_free (struct mmem *m) |
Deallocate a managed memory block. More... | |
void | mmem_init (void) |
Initialize the managed memory module. More... | |
int | mmem_realloc (struct mmem *mem, unsigned int size) |
Change the size of allocated memory. More... | |
void | mmem_reparent (struct mmem *m_old, struct mmem *m_new) |
Assign a chunk of memory form one mem struct to another. More... | |
Header file for the managed memory allocator
Definition in file mmem.h.