cxx: fix build to generate Eina_Future.
authorLauro Moura <lauromoura@expertisesolutions.com.br>
Thu, 20 Dec 2018 22:13:14 +0000 (14:13 -0800)
committerShinwoo Kim <cinoo.kim@samsung.com>
Thu, 3 Jan 2019 09:00:27 +0000 (18:00 +0900)
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

src/lib/eolian_cxx/grammar/type_impl.hpp

index 21f59c0..ec8f504 100644 (file)
@@ -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