src/lib/edje_embryo.c File Reference

Defines

#define ALLOC_COPY_DESC(Short, Type, To, Spec)
#define ALLOC_DESC(Short, Type, To)   case EDJE_PART_TYPE_##Short: To = calloc(1, sizeof (Edje_Part_Description_##Type)); break;
#define DUP(x)   x ? (char *)eina_stringshare_add(x) : NULL

Functions

void _edje_embryo_globals_init (Edje *ed)
void _edje_embryo_script_init (Edje_Part_Collection *edc)
void _edje_embryo_script_reset (Edje *ed)
void _edje_embryo_script_shutdown (Edje_Part_Collection *edc)
void _edje_embryo_test_run (Edje *ed, const char *fname, const char *sig, const char *src)

Define Documentation

#define ALLOC_COPY_DESC ( Short,
Type,
To,
Spec   ) 
Value:
case EDJE_PART_TYPE_##Short:                    \
      {                             \
         Edje_Part_Description_##Type *tmp;             \
         Edje_Part_Description_##Type *new;             \
                                    \
         tmp = (Edje_Part_Description_##Type *) parent;     \
                                    \
         new = calloc(1, sizeof (Edje_Part_Description_##Type));    \
         new->Spec = tmp->Spec;                 \
         d = &new->common;                      \
         break;                         \
      }
#define ALLOC_DESC ( Short,
Type,
To   )     case EDJE_PART_TYPE_##Short: To = calloc(1, sizeof (Edje_Part_Description_##Type)); break;
#define DUP (  )     x ? (char *)eina_stringshare_add(x) : NULL

Function Documentation

void _edje_embryo_script_init ( Edje_Part_Collection edc  ) 
void _edje_embryo_script_reset ( Edje ed  ) 
void _edje_embryo_script_shutdown ( Edje_Part_Collection edc  ) 
void _edje_embryo_test_run ( Edje ed,
const char *  fname,
const char *  sig,
const char *  src 
)