src/cx/mempool.h

changeset 890
54565fd74e74
parent 759
475335643af4
equal deleted inserted replaced
889:f549fd9fbd8f 890:54565fd74e74
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