OkfTerminate

Release resources allocated by the OKF Font Engine.

int OkfTerminate( void );

Routine Required Header
OkfTerminate "okf.h"
 

Libraries

OKLIB.A Oankali's GP32 run-time library
 

Return Value

OkfTerminate always returns 0.


Parameters

None.


Remarks

The OkfTerminate function releases all allocated memory by releasing all registered fonts in okf.pFonts font list, and the alpha blending look up table provided it was created by the OkfInitializeAlphaLUT function.

It's a good practice to always use OkfTerminate before exiting a GP32 program even if it's not necessary as GP32 always boots when it exits a program.


Example

See OkfInitialize example.


See Also

OKF Font Engine Routines, OkfInitialize, OkfInitializeAlphaLUT