|
Contiki 2.5
|
Implementation of the managed memory allocatorMore...
#include "mmem.h"#include "list.h"#include "contiki-conf.h"#include <string.h>#include "profiling.h"Go to the source code of this file.
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... | |
| 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... | |
| void | mmem_init (void) |
| Initialize the managed memory module. More... | |
Implementation of the managed memory allocator
Definition in file mmem.c.
1.8.3.1