Ecore_Exe_Flags flags,
const void *data)
{
+ EINA_MAIN_LOOP_CHECK_RETURN_VAL(NULL);
Ecore_Exe *ret = eo_add(MY_CLASS, NULL, ecore_obj_exe_command_set(eo_self, exe_cmd, flags));
if (ret)
{
Ecore_Timer_Legacy *legacy;
Eo *timer;
+ EINA_MAIN_LOOP_CHECK_RETURN_VAL(NULL);
legacy = calloc(1, sizeof (Ecore_Timer_Legacy));
if (!legacy) return NULL;
Ecore_Timer_Legacy *legacy;
Eo *timer;
+ EINA_MAIN_LOOP_CHECK_RETURN_VAL(NULL);
legacy = calloc(1, sizeof (Ecore_Timer_Legacy));
if (!legacy) return NULL;
EAPI void
ecore_timer_freeze(Ecore_Timer *timer)
{
+ EINA_MAIN_LOOP_CHECK_RETURN;
ECORE_TIMER_CHECK(timer);
eo_event_freeze(timer);
}
{
int r = 0;
+ EINA_MAIN_LOOP_CHECK_RETURN_VAL(EINA_FALSE);
r = eo_event_freeze_count_get(timer);
return !!r;
}
EAPI void
ecore_timer_thaw(Ecore_Timer *timer)
{
+ EINA_MAIN_LOOP_CHECK_RETURN;
ECORE_TIMER_CHECK(timer);
eo_event_thaw(timer);
}