summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2017-11-23 21:46:55 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2017-11-29 15:56:57 -0300
commit95ac35c5570645790494e3acc41cc9c0ccb9e83c (patch)
treec4bf6a235d1a780c07eff7b8408f4e0ac81cef0b
parentc89dc4e0e4e62574781ea888b4946037bf0f904d (diff)
eolian: Add inarray and inlist
-rw-r--r--src/lib/eolian/Eolian.h2
-rw-r--r--src/lib/eolian/database_validate.c5
-rw-r--r--src/lib/eolian/eo_lexer.c2
-rw-r--r--src/lib/eolian/eo_lexer.h2
4 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h
index 0bd3646f31..6774d6b6b4 100644
--- a/src/lib/eolian/Eolian.h
+++ b/src/lib/eolian/Eolian.h
@@ -281,6 +281,8 @@ typedef enum
281 EOLIAN_TYPE_BUILTIN_ITERATOR, 281 EOLIAN_TYPE_BUILTIN_ITERATOR,
282 EOLIAN_TYPE_BUILTIN_HASH, 282 EOLIAN_TYPE_BUILTIN_HASH,
283 EOLIAN_TYPE_BUILTIN_LIST, 283 EOLIAN_TYPE_BUILTIN_LIST,
284 EOLIAN_TYPE_BUILTIN_INARRAY,
285 EOLIAN_TYPE_BUILTIN_INLIST,
284 286
285 EOLIAN_TYPE_BUILTIN_FUTURE, 287 EOLIAN_TYPE_BUILTIN_FUTURE,
286 288
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index 3651d7ead2..cd62da3afd 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -149,8 +149,9 @@ _validate_typedecl(Eolian_Typedecl *tp)
149 149
150static const char * const eo_complex_frees[] = 150static const char * const eo_complex_frees[] =
151{ 151{
152 "eina_accessor_free", "eina_array_free", "eina_iterator_free", 152 "eina_accessor_free", "eina_array_free",
153 "eina_hash_free", "eina_list_free", 153 "eina_iterator_free", "eina_hash_free",
154 "eina_list_free", "eina_inarray_free", "eina_inlist_free",
154 155
155 "efl_del" /* future */ 156 "efl_del" /* future */
156}; 157};
diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c
index d3f3f09b03..affe61efa7 100644
--- a/src/lib/eolian/eo_lexer.c
+++ b/src/lib/eolian/eo_lexer.c
@@ -73,7 +73,7 @@ static const char * const ctypes[] =
73 "void", 73 "void",
74 74
75 "Eina_Accessor *", "Eina_Array *", "Eina_Iterator *", "Eina_Hash *", 75 "Eina_Accessor *", "Eina_Array *", "Eina_Iterator *", "Eina_Hash *",
76 "Eina_List *", 76 "Eina_List *", "Eina_Inarray *", "Eina_Inlist *",
77 "Efl_Future *", 77 "Efl_Future *",
78 "Eina_Value", "Eina_Value *", 78 "Eina_Value", "Eina_Value *",
79 "char *", "const char *", "Eina_Stringshare *", 79 "char *", "const char *", "Eina_Stringshare *",
diff --git a/src/lib/eolian/eo_lexer.h b/src/lib/eolian/eo_lexer.h
index 18d6f7e2f0..0cf76ce489 100644
--- a/src/lib/eolian/eo_lexer.h
+++ b/src/lib/eolian/eo_lexer.h
@@ -51,7 +51,7 @@ enum Tokens
51 \ 51 \
52 KW(void), \ 52 KW(void), \
53 \ 53 \
54 KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), \ 54 KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), KW(inarray), KW(inlist), \
55 KW(future), \ 55 KW(future), \
56 KW(any_value), KW(any_value_ptr), \ 56 KW(any_value), KW(any_value_ptr), \
57 KW(mstring), KW(string), KW(stringshare), \ 57 KW(mstring), KW(string), KW(stringshare), \