]> mj.ucw.cz Git - libucw.git/commitdiff
Mempool: Added a comment
authorMartin Mares <mj@ucw.cz>
Sun, 29 Jun 2014 09:13:17 +0000 (11:13 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 29 Jun 2014 09:13:17 +0000 (11:13 +0200)
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;