Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

lib_mem.h/lib_mem.c

Prototype

Code Block
languagecpp
void  *Mem_DynPoolBlkGet (MEM_DYN_POOL  *p_pool,
                          LIB_ERR       *p_err)


Arguments

p_pool

Pointer to pool data.

...

Required Configuration

None.

Notes / Warnings

  1. 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.
  2. An usage example of this function is available on Dynamic Memory Pools page.