diff options
Diffstat (limited to 'core/error_macros.h')
-rw-r--r-- | core/error_macros.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/core/error_macros.h b/core/error_macros.h index 47b1de5df3..6d931e899e 100644 --- a/core/error_macros.h +++ b/core/error_macros.h @@ -33,12 +33,12 @@ /** * Error macros. Unlike exceptions and asserts, these macros try to mantain consistency and stability * inside the code. It is recommended to always return processable data, so in case of an error, the - * engine can stay working well. + * engine can stay working well. * In most cases, bugs and/or invalid data are not fatal and should never allow a perfectly running application * to fail or crash. */ -/** +/** * Pointer to the error macro priting function. Reassign to any function to have errors printed */ @@ -136,7 +136,7 @@ extern bool _err_error_exists; return m_retval; \ }else _err_error_exists=false; } \ -/** An error condition happened (m_cond tested true) (WARNING this is the opposite as assert(). +/** An error condition happened (m_cond tested true) (WARNING this is the opposite as assert(). * the function will exit. */ @@ -146,7 +146,7 @@ extern bool _err_error_exists; return; \ }else _err_error_exists=false; } \ -/** An error condition happened (m_cond tested true) (WARNING this is the opposite as assert(). +/** An error condition happened (m_cond tested true) (WARNING this is the opposite as assert(). * the function will exit. * This function returns an error value, if returning Error, please select the most * appropriate error condition from error_macros.h @@ -158,7 +158,7 @@ extern bool _err_error_exists; return m_retval; \ }else _err_error_exists=false; } \ -/** An error condition happened (m_cond tested true) (WARNING this is the opposite as assert(). +/** An error condition happened (m_cond tested true) (WARNING this is the opposite as assert(). * the loop will skip to the next iteration. */ @@ -168,7 +168,7 @@ extern bool _err_error_exists; continue;\ } else _err_error_exists=false;} \ -/** An error condition happened (m_cond tested true) (WARNING this is the opposite as assert(). +/** An error condition happened (m_cond tested true) (WARNING this is the opposite as assert(). * the loop will break */ |