Function mpool_ref_remove
Defined in File mpool.h
Function Documentation
-
status_t mpool_ref_remove(struct mpool *the_pool, const void *ptr)
Decrement ref count for a currently allocated chunk in a mpool.
If the reference count reaches 0 as a result of calling this function, the chunk is not freed.
- Parameters:
the_pool – The mpool handle.
ptr – The chunk to remove a reference from.
- Returns: