do {                                                                                                                                            \
            * (block_count_param + 1)];                                                                                                         \
static 
ewf_allocator ewf_allocator__##allocator_name_symb = {0};                                                                                \
ewf_allocator_memory_pool__##allocator_name_symb.pool_ptr = (uint8_t*) ewf_allocator_memory_pool__buffer__##allocator_name_symb;                \
ewf_allocator_memory_pool__##allocator_name_symb.pool_size = sizeof(ewf_allocator_memory_pool__buffer__##allocator_name_symb);                  \
ewf_allocator_memory_pool__##allocator_name_symb.block_size = (uint32_t) block_size_param;                                                      \
EWF_ALLOCATOR_MEMORY_POOL_STATIC_DECLARE__MUTEX(ewf_allocator_memory_pool__##allocator_name_symb.mutex_ptr, allocator_name_symb);               \
ewf_allocator__##allocator_name_symb.block_size = block_size_param;                                                                             \
ewf_allocator__##allocator_name_symb.block_count = block_count_param;                                                                           \
ewf_allocator__##allocator_name_symb.start = ewf_allocator_memory_pool_start;                                                                   \
ewf_allocator__##allocator_name_symb.stop = ewf_allocator_memory_pool_stop;                                                                     \
ewf_allocator__##allocator_name_symb.allocate = ewf_allocator_memory_pool_allocate;                                                             \
ewf_allocator__##allocator_name_symb.release = ewf_allocator_memory_pool_release;                                                               \
ewf_allocator__##allocator_name_symb.implementation_ptr = &(ewf_allocator_memory_pool__##allocator_name_symb);                                  \
allocator_ptr = &(ewf_allocator__##allocator_name_symb);                                                                                        \
EWF_ALLOCATOR_MEMORY_POOL_INITIALIZE_HEADER(allocator_ptr);                                                                                     \
} while(0)
Definition: ewf_allocator_memory_pool.h:19
Definition: ewf_allocator_memory_pool.h:30
The allocator structure definition.
Definition: ewf_allocator.h:27
Declare a memory pool allocator.