diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-29 17:23:55 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-29 17:23:55 +0100 |
commit | 4dfc360d1d5db5c7f4ccfaf673d71bf8b096c2c7 (patch) | |
tree | 09ad1fa8ec308a2022140b94bd7c7c36da9f2f39 | |
parent | 6fcba8424f8f8f606244da4d47729b1869a42bad (diff) | |
download | eo_tokenizer-4dfc360d1d5db5c7f4ccfaf673d71bf8b096c2c7.zip eo_tokenizer-4dfc360d1d5db5c7f4ccfaf673d71bf8b096c2c7.tar.gz |
add const char * legacy to Eo_Method_Def
-rw-r--r-- | eo_definitions.c | 2 | ||||
-rw-r--r-- | eo_definitions.h | 1 |
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) eina_stringshare_del(meth->name); if (meth->comment) eina_stringshare_del(meth->comment); + if (meth->legacy) + eina_stringshare_del(meth->legacy); EINA_LIST_FREE(meth->params, param) 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 const char *name; const char *comment; Eina_List *params; + const char* legacy; } Eo_Method_Def; /* CLASS */ |