ACE
6.1.0
|
This is the control block header. It's used by <ACE_Malloc> to keep track of each chunk of data when it's in the free list or in use. More...
#include <Malloc.h>
Public Member Functions | |
ACE_Malloc_Header (void) | |
void | dump (void) const |
Dump the state of the object. | |
Static Public Member Functions | |
static void | init_ptr (ACE_Malloc_Header **ptr, ACE_Malloc_Header *init, void *base_addr) |
Initialize a malloc header pointer. | |
Public Attributes | |
ACE_Malloc_Header * | next_block_ |
Points to next block if on free list. | |
size_t | size_ |
Size of this header control block. | |
char | padding_ [(ACE_MALLOC_PADDING_SIZE)?ACE_MALLOC_PADDING_SIZE:ACE_MALLOC_ALIGN] |
This is the control block header. It's used by <ACE_Malloc> to keep track of each chunk of data when it's in the free list or in use.
ACE_Control_Block::ACE_Malloc_Header::ACE_Malloc_Header | ( | void | ) |
void ACE_Control_Block::ACE_Malloc_Header::dump | ( | void | ) | const |
Dump the state of the object.
void ACE_Control_Block::ACE_Malloc_Header::init_ptr | ( | ACE_Malloc_Header ** | ptr, |
ACE_Malloc_Header * | init, | ||
void * | base_addr | ||
) | [inline, static] |
Initialize a malloc header pointer.
Points to next block if on free list.
char ACE_Control_Block::ACE_Malloc_Header::padding_[(ACE_MALLOC_PADDING_SIZE)?ACE_MALLOC_PADDING_SIZE:ACE_MALLOC_ALIGN] |
Size of this header control block.