summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-11-25 09:00:30 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-11-25 09:00:30 +0100
commitc1e2b5d01d5d01a1da1dbde5a69f2567ebd08e9a (patch)
treeb515526ee3ce301e52ac8053871206a46fad162b
parent77694e40515b98b3d231dd4e0e19e80575539c58 (diff)
downloadeo_tokenizer-c1e2b5d01d5d01a1da1dbde5a69f2567ebd08e9a.zip
eo_tokenizer-c1e2b5d01d5d01a1da1dbde5a69f2567ebd08e9a.tar.gz
add suffix _Def to class,methods,properties structs
-rw-r--r--eo_tokenizer.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/eo_tokenizer.h b/eo_tokenizer.h
index a264c2d..3186999 100644
--- a/eo_tokenizer.h
+++ b/eo_tokenizer.h
@@ -65,35 +65,35 @@ typedef enum _property_type
GETTER
} Property_Type;
-typedef struct _eo_property
+typedef struct _eo_property_def
{
Property_Type type;
Eo_Ret ret;
const char *name;
const char *comment;
Eina_List *params;
-} Eo_Property;
+} Eo_Property_Def;
/* METHODS */
-typedef struct _eo_method
+typedef struct _eo_method_def
{
Eo_Ret ret;
const char *name;
const char *comment;
Eina_List *params;
-} Eo_Method;
+} Eo_Method_Def;
/* CLASSES */
-typedef struct _eo_class
+typedef struct _eo_class_def
{
const char *name;
const char *comment;
Eina_List *inherits;
Eina_List *properties;
Eina_List *methods;
-} Eo_Class;
+} Eo_Class_Def;
/* TOKENIZER */
@@ -123,6 +123,8 @@ typedef struct _eo_tokenizer
} saved;
Eina_List *classes;
+ Eo_Class_Def *tmp_kls;
+
} Eo_Tokenizer;
Eo_Tokenizer* eo_tokenizer_get();