Microchip® Advanced Software Framework

mmem.h File Reference

    Header file for the managed memory allocator
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Data Structures

struct  mmem
 

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...