summaryrefslogtreecommitdiff
path: root/src/lib/eet/eet_lib.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/eet/eet_lib.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 'src/lib/eet/eet_lib.c')
-rw-r--r--src/lib/eet/eet_lib.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 3ad086634a..804ed0eec9 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -234,7 +234,7 @@ eet_cache_add(Eet_File *ef,
234 new_cache = realloc(new_cache, new_cache_alloc * sizeof(Eet_File *)); 234 new_cache = realloc(new_cache, new_cache_alloc * sizeof(Eet_File *));
235 if (!new_cache) 235 if (!new_cache)
236 { 236 {
237 CRIT("BAD ERROR! Eet realloc of cache list failed. Abort"); 237 CRI("BAD ERROR! Eet realloc of cache list failed. Abort");
238 abort(); 238 abort();
239 } 239 }
240 } 240 }
@@ -284,7 +284,7 @@ eet_cache_del(Eet_File *ef,
284 new_cache = realloc(new_cache, new_cache_alloc * sizeof(Eet_File *)); 284 new_cache = realloc(new_cache, new_cache_alloc * sizeof(Eet_File *));
285 if (!new_cache) 285 if (!new_cache)
286 { 286 {
287 CRIT("BAD ERROR! Eet realloc of cache list failed. Abort"); 287 CRI("BAD ERROR! Eet realloc of cache list failed. Abort");
288 abort(); 288 abort();
289 } 289 }
290 } 290 }
@@ -2825,7 +2825,7 @@ _eet_entries_iterator_free(Eet_Entries_Iterator *it)
2825{ 2825{
2826 if (it->locked) 2826 if (it->locked)
2827 { 2827 {
2828 CRIT("Iterator still LOCKED !"); 2828 CRI("Iterator still LOCKED !");
2829 UNLOCK_FILE(it->ef); 2829 UNLOCK_FILE(it->ef);
2830 } 2830 }
2831} 2831}
@@ -2835,7 +2835,7 @@ _eet_entries_iterator_lock(Eet_Entries_Iterator *it)
2835{ 2835{
2836 if (it->locked) 2836 if (it->locked)
2837 { 2837 {
2838 CRIT("Iterator already LOCKED !"); 2838 CRI("Iterator already LOCKED !");
2839 return EINA_TRUE; 2839 return EINA_TRUE;
2840 } 2840 }
2841 2841
@@ -2849,7 +2849,7 @@ _eet_entries_iterator_unlock(Eet_Entries_Iterator *it)
2849{ 2849{
2850 if (!it->locked) 2850 if (!it->locked)
2851 { 2851 {
2852 CRIT("Iterator already UNLOCKED !"); 2852 CRI("Iterator already UNLOCKED !");
2853 return EINA_TRUE; 2853 return EINA_TRUE;
2854 } 2854 }
2855 2855