summaryrefslogtreecommitdiff
path: root/src/Makefile_Eolian.am
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-04-01 22:50:28 -0300
committerCedric Bail <cedric@osg.samsung.com>2016-04-06 14:34:15 -0700
commitdc954d8dba4538ef6cc70cb28bd6c622031825b5 (patch)
treea515fcf4f4d59991b317cd7e4282902d07dab536 /src/Makefile_Eolian.am
parent944e11559c34fd342550648c2dd9b3de270d3fa8 (diff)
eolian: add Eolian support for Eina Promises
Add a promise object to allows Eolian interface to include promises as a way to have asynchronous value return and composibility. The usage is like this in a .eo file: class Foo { methods { bar { params { @inout promise: Promise<int>; } } } } Which will create the following API interface: void foo_bar(Eo* obj, Eina_Promise** promise); and a Eina_Promise_Owner for the implementation, like this: void _foo_bar(Eo* obj, Private_Data* pdata, Eina_Promise_Owner* promise); Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/Makefile_Eolian.am')
-rw-r--r--src/Makefile_Eolian.am13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/Makefile_Eolian.am b/src/Makefile_Eolian.am
index 2f4554c..a542127 100644
--- a/src/Makefile_Eolian.am
+++ b/src/Makefile_Eolian.am
@@ -111,19 +111,24 @@ tests/eolian/eolian_suite
111tests_eolian_eolian_suite_SOURCES = \ 111tests_eolian_eolian_suite_SOURCES = \
112tests/eolian/eolian_parsing.c \ 112tests/eolian/eolian_parsing.c \
113tests/eolian/eolian_generation.c \ 113tests/eolian/eolian_generation.c \
114tests/eolian/eolian_generated_promise.c \
114tests/eolian/eolian_suite.c \ 115tests/eolian/eolian_suite.c \
115tests/eolian/eolian_suite.h 116tests/eolian/eolian_suite.h
116 117
117tests_eolian_eolian_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \ 118tests/eolian/tests_eolian_eolian_suite-eolian_generated_promise.$(OBJEXT): tests/eolian/generated_promise.eo.h tests/eolian/generated_promise.eo.c
119
120CLEANFILES += tests/eolian/generated_promise.eo.h tests/eolian/generated_promise.eo.c
121
122tests_eolian_eolian_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl -I$(top_builddir)/src/tests/eolian \
118-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eolian\" \ 123-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eolian\" \
119-DPACKAGE_DATA_DIR=\"$(top_srcdir)/src/tests/eolian\" \ 124-DPACKAGE_DATA_DIR=\"$(top_srcdir)/src/tests/eolian\" \
120-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \ 125-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
121@CHECK_CFLAGS@ \ 126@CHECK_CFLAGS@ \
122@EOLIAN_CFLAGS@ 127@EOLIAN_CFLAGS@ @EO_CFLAGS@
123TESTS += tests/eolian/eolian_suite 128TESTS += tests/eolian/eolian_suite
124 129
125tests_eolian_eolian_suite_LDADD = @CHECK_LIBS@ @USE_EOLIAN_LIBS@ 130tests_eolian_eolian_suite_LDADD = @CHECK_LIBS@ @USE_EOLIAN_LIBS@ @USE_EO_LIBS@
126tests_eolian_eolian_suite_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@ 131tests_eolian_eolian_suite_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@ @USE_EO_INTERNAL_LIBS@
127tests_eolian_eolian_suite.$(OBJEXT): $(EOLIAN_TESTS_EOS_GENERATED) 132tests_eolian_eolian_suite.$(OBJEXT): $(EOLIAN_TESTS_EOS_GENERATED)
128 133
129endif 134endif