q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=78bc58813e47bf48c4e19214389bd1fb660ed8e0

commit 78bc58813e47bf48c4e19214389bd1fb660ed8e0
Author: Daniel Kolesa <[email protected]>
Date:   Thu Jul 10 15:36:18 2014 +0100

    eolian: remove unused enum and field
---
 src/lib/eolian/eo_definitions.h | 7 -------
 src/lib/eolian/eo_parser.c      | 2 --
 2 files changed, 9 deletions(-)

diff --git a/src/lib/eolian/eo_definitions.h b/src/lib/eolian/eo_definitions.h
index 7f96d3b..ec1878c 100644
--- a/src/lib/eolian/eo_definitions.h
+++ b/src/lib/eolian/eo_definitions.h
@@ -72,16 +72,9 @@ typedef struct _Eo_Property_Def
 
 /* METHOD */
 
-typedef enum _Eo_Method_Type {
-     METH_REGULAR,
-     METH_CONSTRUCTOR,
-     METH_TYPE_LAST
-} Eo_Method_Type;
-
 typedef struct _Eo_Method_Def
 {
    Eo_Ret_Def *ret;
-   Eo_Method_Type type;
    Eina_Stringshare *name;
    Eina_Stringshare *comment;
    Eina_List *params;
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index 6a8a01c..fb64b92 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -644,13 +644,11 @@ parse_method(Eo_Lexer *ls, Eina_Bool ctor)
      {
         if (ls->t.token != TOK_VALUE)
           eo_lexer_syntax_error(ls, "expected method name");
-        meth->type = METH_CONSTRUCTOR;
         meth->name = eina_stringshare_add(ls->t.value);
         eo_lexer_get(ls);
      }
    else
      {
-        meth->type = METH_REGULAR;
         if (ls->t.kw == KW_protected)
           {
              meth->scope = EOLIAN_SCOPE_PROTECTED;

-- 


Reply via email to