UFO: Alien Invasion
Loading...
Searching...
No Matches
memBlock_t Struct Reference
Collaboration diagram for memBlock_t:
Collaboration graph

Data Fields

memBlock_tnext
uint32_t topSentinel
memPool_tpool
int tagNum
char const * allocFile
int allocLine
size_t memSize
uint32_t botSentinel

Detailed Description

Definition at line 39 of file mem.cpp.

Field Documentation

◆ allocFile

char const* memBlock_t::allocFile

File the memory was allocated in

Definition at line 47 of file mem.cpp.

Referenced by _Mem_Alloc(), and _Mem_CheckSentinels().

◆ allocLine

int memBlock_t::allocLine

Line the memory was allocated at

Definition at line 48 of file mem.cpp.

Referenced by _Mem_Alloc(), and _Mem_CheckSentinels().

◆ botSentinel

uint32_t memBlock_t::botSentinel

For memory integrity checking

Definition at line 52 of file mem.cpp.

Referenced by _Mem_Alloc(), and _Mem_CheckSentinels().

◆ memSize

size_t memBlock_t::memSize

Size minus the header

Definition at line 50 of file mem.cpp.

Referenced by _Mem_Alloc(), _Mem_ReAlloc(), Mem_BlockRawSize(), and Mem_BlockToFooter().

◆ next

memBlock_t* memBlock_t::next

◆ pool

memPool_t* memBlock_t::pool

Owner pool

Definition at line 44 of file mem.cpp.

Referenced by _Mem_Alloc(), _Mem_CheckSentinels(), _Mem_Free(), and _Mem_ReAlloc().

◆ tagNum

int memBlock_t::tagNum

For group free

Definition at line 45 of file mem.cpp.

Referenced by _Mem_Alloc(), and _Mem_ReAlloc().

◆ topSentinel

uint32_t memBlock_t::topSentinel

For memory integrity checking

Definition at line 42 of file mem.cpp.

Referenced by _Mem_Alloc(), and _Mem_CheckSentinels().


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