2.15.1
Functions
Errors

Basic setup and management. More...

Description

Basic setup and management.

Functions

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...
 
TLN_Error TLN_GetLastError (void)
 Returns the last error after an invalid operation. More...
 
const char * TLN_GetErrorString (TLN_Error error)
 Returns the string description of the specified error code. More...
 

Function Documentation

◆ TLN_SetLastError()

void TLN_SetLastError ( TLN_Error  error)

Sets the global error code of tilengine. Useful for custom loaders that need to set the error state.

Parameters
errorError code to set
See also
TLN_GetLastError()

◆ TLN_GetLastError()

TLN_Error TLN_GetLastError ( void  )

Returns the last error after an invalid operation.

See also
TLN_Error

◆ TLN_GetErrorString()

const char* TLN_GetErrorString ( TLN_Error  error)

Returns the string description of the specified error code.

Parameters
errorError code to get description
See also
TLN_GetLastError()