summaryrefslogtreecommitdiff
path: root/src/lib/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-07-17 15:50:38 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-07-17 15:52:39 +0200
commitfbdbf6b132153503f056ac10e55d76422fc64dc0 (patch)
treed41fdedcb042dc0cd2897689776ea31d9b6a7685 /src/lib/eolian
parentbaf1fcdb916d0142e1d0652549d658751486a534 (diff)
eolian: add builtin binbuf and event types
Binbuf is like strbuf and allows not using the Eina opaque wrapper now, which will remove some ptr(). And event translates to Efl.Event because otherwise there would be no way to get rid of void_ptr.
Diffstat (limited to 'src/lib/eolian')
-rw-r--r--src/lib/eolian/Eolian.h3
-rw-r--r--src/lib/eolian/eo_lexer.c2
-rw-r--r--src/lib/eolian/eo_lexer.h2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/eolian/Eolian.h b/src/lib/eolian/Eolian.h
index 0816812c74..4d743087ed 100644
--- a/src/lib/eolian/Eolian.h
+++ b/src/lib/eolian/Eolian.h
@@ -341,7 +341,8 @@ typedef enum
341 341
342 EOLIAN_TYPE_BUILTIN_ANY_VALUE, 342 EOLIAN_TYPE_BUILTIN_ANY_VALUE,
343 EOLIAN_TYPE_BUILTIN_ANY_VALUE_PTR, 343 EOLIAN_TYPE_BUILTIN_ANY_VALUE_PTR,
344 344 EOLIAN_TYPE_BUILTIN_BINBUF,
345 EOLIAN_TYPE_BUILTIN_EVENT,
345 EOLIAN_TYPE_BUILTIN_MSTRING, 346 EOLIAN_TYPE_BUILTIN_MSTRING,
346 EOLIAN_TYPE_BUILTIN_STRING, 347 EOLIAN_TYPE_BUILTIN_STRING,
347 EOLIAN_TYPE_BUILTIN_STRINGSHARE, 348 EOLIAN_TYPE_BUILTIN_STRINGSHARE,
diff --git a/src/lib/eolian/eo_lexer.c b/src/lib/eolian/eo_lexer.c
index aad79d8f71..20b71a0252 100644
--- a/src/lib/eolian/eo_lexer.c
+++ b/src/lib/eolian/eo_lexer.c
@@ -77,7 +77,7 @@ static const char * const ctypes[] =
77 77
78 "Eina_Accessor *", "Eina_Array *", "Eina_Future *", "Eina_Iterator *", 78 "Eina_Accessor *", "Eina_Array *", "Eina_Future *", "Eina_Iterator *",
79 "Eina_Hash *", "Eina_List *", 79 "Eina_Hash *", "Eina_List *",
80 "Eina_Value", "Eina_Value *", 80 "Eina_Value", "Eina_Value *", "Eina_Binbuf *", "Efl_Event *",
81 "char *", "const char *", "Eina_Stringshare *", "Eina_Strbuf *", 81 "char *", "const char *", "Eina_Stringshare *", "Eina_Strbuf *",
82 82
83 "void *", 83 "void *",
diff --git a/src/lib/eolian/eo_lexer.h b/src/lib/eolian/eo_lexer.h
index 0e7921726f..e2ce990304 100644
--- a/src/lib/eolian/eo_lexer.h
+++ b/src/lib/eolian/eo_lexer.h
@@ -60,7 +60,7 @@ enum Tokens
60 KW(void), \ 60 KW(void), \
61 \ 61 \
62 KW(accessor), KW(array), KW(future), KW(iterator), KW(hash), KW(list), \ 62 KW(accessor), KW(array), KW(future), KW(iterator), KW(hash), KW(list), \
63 KW(any_value), KW(any_value_ptr), \ 63 KW(any_value), KW(any_value_ptr), KW(binbuf), KW(event), \
64 KW(mstring), KW(string), KW(stringshare), KW(strbuf), \ 64 KW(mstring), KW(string), KW(stringshare), KW(strbuf), \
65 \ 65 \
66 KW(void_ptr), \ 66 KW(void_ptr), \