diff options
author | Daniel Juyung Seo <juyung.seo@samsung.com> | 2013-12-26 13:03:55 +0900 |
---|---|---|
committer | Daniel Juyung Seo <juyung.seo@samsung.com> | 2013-12-26 13:03:55 +0900 |
commit | 64da1da7b0c30ee862cd5cdb9886b5000363088a (patch) | |
tree | a7b0628163d464519c66d77b3a2015186cef1036 /src/modules | |
parent | d8c7def3965ae0af8a756fdde1d4c120cae85502 (diff) |
elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
CRITICAL -, I concluded to unify them to one. Discussed on IRC and
finally, CRI was chosen to meet the consistency with other macros -
ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/prefs/private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/prefs/private.h b/src/modules/prefs/private.h index 6ad8661ae..22e831722 100644 --- a/src/modules/prefs/private.h +++ b/src/modules/prefs/private.h | |||
@@ -3,13 +3,13 @@ | |||
3 | #endif | 3 | #endif |
4 | #include "Elementary.h" | 4 | #include "Elementary.h" |
5 | 5 | ||
6 | #undef CRITICAL | 6 | #undef CRI |
7 | #undef ERR | 7 | #undef ERR |
8 | #undef WRN | 8 | #undef WRN |
9 | #undef INF | 9 | #undef INF |
10 | #undef DBG | 10 | #undef DBG |
11 | 11 | ||
12 | #define CRITICAL(...) EINA_LOG_DOM_CRIT(_elm_prefs_log_dom, __VA_ARGS__) | 12 | #define CRI(...) EINA_LOG_DOM_CRIT(_elm_prefs_log_dom, __VA_ARGS__) |
13 | #define ERR(...) EINA_LOG_DOM_ERR (_elm_prefs_log_dom, __VA_ARGS__) | 13 | #define ERR(...) EINA_LOG_DOM_ERR (_elm_prefs_log_dom, __VA_ARGS__) |
14 | #define WRN(...) EINA_LOG_DOM_WARN(_elm_prefs_log_dom, __VA_ARGS__) | 14 | #define WRN(...) EINA_LOG_DOM_WARN(_elm_prefs_log_dom, __VA_ARGS__) |
15 | #define INF(...) EINA_LOG_DOM_INFO(_elm_prefs_log_dom, __VA_ARGS__) | 15 | #define INF(...) EINA_LOG_DOM_INFO(_elm_prefs_log_dom, __VA_ARGS__) |