Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
MemoryLogStruct Struct Reference

Public Member Functions

 MemoryLogStruct (int category, int size)
 
bool Is_Valid_Memory_Log (void)
 

Public Attributes

int Key0
 
int Key1
 
int Category
 
int Size
 

Detailed Description

MemoryLogStruct This structure is added to the beginning of each memory allocation to facilitate tracking which category the memory belongs to when it is freed. The size of this struct is also 16 bytes so that we wont be seriously affecting the alignment of allocated memory...

Definition at line 607 of file wwmemlog.cpp.

Constructor & Destructor Documentation

◆ MemoryLogStruct()

MemoryLogStruct::MemoryLogStruct ( int category,
int size )
inline

Definition at line 609 of file wwmemlog.cpp.

Member Function Documentation

◆ Is_Valid_Memory_Log()

bool MemoryLogStruct::Is_Valid_Memory_Log ( void )
inline

Definition at line 616 of file wwmemlog.cpp.

Member Data Documentation

◆ Category

int MemoryLogStruct::Category

Definition at line 620 of file wwmemlog.cpp.

◆ Key0

int MemoryLogStruct::Key0

Definition at line 618 of file wwmemlog.cpp.

◆ Key1

int MemoryLogStruct::Key1

Definition at line 619 of file wwmemlog.cpp.

◆ Size

int MemoryLogStruct::Size

Definition at line 621 of file wwmemlog.cpp.


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