summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2018-05-02 13:40:18 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2018-05-03 17:14:39 +0200
commitc116695311eef5583fd231158d87354529d866f3 (patch)
treef4fdc0bb376d20a31e6579270110a7726f3b3636 /src/lib/eolian
parentcc744596b33490260571c2437619a7a69a27336d (diff)
eolian: add builtin type for Eina_Future
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/Eolian.h1
-rw-r--r--src/lib/eolian/database_validate.c2
-rw-r--r--src/lib/eolian/eo_lexer.c4
-rw-r--r--src/lib/eolian/eo_lexer.h4
4 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h
index 2125b168a9..9edda4d402 100644
--- a/src/lib/eolian/Eolian.h
+++ b/src/lib/eolian/Eolian.h
@@ -320,6 +320,7 @@ typedef enum
320 320
321 EOLIAN_TYPE_BUILTIN_ACCESSOR, 321 EOLIAN_TYPE_BUILTIN_ACCESSOR,
322 EOLIAN_TYPE_BUILTIN_ARRAY, 322 EOLIAN_TYPE_BUILTIN_ARRAY,
323 EOLIAN_TYPE_BUILTIN_FUTURE,
323 EOLIAN_TYPE_BUILTIN_ITERATOR, 324 EOLIAN_TYPE_BUILTIN_ITERATOR,
324 EOLIAN_TYPE_BUILTIN_HASH, 325 EOLIAN_TYPE_BUILTIN_HASH,
325 EOLIAN_TYPE_BUILTIN_LIST, 326 EOLIAN_TYPE_BUILTIN_LIST,
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index 7c27dea96d..67229edea5 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -183,7 +183,7 @@ _validate_typedecl(Validate_State *vals, Eolian_Typedecl *tp)
183 183
184static const char * const eo_complex_frees[] = 184static const char * const eo_complex_frees[] =
185{ 185{
186 "eina_accessor_free", "eina_array_free", 186 "eina_accessor_free", "eina_array_free", NULL, /* future */
187 "eina_iterator_free", "eina_hash_free", 187 "eina_iterator_free", "eina_hash_free",
188 "eina_list_free", "eina_inarray_free", "eina_inlist_free" 188 "eina_list_free", "eina_inarray_free", "eina_inlist_free"
189}; 189};
diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c
index f82ab601b1..8e358164fd 100644
--- a/src/lib/eolian/eo_lexer.c
+++ b/src/lib/eolian/eo_lexer.c
@@ -72,8 +72,8 @@ static const char * const ctypes[] =
72 72
73 "void", 73 "void",
74 74
75 "Eina_Accessor *", "Eina_Array *", "Eina_Iterator *", "Eina_Hash *", 75 "Eina_Accessor *", "Eina_Array *", "Eina_Future *", "Eina_Iterator *",
76 "Eina_List *", "Eina_Inarray *", "Eina_Inlist *", 76 "Eina_Hash *", "Eina_List *", "Eina_Inarray *", "Eina_Inlist *",
77 "Eina_Value", "Eina_Value *", 77 "Eina_Value", "Eina_Value *",
78 "char *", "const char *", "Eina_Stringshare *", "Eina_Strbuf *", 78 "char *", "const char *", "Eina_Stringshare *", "Eina_Strbuf *",
79 79
diff --git a/src/lib/eolian/eo_lexer.h b/src/lib/eolian/eo_lexer.h
index 2f055dbb5b..846123937c 100644
--- a/src/lib/eolian/eo_lexer.h
+++ b/src/lib/eolian/eo_lexer.h
@@ -51,8 +51,8 @@ enum Tokens
51 \ 51 \
52 KW(void), \ 52 KW(void), \
53 \ 53 \
54 KW(accessor), KW(array), KW(iterator), KW(hash), KW(list), KW(inarray), KW(inlist), \ 54 KW(accessor), KW(array), KW(future), KW(iterator), KW(hash), KW(list), \
55 KW(any_value), KW(any_value_ptr), \ 55 KW(inarray), KW(inlist), KW(any_value), KW(any_value_ptr), \
56 KW(mstring), KW(string), KW(stringshare), KW(strbuf), \ 56 KW(mstring), KW(string), KW(stringshare), KW(strbuf), \
57 \ 57 \
58 KW(void_ptr), \ 58 KW(void_ptr), \