/* Extract the size of the block data, given the pointer to the block's allocated memory.  */
static size_t TbxMemPoolBlockGetBlockSize(void const *memPtr)
/* Extract the size of the block data, given the pointer to the block's allocated memory.  */
static size_t TbxMemPoolBlockGetBlockSize(void const *memPtr)
{
  size_t         result = 0U;
  size_t const * blockSizeArray;
  TBX_ASSERT(memPtr != NULL);
  if (memPtr != NULL)
  {
    blockSizeArray = memPtr;
    size_t blockSize = blockSizeArray[0U];
    result = blockSize;
  }
  return result;
}