Index

C/C++ Functions

dtFree

void dtFree(void* mem_addr)

Short Description: Free memory allocated by the engine

The dtFree function is used to release memory allocated by D-Type Standard Engine. Any memory allocated by a call to one of D-Type Standard Engine functions is owned by D-Type Standard Engine and must be freed by dtFree.

Parameters

ParameterDescription

mem_addr

Memory address at which the memory block to be released begins. This must be a valid pointer to a memory buffer that was previously allocated by one of D-Type Standard Engine's memory allocation functions (e.g. dtFontSaveToStream using a DT_STREAM_DESC structure that supplies a memory based stream).

 

Index