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:
@@ -33,7 +33,7 @@ static void OrderPoolNewBlock(uint start_item)
|
||||
}
|
||||
|
||||
/* Initialize the order-pool */
|
||||
MemoryPool _order_pool = { "Orders", ORDER_POOL_MAX_BLOCKS, ORDER_POOL_BLOCK_SIZE_BITS, sizeof(Order), &OrderPoolNewBlock, 0, 0, NULL };
|
||||
MemoryPool _order_pool = { "Orders", ORDER_POOL_MAX_BLOCKS, ORDER_POOL_BLOCK_SIZE_BITS, sizeof(Order), &OrderPoolNewBlock, NULL, 0, 0, NULL };
|
||||
|
||||
/**
|
||||
*
|
||||
|
Reference in New Issue
Block a user