} \
while (0)
+#define E_OUTPUT_HOOK_APPEND(list, type, callback, data) \
+ do \
+ { \
+ E_Output_Hook *_oh; \
+ _oh = e_output_hook_add(type, callback, data); \
+ assert(_oh); \
+ list = eina_list_append(list, _oh); \
+ } \
+ while (0)
+
# define E_CLAMP(x, min, max) (x < min ? min : (x > max ? max : x))
# define E_RECTS_CLIP_TO_RECT(_x, _y, _w, _h, _cx, _cy, _cw, _ch) \
{ \
return e_comp_screen->e_screens;
}
-#undef E_OUTPUT_HOOK_APPEND
-#define E_OUTPUT_HOOK_APPEND(l, t, cb, d) \
- do \
- { \
- E_Output_Hook *_h; \
- _h = e_output_hook_add(t, cb, d); \
- assert(_h); \
- l = eina_list_append(l, _h); \
- } \
- while (0)
-
static void
_e_comp_screen_cb_output_connect_status_change(void *data, E_Output *output)
{