Gets index of a memory block in a memory pool.
Warning |
---|
This function is deprecated and will be removed in a future version of this product. |
Files
lib_mem.h/lib_mem.c
Prototype
Code Block | |||||
---|---|---|---|---|---|
| |||||
void Mem_PoolBlkIxGet (MEM_POOL *pmem_pool,
void *pmem_blk,
LIB_ERR *perr);
|
Arguments
pmem_pool
Pointer to memory pool.
...
Required Configuration
Available only if if LIB_MEM_CFG_ALLOCHEAP_EN
is DEF_ENABLED
SIZE
is > 0 in lib_cfg.h
(see section 4-4).
Notes / Warnings
None.