...
lib_mem.h/lib_mem.c
Prototype
Code Block | ||
---|---|---|
| ||
void *Mem_DynPoolBlkGet (MEM_DYN_POOL *p_pool,
LIB_ERR *p_err) |
Arguments
p_pool
Pointer to pool data.
...
Required Configuration
None.
Notes / Warnings
...
- If there is no block available in the pool when calling this function, it will attempt to allocate a new one on the pool segment.
- An usage example of this function is available on Dynamic Memory Pools page.