Removing m_ prefix from identifiers (m_ValueType -> ValueType, ...).
This commit is contained in:
@@ -31,18 +31,18 @@
|
||||
* Compact the struct
|
||||
*/
|
||||
typedef struct mem_PoolState_t {
|
||||
uint8_t *m_pPoolStart; /**< first address of pool space */
|
||||
size_t m_PoolSize; /**< pool space size */
|
||||
uint8_t *pPoolStart; /**< first address of pool space */
|
||||
size_t PoolSize; /**< pool space size */
|
||||
|
||||
size_t m_ChunkSize; /**< size of one chunk */
|
||||
size_t ChunkSize; /**< size of one chunk */
|
||||
|
||||
mword_t *m_pBitmap; /**< bitmap - pool chunks' state */
|
||||
uint8_t *m_pChunks; /**< chunks with data */
|
||||
mword_t *pBitmap; /**< bitmap - pool chunks' state */
|
||||
uint8_t *pChunks; /**< chunks with data */
|
||||
|
||||
size_t m_ChunksNumber; /**< number of chunks */
|
||||
size_t m_FreeChunksNumber; /**< number of free chunks */
|
||||
size_t ChunksNumber; /**< number of chunks */
|
||||
size_t FreeChunksNumber; /**< number of free chunks */
|
||||
|
||||
struct mem_PoolState_t *m_pNextPool; /**< pointer to the next pool with same chunk size */
|
||||
struct mem_PoolState_t *pNextPool; /**< pointer to the next pool with same chunk size */
|
||||
} mem_PoolState_t;
|
||||
|
||||
extern void mem_PoolInit(mem_PoolState_t *pPool, size_t chunkSize, uint8_t *poolStart, size_t poolSize);
|
||||
|
||||
Reference in New Issue
Block a user