Definition in file memb.h.
Go to the source code of this file.
Data Structures | |
struct | memb_blocks |
Defines | |
#define | MEMB_CONCAT2(s1, s2) s1##s2 |
#define | MEMB_CONCAT(s1, s2) MEMB_CONCAT2(s1, s2) |
#define | MEMB(name, structure, num) |
Declare a memory block. | |
Functions | |
void | memb_init (struct memb_blocks *m) |
Initialize a memory block that was declared with MEMB(). | |
void * | memb_alloc (struct memb_blocks *m) |
Allocate a memory block from a block of memory declared with MEMB(). | |
char | memb_free (struct memb_blocks *m, void *ptr) |
Deallocate a memory block from a memory block previously declared with MEMB(). |