INGOR
Functions | Variables
ytLib

Functions

void ytLib_init ()
 Initializes the YT Lib library.
 
const char * ytLib_version ()
 Returns the ytLib Git version.
 
void ytLib_showMemoryTable (FILE *fp)
 Prints the ytLib memory table. More...
 
size_t ytLib_getAllocMemory ()
 Returns the total size of allocated memory. More...
 

Variables

FILE * ytLib_ERR
 File pointer for error output. More...
 

Detailed Description

Function Documentation

◆ ytLib_getAllocMemory()

size_t ytLib_getAllocMemory ( )

Returns the total size of allocated memory.

To use this, set ENABLE_MEMCHECK=1 when compiling the binary.

◆ ytLib_showMemoryTable()

void ytLib_showMemoryTable ( FILE *  fp)

Prints the ytLib memory table.

To use this, set ENABLE_MEMCHECK=1 when compling the binary.

Variable Documentation

◆ ytLib_ERR

FILE* ytLib_ERR
extern

File pointer for error output.

This variable is used for the message output by all the YT Lib routines. This is initialized to stderr in ytLib_init().