do { \
static
ewf_allocator ewf_allocator__##allocator_name_symb = {0}; \
ewf_allocator_c_heap__##allocator_name_symb.block_count = block_count_param; \
ewf_allocator_c_heap__##allocator_name_symb.block_size = block_size_param; \
ewf_allocator__##allocator_name_symb.start = ewf_allocator_c_heap_start; \
ewf_allocator__##allocator_name_symb.stop = ewf_allocator_c_heap_stop; \
ewf_allocator__##allocator_name_symb.allocate = ewf_allocator_c_heap_allocate; \
ewf_allocator__##allocator_name_symb.release = ewf_allocator_c_heap_release; \
ewf_allocator__##allocator_name_symb.implementation_ptr = &(ewf_allocator_c_heap__##allocator_name_symb); \
allocator_ptr = &(ewf_allocator__##allocator_name_symb); \
EWF_ALLOCATOR_C_HEAP_INITIALIZE_HEADER(allocator_ptr); \
} while(0)
C heap allocator implementation type.
Definition: ewf_allocator_c_heap.h:31
The allocator structure definition.
Definition: ewf_allocator.h:27
Declare a C heap allocator.