mirror of https://github.com/libAthena/athena.git
Add warning to atSetExceptionHandler
This commit is contained in:
parent
09033d90cc
commit
5984c58f5e
|
@ -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, ...);
|
typedef void (*atEXCEPTION_HANDLER)(Athena::error::Level level, const char* file, const char* function, int line, const char* fmt, ...);
|
||||||
|
|
||||||
atEXCEPTION_HANDLER atGetExceptionHandler();
|
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);
|
void atSetExceptionHandler(atEXCEPTION_HANDLER func);
|
||||||
|
|
||||||
std::ostream& operator<<(std::ostream& os, const Athena::SeekOrigin& origin);
|
std::ostream& operator<<(std::ostream& os, const Athena::SeekOrigin& origin);
|
||||||
|
|
Loading…
Reference in New Issue