summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorChunEon Park <hermet@hermet.pe.kr>2011-09-08 04:58:00 +0000
committerChunEon Park <hermet@hermet.pe.kr>2011-09-08 04:58:00 +0000
commit4e2320b17eb751ebf3124e3bf7d3645ef9c2a87f (patch)
tree4d89770309fea9fb608c63d3adeb8910210c770a /legacy
parent044f49800b521e3de82df9829bed6c69e164458d (diff)
edje - reverted embryo debug prints.
they can be used to get outside of the managable control. SVN revision: 63281
Diffstat (limited to 'legacy')
-rw-r--r--legacy/edje/src/lib/edje_embryo.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/legacy/edje/src/lib/edje_embryo.c b/legacy/edje/src/lib/edje_embryo.c
index 8d3caccf7d..7575ccaec7 100644
--- a/legacy/edje/src/lib/edje_embryo.c
+++ b/legacy/edje/src/lib/edje_embryo.c
@@ -185,11 +185,6 @@
185 * 185 *
186 * part_swallow(part_id, group_name) 186 * part_swallow(part_id, group_name)
187 * 187 *
188 * ** here print functions are for the debugging
189 * print_int(val)
190 * print_float(Float:val)
191 * print_str(val)
192 *
193 * external_param_get_int(id, param_name[]) 188 * external_param_get_int(id, param_name[])
194 * external_param_set_int(id, param_name[], value) 189 * external_param_set_int(id, param_name[], value)
195 * Float:external_param_get_float(id, param_name[]) 190 * Float:external_param_get_float(id, param_name[])
@@ -2941,34 +2936,6 @@ _edje_embryo_fn_external_param_set_bool(Embryo_Program *ep, Embryo_Cell *params)
2941 return _edje_external_param_set(NULL, rp, &eep); 2936 return _edje_external_param_set(NULL, rp, &eep);
2942} 2937}
2943 2938
2944static Embryo_Cell
2945_edje_embryo_fn_print_int(Embryo_Program *ep, Embryo_Cell *params)
2946{
2947 printf("%d", (int) params[1]);
2948 fflush(NULL);
2949 return 0;
2950}
2951
2952static Embryo_Cell
2953_edje_embryo_fn_print_float(Embryo_Program *ep, Embryo_Cell *params)
2954{
2955 float v = EMBRYO_CELL_TO_FLOAT(params[1]);
2956 printf("%f", v);
2957 fflush(NULL);
2958 return 0;
2959}
2960
2961static Embryo_Cell
2962_edje_embryo_fn_print_str(Embryo_Program *ep, Embryo_Cell *params)
2963{
2964 char *msg = NULL;
2965 GETSTR(msg, params[1]);
2966 if (!msg) return 0;
2967 printf("%s", msg);
2968 fflush(NULL);
2969 return 0;
2970}
2971
2972void 2939void
2973_edje_embryo_script_init(Edje_Part_Collection *edc) 2940_edje_embryo_script_init(Edje_Part_Collection *edc)
2974{ 2941{
@@ -3048,9 +3015,6 @@ _edje_embryo_script_init(Edje_Part_Collection *edc)
3048 3015
3049 embryo_program_native_call_add(ep, "part_swallow", _edje_embryo_fn_part_swallow); 3016 embryo_program_native_call_add(ep, "part_swallow", _edje_embryo_fn_part_swallow);
3050 3017
3051 embryo_program_native_call_add(ep, "print_int", _edje_embryo_fn_print_int);
3052 embryo_program_native_call_add(ep, "print_float", _edje_embryo_fn_print_float);
3053 embryo_program_native_call_add(ep, "print_str", _edje_embryo_fn_print_str);
3054 embryo_program_native_call_add(ep, "external_param_get_int", _edje_embryo_fn_external_param_get_int); 3018 embryo_program_native_call_add(ep, "external_param_get_int", _edje_embryo_fn_external_param_get_int);
3055 embryo_program_native_call_add(ep, "external_param_set_int", _edje_embryo_fn_external_param_set_int); 3019 embryo_program_native_call_add(ep, "external_param_set_int", _edje_embryo_fn_external_param_set_int);
3056 embryo_program_native_call_add(ep, "external_param_get_float", _edje_embryo_fn_external_param_get_float); 3020 embryo_program_native_call_add(ep, "external_param_get_float", _edje_embryo_fn_external_param_get_float);