From b39642a58dd241abc85f42783cdc5c030111acad Mon Sep 17 00:00:00 2001 From: barbieri Date: Tue, 30 Mar 2010 00:39:14 +0000 Subject: [PATCH] oops, embryo limits names to 31 chars! git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@47572 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- data/include/edje.inc | 2 +- src/lib/edje_embryo.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/include/edje.inc b/data/include/edje.inc index 8faceec..bcae020 100644 --- a/data/include/edje.inc +++ b/data/include/edje.inc @@ -158,7 +158,7 @@ native external_param_set_float(id, param_name[], Float:value); native external_param_get_strlen(id, param_name[]); native external_param_get_str(id, param_name[], value[], value_maxlen); native external_param_set_str(id, param_name[], value[]); -native external_param_get_choice_strlen(id, param_name[]); +native external_param_get_choice_len(id, param_name[]); native external_param_get_choice(id, param_name[], value[], value_maxlen); native external_param_set_choice(id, param_name[], value[]); native external_param_get_bool(id, param_name[]); diff --git a/src/lib/edje_embryo.c b/src/lib/edje_embryo.c index 492118a..7c36373 100644 --- a/src/lib/edje_embryo.c +++ b/src/lib/edje_embryo.c @@ -218,7 +218,7 @@ void *alloca (size_t); * external_param_get_strlen(id, param_name[]) * external_param_get_str(id, param_name[], value[], value_maxlen) * external_param_set_str(id, param_name[], value[]) - * external_param_get_choice_strlen(id, param_name[]) + * external_param_get_choice_len(id, param_name[]) * external_param_get_choice(id, param_name[], value[], value_maxlen) * external_param_set_choice(id, param_name[], value[]) * external_param_get_bool(id, param_name[]) @@ -2505,9 +2505,9 @@ _edje_embryo_fn_external_param_set_str(Embryo_Program *ep, Embryo_Cell *params) return _edje_external_param_set(rp->swallowed_object, &eep); } -/* external_param_get_choice_strlen(id, param_name[]) */ +/* external_param_get_choice_len(id, param_name[]) */ static Embryo_Cell -_edje_embryo_fn_external_param_get_choice_strlen(Embryo_Program *ep, Embryo_Cell *params) +_edje_embryo_fn_external_param_get_choice_len(Embryo_Program *ep, Embryo_Cell *params) { Edje *ed; int part_id; -- 2.7.4