error_macros.h typo fixed
This commit is contained in:
parent
0e25f54755
commit
08fef074c2
@ -504,7 +504,7 @@ void _err_print_index_error(const char *p_function, const char *p_file, int p_li
|
|||||||
*/
|
*/
|
||||||
#define ERR_FAIL_V(m_retval) \
|
#define ERR_FAIL_V(m_retval) \
|
||||||
if (1) { \
|
if (1) { \
|
||||||
_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/Function Failed, returning: " __STR(m_value)); \
|
_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/Function Failed, returning: " __STR(m_retval)); \
|
||||||
return m_retval; \
|
return m_retval; \
|
||||||
} else \
|
} else \
|
||||||
((void)0)
|
((void)0)
|
||||||
@ -517,7 +517,7 @@ void _err_print_index_error(const char *p_function, const char *p_file, int p_li
|
|||||||
*/
|
*/
|
||||||
#define ERR_FAIL_V_MSG(m_retval, m_msg) \
|
#define ERR_FAIL_V_MSG(m_retval, m_msg) \
|
||||||
if (1) { \
|
if (1) { \
|
||||||
_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/Function Failed, returning: " __STR(m_value), DEBUG_STR(m_msg)); \
|
_err_print_error(FUNCTION_STR, __FILE__, __LINE__, "Method/Function Failed, returning: " __STR(m_retval), DEBUG_STR(m_msg)); \
|
||||||
return m_retval; \
|
return m_retval; \
|
||||||
} else \
|
} else \
|
||||||
((void)0)
|
((void)0)
|
||||||
|
Loading…
Reference in New Issue
Block a user