ELinks 0.16.1.1
alloc_header Struct Reference
Collaboration diagram for alloc_header:

Data Fields

void * magic1
struct alloc_headernext
struct alloc_headerprev
void * magic2
int magic
int size
int line
const char * file
char * comment
unsigned char xflow_underflow_placeholder
 This is a little magic.

Field Documentation

◆ comment

char* alloc_header::comment

◆ file

const char* alloc_header::file

◆ line

int alloc_header::line

◆ magic

int alloc_header::magic

◆ magic1

void* alloc_header::magic1

◆ magic2

void* alloc_header::magic2

◆ next

struct alloc_header* alloc_header::next

◆ prev

struct alloc_header* alloc_header::prev

◆ size

int alloc_header::size

◆ xflow_underflow_placeholder

unsigned char alloc_header::xflow_underflow_placeholder

This is a little magic.

We want to keep the main pointer aligned, that means we want to have the xflow underflow mark in the alloc_header space, but at the end of the aligned reserved space. This means we in fact live at [SIZE_AH_ALIGNED - 1], not here. (Of course this might be equivalent in some cases, but it is very unlikely in practice.)


The documentation for this struct was generated from the following file: