return pd->event_freeze_count;
}
-EAPI EO_FUNC_BODY(eo_event_freeze_get, int, 0);
+EAPI EO_FUNC_BODY(eo_event_freeze_count_get, int, 0);
static void
_ev_global_freeze(const Eo_Class *klass EINA_UNUSED, void *class_data EINA_UNUSED)
{
return event_freeze_count;
}
-EAPI EO_FUNC_BODY(eo_event_global_freeze_get, int, 0);
+EAPI EO_FUNC_BODY(eo_event_global_freeze_count_get, int, 0);
/* Eo_Dbg */
EAPI void
EO_OP_FUNC(eo_event_callback_forwarder_del, _ev_cb_forwarder_del, "Delete an event forwarder."),
EO_OP_FUNC(eo_event_freeze, _ev_freeze, "Freezes events."),
EO_OP_FUNC(eo_event_thaw, _ev_thaw, "Thaws events."),
- EO_OP_FUNC(eo_event_freeze_get, _ev_freeze_get, "Get event freeze counter."),
+ EO_OP_FUNC(eo_event_freeze_count_get, _ev_freeze_get, "Get event freeze counter."),
EO_OP_CLASS_FUNC(eo_event_global_freeze, _ev_global_freeze, "Freezes events globally."),
EO_OP_CLASS_FUNC(eo_event_global_thaw, _ev_global_thaw, "Thaws events globally."),
- EO_OP_CLASS_FUNC(eo_event_global_freeze_get, _ev_global_freeze_get, "Get global event freeze counter."),
+ EO_OP_CLASS_FUNC(eo_event_global_freeze_count_get, _ev_global_freeze_get, "Get global event freeze counter."),
EO_OP_FUNC(eo_dbg_info_get, _dbg_info_get, "Get debug info list for obj."),
EO_OP_SENTINEL
};
eo_do(obj, eo_event_callback_priority_add(EV_A_CHANGED, EO_CALLBACK_PRIORITY_BEFORE, _a_changed_cb, (void *) 1));
fail_if(pd->cb_count != 1);
- eo_do(obj, fcount = eo_event_freeze_get());
+ eo_do(obj, fcount = eo_event_freeze_count_get());
fail_if(fcount != 0);
eo_do(obj, eo_event_freeze());
- eo_do(obj, fcount = eo_event_freeze_get());
+ eo_do(obj, fcount = eo_event_freeze_count_get());
fail_if(fcount != 1);
eo_do(obj, eo_event_freeze());
- eo_do(obj, fcount = eo_event_freeze_get());
+ eo_do(obj, fcount = eo_event_freeze_count_get());
fail_if(fcount != 2);
eo_do(obj, eo_event_callback_priority_add(EV_A_CHANGED, EO_CALLBACK_PRIORITY_BEFORE, _a_changed_cb, (void *) 2));
eo_do(obj, simple_a_set(2));
fail_if(cb_count != 0);
eo_do(obj, eo_event_thaw());
- eo_do(obj, fcount = eo_event_freeze_get());
+ eo_do(obj, fcount = eo_event_freeze_count_get());
fail_if(fcount != 1);
eo_do(obj, eo_event_thaw());
- eo_do(obj, fcount = eo_event_freeze_get());
+ eo_do(obj, fcount = eo_event_freeze_count_get());
fail_if(fcount != 0);
eo_do(obj, simple_a_set(3));
cb_count = 0;
eo_do(obj, eo_event_thaw());
- eo_do(obj, fcount = eo_event_freeze_get());
+ eo_do(obj, fcount = eo_event_freeze_count_get());
fail_if(fcount != 0);
eo_do(obj, eo_event_freeze());
- eo_do(obj, fcount = eo_event_freeze_get());
+ eo_do(obj, fcount = eo_event_freeze_count_get());
fail_if(fcount != 1);
eo_do(obj, simple_a_set(2));
fail_if(cb_count != 0);
eo_do(obj, eo_event_thaw());
- eo_do(obj, fcount = eo_event_freeze_get());
+ eo_do(obj, fcount = eo_event_freeze_count_get());
fail_if(fcount != 0);
eo_do(obj, eo_event_callback_del(EV_A_CHANGED, _a_changed_cb, (void *) 1));
eo_do(obj, eo_event_callback_priority_add(EV_A_CHANGED, EO_CALLBACK_PRIORITY_BEFORE, _a_changed_cb, (void *) 1));
fail_if(pd->cb_count != 1);
- eo_do(EO_CLASS, fcount = eo_event_global_freeze_get());
+ eo_do(EO_CLASS, fcount = eo_event_global_freeze_count_get());
fail_if(fcount != 0);
eo_do(EO_CLASS, eo_event_global_freeze());
- eo_do(EO_CLASS, fcount = eo_event_global_freeze_get());
+ eo_do(EO_CLASS, fcount = eo_event_global_freeze_count_get());
fail_if(fcount != 1);
eo_do(EO_CLASS, eo_event_global_freeze());
- eo_do(EO_CLASS, fcount = eo_event_global_freeze_get());
+ eo_do(EO_CLASS, fcount = eo_event_global_freeze_count_get());
fail_if(fcount != 2);
eo_do(obj, eo_event_callback_priority_add(EV_A_CHANGED, EO_CALLBACK_PRIORITY_BEFORE, _a_changed_cb, (void *) 2));
eo_do(obj, simple_a_set(2));
fail_if(cb_count != 0);
eo_do(EO_CLASS, eo_event_global_thaw());
- eo_do(EO_CLASS, fcount = eo_event_global_freeze_get());
+ eo_do(EO_CLASS, fcount = eo_event_global_freeze_count_get());
fail_if(fcount != 1);
eo_do(EO_CLASS, eo_event_global_thaw());
- eo_do(EO_CLASS, fcount = eo_event_global_freeze_get());
+ eo_do(EO_CLASS, fcount = eo_event_global_freeze_count_get());
fail_if(fcount != 0);
eo_do(obj, simple_a_set(3));
cb_count = 0;
eo_do(EO_CLASS, eo_event_global_thaw());
- eo_do(EO_CLASS, fcount = eo_event_global_freeze_get());
+ eo_do(EO_CLASS, fcount = eo_event_global_freeze_count_get());
fail_if(fcount != 0);
eo_do(EO_CLASS, eo_event_global_freeze());
- eo_do(EO_CLASS, fcount = eo_event_global_freeze_get());
+ eo_do(EO_CLASS, fcount = eo_event_global_freeze_count_get());
fail_if(fcount != 1);
eo_do(obj, simple_a_set(2));
fail_if(cb_count != 0);
eo_do(EO_CLASS, eo_event_global_thaw());
- eo_do(EO_CLASS, fcount = eo_event_global_freeze_get());
+ eo_do(EO_CLASS, fcount = eo_event_global_freeze_count_get());
fail_if(fcount != 0);