#include <gandalf/common/misc_defs.h>
#include <stddef.h>
Go to the source code of this file.
Classes | |
struct | Gan_MemoryStack |
Structure to hold state of stack memory blocks. More... | |
Typedefs | |
typedef double | Gan_BigType |
Big C type for byte alignment. | |
typedef Gan_MemoryStack | Gan_MemoryStack |
Structure to hold state of stack memory blocks. | |
Functions | |
Gan_MemoryStack * | gan_memory_stack_alloc (int nblocks, size_t bsize) |
Macro: Allocate and initialise temporary memory allocation structure. | |
void * | gan_ms_malloc_object (Gan_MemoryStack *ms, TYPE obj_type) |
Macro: Dynamically allocate one item of a specific type with "stack" memory. | |
void * | gan_ms_malloc_array (Gan_MemoryStack *ms, TYPE obj_type, size_t size) |
Macro: Dynamically allocate n items of a specific type with "stack" memory. |
Part of: Gandalf Library