ucx/cx/mempool.h

changeset 49
2f71f4ee247a
parent 2
fbdfaacc4182
equal deleted inserted replaced
48:ae61523bce20 49:2f71f4ee247a
50 * The basic structure of a memory pool. 50 * The basic structure of a memory pool.
51 * Should be the first member of an actual memory pool implementation. 51 * Should be the first member of an actual memory pool implementation.
52 */ 52 */
53 struct cx_mempool_s { 53 struct cx_mempool_s {
54 /** The provided allocator. */ 54 /** The provided allocator. */
55 CxAllocator const *allocator; 55 const CxAllocator *allocator;
56 56
57 /** 57 /**
58 * A destructor that shall be automatically registered for newly allocated memory. 58 * A destructor that shall be automatically registered for newly allocated memory.
59 * This destructor MUST NOT free the memory. 59 * This destructor MUST NOT free the memory.
60 */ 60 */

mercurial