summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2014-03-24 12:51:14 -0400
committerMike Blumenkrantz <zmike@samsung.com>2014-03-24 12:51:14 -0400
commit6c21e8eb833c43412a9deab4ec7786587586eab5 (patch)
tree7255dd461891b0b702bedfcdf90b27ad7961044e /src
parent8d30e71e8bc60f6ff4e090a85980430f5577d987 (diff)
edje_cc uses more setup macros to unify program statements
Diffstat (limited to 'src')
-rw-r--r--src/bin/edje/edje_cc_handlers.c38
1 files changed, 16 insertions, 22 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 2702103..5a0b4ce 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -439,29 +439,23 @@ static void st_collections_group_physics_world_depth(void);
439 {PREFIX"color_classes.color_class.color2", st_color_class_color2}, /* dup */ \ 439 {PREFIX"color_classes.color_class.color2", st_color_class_color2}, /* dup */ \
440 {PREFIX"color_classes.color_class.color3", st_color_class_color3}, /* dup */ 440 {PREFIX"color_classes.color_class.color3", st_color_class_color3}, /* dup */
441 441
442#define PROGRAM_SEQUENCE(PREFIX, NAME, FN) \
443 {PREFIX".program."NAME, FN}, /* dup */ \
444 {PREFIX".program.sequence."NAME, FN}, /* dup */
445
446
442#define PROGRAM_BASE(PREFIX) \ 447#define PROGRAM_BASE(PREFIX) \
443 {PREFIX".program.name", st_collections_group_programs_program_name}, /* dup */ \ 448 PROGRAM_SEQUENCE(PREFIX, "name", st_collections_group_programs_program_name) \
444 {PREFIX".program.sequence.name", st_collections_group_programs_program_name}, /* dup */ \ 449 PROGRAM_SEQUENCE(PREFIX, "signal", st_collections_group_programs_program_signal) \
445 {PREFIX".program.signal", st_collections_group_programs_program_signal}, /* dup */ \ 450 PROGRAM_SEQUENCE(PREFIX, "source", st_collections_group_programs_program_source) \
446 {PREFIX".program.sequence.signal", st_collections_group_programs_program_signal}, /* dup */ \ 451 PROGRAM_SEQUENCE(PREFIX, "in", st_collections_group_programs_program_in) \
447 {PREFIX".program.source", st_collections_group_programs_program_source}, /* dup */ \ 452 PROGRAM_SEQUENCE(PREFIX, "action", st_collections_group_programs_program_action) \
448 {PREFIX".program.sequence.source", st_collections_group_programs_program_source}, /* dup */ \ 453 PROGRAM_SEQUENCE(PREFIX, "transition", st_collections_group_programs_program_transition) \
449 {PREFIX".program.in", st_collections_group_programs_program_in}, /* dup */ \ 454 PROGRAM_SEQUENCE(PREFIX, "target", st_collections_group_programs_program_target) \
450 {PREFIX".program.sequence.in", st_collections_group_programs_program_in}, /* dup */ \ 455 PROGRAM_SEQUENCE(PREFIX, "targets", st_collections_group_programs_program_targets) \
451 {PREFIX".program.action", st_collections_group_programs_program_action}, /* dup */ \ 456 PROGRAM_SEQUENCE(PREFIX, "after", st_collections_group_programs_program_after) \
452 {PREFIX".program.sequence.action", st_collections_group_programs_program_action}, /* dup */ \ 457 PROGRAM_SEQUENCE(PREFIX, "api", st_collections_group_programs_program_api) \
453 {PREFIX".program.transition", st_collections_group_programs_program_transition}, /* dup */ \ 458 PROGRAM_SEQUENCE(PREFIX, "filter", st_collections_group_programs_program_filter)
454 {PREFIX".program.sequence.transition", st_collections_group_programs_program_transition}, /* dup */ \
455 {PREFIX".program.target", st_collections_group_programs_program_target}, /* dup */ \
456 {PREFIX".program.sequence.target", st_collections_group_programs_program_target}, /* dup */ \
457 {PREFIX".program.targets", st_collections_group_programs_program_targets}, /* dup */ \
458 {PREFIX".program.sequence.targets", st_collections_group_programs_program_targets}, /* dup */ \
459 {PREFIX".program.after", st_collections_group_programs_program_after}, /* dup */ \
460 {PREFIX".program.sequence.after", st_collections_group_programs_program_after}, /* dup */ \
461 {PREFIX".program.api", st_collections_group_programs_program_api}, /* dup */ \
462 {PREFIX".program.sequence.api", st_collections_group_programs_program_api}, /* dup */ \
463 {PREFIX".program.filter", st_collections_group_programs_program_filter}, /* dup */ \
464 {PREFIX".program.sequence.filter", st_collections_group_programs_program_filter}, /* dup */
465 459
466#define PROGRAM_STATEMENTS(PREFIX) \ 460#define PROGRAM_STATEMENTS(PREFIX) \
467 IMAGE_SET_STATEMENTS(PREFIX".programs") \ 461 IMAGE_SET_STATEMENTS(PREFIX".programs") \