From 4dfc360d1d5db5c7f4ccfaf673d71bf8b096c2c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 29 Nov 2013 17:23:55 +0100 Subject: add const char * legacy to Eo_Method_Def --- eo_definitions.c | 2 ++ eo_definitions.h | 1 + 2 files changed, 3 insertions(+) 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 */ -- cgit v1.1-2-g2b99