diff options
| author | Juan Linietsky | 2015-12-05 14:18:22 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-12-05 14:18:22 -0300 |
| commit | 200b7bb87c3d8d8b2011b08ed4bd7b034ceb452f (patch) | |
| tree | d9dc837018c4c2c7680491889316eedb9fe6b36c /core/error_macros.h | |
| parent | 35fa048af555e1f8411a2034706e9e452ce2f399 (diff) | |
| download | godot-200b7bb87c3d8d8b2011b08ed4bd7b034ceb452f.tar.gz godot-200b7bb87c3d8d8b2011b08ed4bd7b034ceb452f.tar.zst godot-200b7bb87c3d8d8b2011b08ed4bd7b034ceb452f.zip | |
Diffstat (limited to 'core/error_macros.h')
| -rw-r--r-- | core/error_macros.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/error_macros.h b/core/error_macros.h index 76da88287..cc8868630 100644 --- a/core/error_macros.h +++ b/core/error_macros.h @@ -207,6 +207,11 @@ extern bool _err_error_exists; _err_error_exists=false;\ } \ +#define ERR_PRINTS(m_string) \ + { \ + _err_print_error(FUNCTION_STR,__FILE__,__LINE__,String(m_string).utf8().get_data()); \ + _err_error_exists=false;\ + } \ /** Print a warning string. */ |
