(svn r4471) - Pools: Add a facility for calling a custom function during pool block clean up.
This commit is contained in:
2
signs.c
2
signs.c
@@ -30,7 +30,7 @@ static void SignPoolNewBlock(uint start_item)
|
||||
}
|
||||
|
||||
/* Initialize the sign-pool */
|
||||
MemoryPool _sign_pool = { "Signs", SIGN_POOL_MAX_BLOCKS, SIGN_POOL_BLOCK_SIZE_BITS, sizeof(SignStruct), &SignPoolNewBlock, 0, 0, NULL };
|
||||
MemoryPool _sign_pool = { "Signs", SIGN_POOL_MAX_BLOCKS, SIGN_POOL_BLOCK_SIZE_BITS, sizeof(SignStruct), &SignPoolNewBlock, NULL, 0, 0, NULL };
|
||||
|
||||
/**
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user