aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-12-20 14:13:14 -0800
committerCedric BAIL <cedric.bail@free.fr>2019-01-02 13:39:15 -0800
commit688420aa29850be9eb777bdf6947b57fe5fb0f0b (patch)
tree463422990d4b5df982554debb884748507817da4
parenteo: enable priority with event forwarder. (diff)
downloadefl-688420aa29850be9eb777bdf6947b57fe5fb0f0b.tar.gz
cxx: fix build to generate Eina_Future.
This doesn't enable future support in the C++ binding, just allow to build the binding. Signed-off-by: Cedric BAIL <cedric.bail@free.fr> Reviewed-by: Lauro Neto <Lauro Moura <lauromoura@expertisesolutions.com.br>> Differential Revision: https://phab.enlightenment.org/D7498
-rw-r--r--src/lib/eolian_cxx/grammar/type_impl.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/eolian_cxx/grammar/type_impl.hpp b/src/lib/eolian_cxx/grammar/type_impl.hpp
index 21f59c01da..ec8f5043f0 100644
--- a/src/lib/eolian_cxx/grammar/type_impl.hpp
+++ b/src/lib/eolian_cxx/grammar/type_impl.hpp
@@ -311,12 +311,12 @@ struct visitor_generate
(complex, regular_type_def{" ::efl::promise", complex.outer.base_qualifier, {}});
}
}
- /* , {"future", nullptr, nullptr, [&] */
- /* { */
- /* return replace_outer */
- /* (complex, regular_type_def{" ::efl::shared_future", complex.outer.base_qualifier, {}}); */
- /* } */
- /* } */
+ , {"future", nullptr, nullptr, [&]
+ {
+ return replace_outer
+ (complex, regular_type_def{" ::efl::eina::future", complex.outer.base_qualifier, {}});
+ }
+ }
, {"iterator", nullptr, nullptr, [&]
{
return replace_outer