]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/mempool.h
Strtonum: Support u32 and s32
[libucw.git] / ucw / mempool.h
index ee6db64d6b89783928e267cb3fe0f7d4f97fee91..0f043d602c1d07f54d780be949def05c08fc8b34 100644 (file)
@@ -69,7 +69,7 @@ struct mempool_state {
  * You should use this one as an opaque handle only, the insides are internal.
  **/
 struct mempool {
-  struct ucw_allocator allocator;
+  struct ucw_allocator allocator;      // This must be the first element
   struct mempool_state state;
   void *unused, *last_big;
   size_t chunk_size, threshold;