示例#1
0
EOLIAN static void
_ecore_idler_eo_base_destructor(Eo *obj, Ecore_Idler_Data *idler)
{
   idler->delete_me = 1;
   idlers_delete_me = 1;

   eo_do_super(obj, MY_CLASS, eo_destructor());
}
示例#2
0
static void
_colourablesquare_destructor(Eo *obj, ColourableSquare_Data *self)
{
   eo_do_super(obj, MY_CLASS, eo_destructor());
   if(_colourablesquare_impl_logdomain)
     {
        eina_log_domain_unregister(_colourablesquare_impl_logdomain);
        _colourablesquare_impl_logdomain = 0;
     }
}
示例#3
0
文件: evas_out.c 项目: jgfenix/efl
EOLIAN static void
_evas_out_eo_base_destructor(Eo *eo_obj, Evas_Out_Data *eo_dat)
{
   Eo *eo_parent = NULL;
   Evas_Public_Data *e;

   eo_do(eo_obj, eo_parent = eo_parent_get());
   e = eo_data_scope_get(eo_parent, EVAS_CLASS);
   if (!e) return ;
   // XXX: need to free output and context one they get allocated one day
   // e->engine.func->context_free(eo_dat->output, eo_dat->context);
   // e->engine.func->output_free(eo_dat->output);
   e->engine.func->info_free(eo_parent, eo_dat->info);
   e->outputs = eina_list_remove(e->outputs, eo_obj);
   eo_do_super(eo_obj, MY_CLASS, eo_destructor());
}