ucx/cx/mempool.h

branch
newapi
changeset 324
ce13a778654a
parent 253
087cc9216f28
equal deleted inserted replaced
323:38cb8e3992e8 324:ce13a778654a
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