Add warning to atSetExceptionHandler

This commit is contained in:
Phillip Stephens 2016-02-03 13:33:08 -08:00
parent 09033d90cc
commit 5984c58f5e
1 changed files with 4 additions and 0 deletions

View File

@ -129,6 +129,10 @@ enum Endian
typedef void (*atEXCEPTION_HANDLER)(Athena::error::Level level, const char* file, const char* function, int line, const char* fmt, ...);
atEXCEPTION_HANDLER atGetExceptionHandler();
/**
* atSetExceptionHandler is only meant to be used a the start and end of an application's lifetime,
* this function cannot be considered thread-safe, therefore modifying during runtime is not recommended.
*/
void atSetExceptionHandler(atEXCEPTION_HANDLER func);
std::ostream& operator<<(std::ostream& os, const Athena::SeekOrigin& origin);