git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@67766
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
struct _Edje_Program_Data
{
-#ifdef EDJE_PROGRAM_CACHE
Eina_List *matches;
-#endif
Edje *ed;
const char *source;
};
pr->exec = exec;
-#ifdef EDJE_PROGRAM_CACHE
data->matches = eina_list_append(data->matches, pr);
-#endif
return EINA_FALSE;
}
data.ed = ed;
data.source = src;
-#ifdef EDJE_PROGRAM_CACHE
data.matches = NULL;
-#endif
+
if (ed->table_programs_size > 0)
{
const Eina_List *match;
if (_edje_block_break(ed))
{
-#ifdef EDJE_PROGRAM_CACHE
eina_list_free(data.matches);
data.matches = NULL;
-#endif
goto break_prog;
}
}