summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-11-29 17:23:55 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-11-29 17:23:55 +0100
commit4dfc360d1d5db5c7f4ccfaf673d71bf8b096c2c7 (patch)
tree09ad1fa8ec308a2022140b94bd7c7c36da9f2f39
parent6fcba8424f8f8f606244da4d47729b1869a42bad (diff)
add const char * legacy to Eo_Method_Def
-rw-r--r--eo_definitions.c2
-rw-r--r--eo_definitions.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/eo_definitions.c b/eo_definitions.c
index e319d0d..b2b2675 100644
--- a/eo_definitions.c
+++ b/eo_definitions.c
@@ -63,6 +63,8 @@ eo_definitions_method_def_free(Eo_Method_Def *meth)
63 eina_stringshare_del(meth->name); 63 eina_stringshare_del(meth->name);
64 if (meth->comment) 64 if (meth->comment)
65 eina_stringshare_del(meth->comment); 65 eina_stringshare_del(meth->comment);
66 if (meth->legacy)
67 eina_stringshare_del(meth->legacy);
66 68
67 EINA_LIST_FREE(meth->params, param) 69 EINA_LIST_FREE(meth->params, param)
68 eo_definitions_param_free(param); 70 eo_definitions_param_free(param);
diff --git a/eo_definitions.h b/eo_definitions.h
index 16f2f9c..ba1f6a3 100644
--- a/eo_definitions.h
+++ b/eo_definitions.h
@@ -63,6 +63,7 @@ typedef struct _eo_method_def
63 const char *name; 63 const char *name;
64 const char *comment; 64 const char *comment;
65 Eina_List *params; 65 Eina_List *params;
66 const char* legacy;
66} Eo_Method_Def; 67} Eo_Method_Def;
67 68
68/* CLASS */ 69/* CLASS */