src/cx/mempool.h

changeset 1329
343eac5ac824
parent 1328
2cf66dee40b8
--- a/src/cx/mempool.h	Fri May 23 13:36:11 2025 +0200
+++ b/src/cx/mempool.h	Fri May 23 14:00:24 2025 +0200
@@ -98,6 +98,9 @@
  * Should be the first member of an actual memory pool implementation.
  */
 struct cx_mempool_s {
+    /** The used allocator, initialized with the cxDefaultAllocator. */
+    const CxAllocator * const base_allocator;
+
     /** The provided allocator. */
     const CxAllocator *allocator;
 

mercurial