cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=688420aa29850be9eb777bdf6947b57fe5fb0f0b

commit 688420aa29850be9eb777bdf6947b57fe5fb0f0b
Author: Lauro Moura <[email protected]>
Date:   Thu Dec 20 14:13:14 2018 -0800

    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 <[email protected]>
    Reviewed-by: Lauro Neto <Lauro Moura <[email protected]>>
    Differential Revision: https://phab.enlightenment.org/D7498
---
 src/lib/eolian_cxx/grammar/type_impl.hpp | 12 ++++++------
 1 file 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

-- 


Reply via email to