Functions
Errors

Error handling. More...

Description

Functions

TLNAPI void TLN_SetLastError (TLN_Error error)
 Sets the global error code of tilengine. Useful for custom loaders that need to set the error state. More...
 
TLNAPI TLN_Error TLN_GetLastError (void)
 Returns the last error after an invalid operation. More...
 
TLNAPI const char * TLN_GetErrorString (TLN_Error error)
 Returns the string description of the specified error code. More...
 

Function Documentation

TLNAPI void TLN_SetLastError ( TLN_Error  error)
Parameters
errorError code to set
See also
TLN_GetLastError()
TLNAPI TLN_Error TLN_GetLastError ( void  )
See also
TLN_Error
TLNAPI const char* TLN_GetErrorString ( TLN_Error  error)
Parameters
errorError code to get description
See also
TLN_GetLastError()