--- a/pool.h Thu Mar 09 12:32:25 2006 +0000
+++ b/pool.h Thu Mar 09 20:37:51 2006 +0000
@@ -14,19 +14,19 @@
* please try to avoid manual calls!
*/
struct MemoryPool {
- const char name[10]; //! Name of the pool (just for debugging)
-
- const uint max_blocks; //! The max amount of blocks this pool can have
- const uint block_size_bits; //! The size of each block in bits
- const uint item_size; //! How many bytes one block is
+ const char name[10]; ///< Name of the pool (just for debugging)
- MemoryPoolNewBlock *new_block_proc;
- //!< Pointer to a function that is called after a new block is added
+ const uint max_blocks; ///< The max amount of blocks this pool can have
+ const uint block_size_bits; ///< The size of each block in bits
+ const uint item_size; ///< How many bytes one block is
- uint current_blocks; //! How many blocks we have in our pool
- uint total_items; //! How many items we now have in this pool
+ /// Pointer to a function that is called after a new block is added
+ MemoryPoolNewBlock *new_block_proc;
- byte **blocks; //! An array of blocks (one block hold all the items)
+ uint current_blocks; ///< How many blocks we have in our pool
+ uint total_items; ///< How many items we now have in this pool
+
+ byte **blocks; ///< An array of blocks (one block hold all the items)
};
/**