src/lib/mem_pool.c
int32_t sizeof_pool_memory(POOLMEM *obuf)
{
   char *cp = (char *)obuf;

   ASSERT(obuf);
   cp -= HEAD_SIZE;
   return ((struct abufhead *)cp)->ablen;
}
/* Return the size of a memory buffer */
Return the size of a memory buffer
Return the size of a memory buffer
int32_t sizeof_pool_memory(POOLMEM *obuf)
{
   char *cp = (char *)obuf;
   ASSERT(obuf);
   cp -= HEAD_SIZE;
   return ((struct abufhead *)cp)->ablen;
}
int32_t sizeof_pool_memory ( POOLMEM * obuf ) { char * cp = ( char * ) obuf ; ASSERT ( obuf ) ; cp -= HEAD_SIZE ; return ( ( struct abufhead * ) cp ) -> ablen ; }
Return the size of a memory buffer
Return the size of a memory buffer