/* Convert the pointer that points to where the block's data starts, to a pointer that points to where the block's allocated memory starts.  */
static void * TbxMemPoolBlockGetMemPtr(void *dataPtr)
/* Convert the pointer that points to where the block's data starts, to a pointer that points to where the block's allocated memory starts.  */
static void * TbxMemPoolBlockGetMemPtr(void *dataPtr)
{
  void   * result = NULL;
  void   * blockMemPtr;
  size_t * blockSizeArray;
  TBX_ASSERT(dataPtr != NULL);
  if (dataPtr != NULL)
  {
    blockSizeArray = dataPtr;
    blockMemPtr = &blockSizeArray[-1];
    result = blockMemPtr;
  }
  return result;
}