summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_ustringshare.c
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-26 12:22:05 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2013-12-26 12:27:13 +0900
commit76d8532b5465362f85b75a2a7a5cc3c419304a92 (patch)
tree73482a7b3a246f56d555fd206903db683b14c6aa /src/lib/eina/eina_ustringshare.c
parent10dd650d90d050889771f88d8b01eb7c1f51b0bd (diff)
efl: 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 '')
-rw-r--r--src/lib/eina/eina_ustringshare.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/eina/eina_ustringshare.c b/src/lib/eina/eina_ustringshare.c
index 33be24216c..dbdc8a707b 100644
--- a/src/lib/eina/eina_ustringshare.c
+++ b/src/lib/eina/eina_ustringshare.c
@@ -42,10 +42,10 @@
42#include "eina_ustringshare.h" 42#include "eina_ustringshare.h"
43 43
44 44
45#ifdef CRITICAL 45#ifdef CRI
46#undef CRITICAL 46#undef CRI
47#endif 47#endif
48#define CRITICAL(...) EINA_LOG_DOM_CRIT(_eina_share_ustringshare_log_dom, __VA_ARGS__) 48#define CRI(...) EINA_LOG_DOM_CRIT(_eina_share_ustringshare_log_dom, __VA_ARGS__)
49 49
50#ifdef ERR 50#ifdef ERR
51#undef ERR 51#undef ERR
@@ -145,7 +145,7 @@ eina_ustringshare_del(const Eina_Unicode *str)
145 return; 145 return;
146 146
147 if (!eina_share_common_del(ustringshare_share, (const char *)str)) 147 if (!eina_share_common_del(ustringshare_share, (const char *)str))
148 CRITICAL("EEEK trying to del non-shared ustringshare \"%s\"", (const char *)str); 148 CRI("EEEK trying to del non-shared ustringshare \"%s\"", (const char *)str);
149} 149}
150 150
151EAPI const Eina_Unicode * 151EAPI const Eina_Unicode *