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 */ |