summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-11-28 16:20:36 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-11-28 16:20:36 +0100
commit1fc3065c22268eff96c3d135132fffd04654a89a (patch)
treed55686c4bf6cf40cbd9bad27ad199d09143571d9
parentfc1eed171231a9721d73b82e913ae6005522bf20 (diff)
downloadeo_tokenizer-1fc3065c22268eff96c3d135132fffd04654a89a.zip
eo_tokenizer-1fc3065c22268eff96c3d135132fffd04654a89a.tar.gz
eo_definitions: legacies [char* -> legacy char*
-rw-r--r--eo_definitions.c4
-rw-r--r--eo_definitions.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/eo_definitions.c b/eo_definitions.c
index 760337f..2a7f587 100644
--- a/eo_definitions.c
+++ b/eo_definitions.c
@@ -29,8 +29,8 @@ eo_definitions_accessor_free(Eo_Accessor_Def *accessor)
if (accessor->comment)
eina_stringshare_del(accessor->comment);
- EINA_LIST_FOREACH(accessor->legacies, l, s)
- if (s) eina_stringshare_del(s);
+ if (accessor->legacy)
+ eina_stringshare_del(accessor->legacy);
eo_definitions_ret_free(&accessor->ret);
diff --git a/eo_definitions.h b/eo_definitions.h
index 844717e..209cf7e 100644
--- a/eo_definitions.h
+++ b/eo_definitions.h
@@ -43,7 +43,7 @@ typedef struct _eo_accessor_def
Eo_Accessor_Type type;
Eo_Ret_Def ret;
const char *comment;
- Eina_List *legacies;
+ const char* legacy;
} Eo_Accessor_Def;
/* PROPERTY */