ELinks 0.18.0
alloc_header Struct Reference

Public Member Functions

 LIST_HEAD_EL (struct alloc_header)

Data Fields

int magic
int size
int line
const char * file
char * comment
unsigned char xflow_underflow_placeholder
 This is a little magic.

Member Function Documentation

◆ LIST_HEAD_EL()

alloc_header::LIST_HEAD_EL ( struct alloc_header )

Field Documentation

◆ comment

char* alloc_header::comment

◆ file

const char* alloc_header::file

◆ line

int alloc_header::line

◆ magic

int alloc_header::magic

◆ 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: