path: root/src/Makefile_Efl_Mono.am
diff options
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-04-20 18:17:26 -0300
committerLauro Moura <lauromoura@expertisesolutions.com.br>2018-05-17 16:56:25 -0300
commitfff0c86d99fa63bf7167830da27118d9f2366b4b (patch)
treeb14c316660b48ed16252f42982c5e7bb06f84ae1 /src/Makefile_Efl_Mono.am
parentefl_mono: Fix eldbus warnings and typo. (diff)
efl_mono: Initial support for Futures/Promises
Summary: Promise/Future cleanup: In the promises, we use a wrapper Eina_Promise_Cancel_Cb to invalidate the wrapper if it ever gets cancelled from outside. When invalidating from C#, we can do it directly. For the futures, likewise, in order to be able to invalidate the wrapper when the chain it belongs to gets resolved we then() an internal future with a callback to invalidate the wrapper we return to C#. The return of this intermediate then() is the future we actually return to the user. Also added ECANCELED to the list of default eina.Errors Depends on https://phab.enlightenment.org/D6173 Reviewers: felipealmeida Reviewed By: felipealmeida Subscribers: cedric, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6174
Diffstat (limited to 'src/Makefile_Efl_Mono.am')
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Makefile_Efl_Mono.am b/src/Makefile_Efl_Mono.am
index 4afc577d4a..64b4a7cbf2 100644
--- a/src/Makefile_Efl_Mono.am
+++ b/src/Makefile_Efl_Mono.am
@@ -22,6 +22,7 @@ efl_eina_mono_files = \
bindings/mono/eina_mono/eina_stringshare.cs \
bindings/mono/eina_mono/eina_error.cs \
bindings/mono/eina_mono/eina_value.cs \
+ bindings/mono/eina_mono/eina_promises.cs \
efl_eldbus_mono_files = \
@@ -439,6 +440,7 @@ tests_efl_mono_efl_mono_SOURCES = \
tests/efl_mono/FunctionPointers.cs \
tests/efl_mono/FunctionPointerMarshalling.cs \
tests/efl_mono/Parts.cs \
+ tests/efl_mono/Promises.cs \
tests/efl_mono/Strbuf.cs \
tests/efl_mono/Strings.cs \
tests/efl_mono/Structs.cs \