equal
deleted
inserted
replaced
66 _##name##_pool.blocks[index >> name##_POOL_BLOCK_SIZE_BITS] + \ |
66 _##name##_pool.blocks[index >> name##_POOL_BLOCK_SIZE_BITS] + \ |
67 (index & ((1 << name##_POOL_BLOCK_SIZE_BITS) - 1)) * sizeof(type) \ |
67 (index & ((1 << name##_POOL_BLOCK_SIZE_BITS) - 1)) * sizeof(type) \ |
68 ); \ |
68 ); \ |
69 } \ |
69 } \ |
70 \ |
70 \ |
71 static inline uint Get##name##PoolSize(void) \ |
71 static inline uint Get##name##PoolSize() \ |
72 { \ |
72 { \ |
73 return _##name##_pool.total_items; \ |
73 return _##name##_pool.total_items; \ |
74 } |
74 } |
75 |
75 |
76 |
76 |