summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_check_private.h
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2017-06-16 16:11:42 +0900
committerAmitesh Singh <amitesh.sh@samsung.com>2017-06-16 16:32:37 +0900
commit5df92c2a5231bc209ec31ba3adde1fb08f353c1e (patch)
tree271e0453efaea273674896b4d9504f09bc0f4c46 /src/lib/elementary/efl_ui_check_private.h
parent0cc52f423b4f63187409dbb72aa81a03bc2c589f (diff)
Efl.Ui.Check: rename data get macros
Diffstat (limited to 'src/lib/elementary/efl_ui_check_private.h')
-rw-r--r--src/lib/elementary/efl_ui_check_private.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/elementary/efl_ui_check_private.h b/src/lib/elementary/efl_ui_check_private.h
index fd61c16..ecd179f 100644
--- a/src/lib/elementary/efl_ui_check_private.h
+++ b/src/lib/elementary/efl_ui_check_private.h
@@ -33,11 +33,11 @@ struct _Efl_Ui_Check_Data
33 * @} 33 * @}
34 */ 34 */
35 35
36#define ELM_CHECK_DATA_GET(o, sd) \ 36#define EFL_UI_CHECK_DATA_GET(o, sd) \
37 Efl_Ui_Check_Data * sd = efl_data_scope_get(o, EFL_UI_CHECK_CLASS) 37 Efl_Ui_Check_Data * sd = efl_data_scope_get(o, EFL_UI_CHECK_CLASS)
38 38
39#define ELM_CHECK_DATA_GET_OR_RETURN(o, ptr) \ 39#define EFL_UI_CHECK_DATA_GET_OR_RETURN(o, ptr) \
40 ELM_CHECK_DATA_GET(o, ptr); \ 40 EFL_UI_CHECK_DATA_GET(o, ptr); \
41 if (EINA_UNLIKELY(!ptr)) \ 41 if (EINA_UNLIKELY(!ptr)) \
42 { \ 42 { \
43 CRI("No widget data for object %p (%s)", \ 43 CRI("No widget data for object %p (%s)", \
@@ -45,8 +45,8 @@ struct _Efl_Ui_Check_Data
45 return; \ 45 return; \
46 } 46 }
47 47
48#define ELM_CHECK_DATA_GET_OR_RETURN_VAL(o, ptr, val) \ 48#define EFL_UI_CHECK_DATA_GET_OR_RETURN_VAL(o, ptr, val) \
49 ELM_CHECK_DATA_GET(o, ptr); \ 49 EFL_UI_CHECK_DATA_GET(o, ptr); \
50 if (EINA_UNLIKELY(!ptr)) \ 50 if (EINA_UNLIKELY(!ptr)) \
51 { \ 51 { \
52 CRI("No widget data for object %p (%s)", \ 52 CRI("No widget data for object %p (%s)", \
@@ -54,7 +54,7 @@ struct _Efl_Ui_Check_Data
54 return val; \ 54 return val; \
55 } 55 }
56 56
57#define ELM_CHECK_CHECK(obj) \ 57#define EFL_UI_CHECK_CHECK(obj) \
58 if (EINA_UNLIKELY(!efl_isa((obj), ELM_CHECK_CLASS))) \ 58 if (EINA_UNLIKELY(!efl_isa((obj), ELM_CHECK_CLASS))) \
59 return 59 return
60 60