diff options
author | rubidium <rubidium@openttd.org> | 2007-01-10 18:56:51 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-01-10 18:56:51 +0000 |
commit | f35ed4bbc2b05f1b83476b60948d64375f77f1b4 (patch) | |
tree | 1a1c59c13ddb1d152052f3a3a0bcffe4fb531173 /src/oldpool.h | |
parent | a332d10fd938f345fff18e5f4a662a58f692f734 (diff) | |
download | openttd-f35ed4bbc2b05f1b83476b60948d64375f77f1b4.tar.xz |
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
Diffstat (limited to 'src/oldpool.h')
-rw-r--r-- | src/oldpool.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/oldpool.h b/src/oldpool.h index ba22e4ef4..b6f5385da 100644 --- a/src/oldpool.h +++ b/src/oldpool.h @@ -16,11 +16,11 @@ typedef void OldMemoryPoolCleanBlock(uint start_item, uint end_item); * please try to avoid manual calls! */ struct OldMemoryPool { - const char* const name; ///< Name of the pool (just for debugging) + const char* name; ///< 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 + uint max_blocks; ///< The max amount of blocks this pool can have + uint block_size_bits; ///< The size of each block in bits + uint item_size; ///< How many bytes one block is /// Pointer to a function that is called after a new block is added OldMemoryPoolNewBlock *new_block_proc; |