forked from mirror/OpenTTD
(svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.
This commit is contained in:
2
engine.c
2
engine.c
@@ -507,7 +507,7 @@ enum {
|
||||
ENGINE_RENEW_POOL_MAX_BLOCKS = 8000,
|
||||
};
|
||||
|
||||
MemoryPool _engine_renew_pool = { "EngineRe", ENGINE_RENEW_POOL_MAX_BLOCKS, ENGINE_RENEW_POOL_BLOCK_SIZE_BITS, sizeof(EngineRenew), &EngineRenewPoolNewBlock, 0, 0, NULL };
|
||||
MemoryPool _engine_renew_pool = { "EngineRe", ENGINE_RENEW_POOL_MAX_BLOCKS, ENGINE_RENEW_POOL_BLOCK_SIZE_BITS, sizeof(EngineRenew), &EngineRenewPoolNewBlock, NULL, 0, 0, NULL };
|
||||
|
||||
static inline uint16 GetEngineRenewPoolSize(void)
|
||||
{
|
||||
|
Reference in New Issue
Block a user