[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.1.6 TTF_GetError

char *TTF_GetError()

This is really a defined macro for SDL_GetError. It returns the last error set by TTF_SetError (or SDL_SetError) as a string. Use this to tell the user what happened when an error status has been returned from an SDL_ttf function call.

Returns: a char pointer (string) containing a human readable version or the reason for the last error that occured.

 
printf("Oh My Goodness, an error : %s", TTF_GetError());

See Also:
3.1.5 TTF_SetError



This document was generated on November, 13 2009 using texi2html