cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6ee17d8f2dd01133edc3d7d798d1373911ad879a
commit 6ee17d8f2dd01133edc3d7d798d1373911ad879a Author: Cedric BAIL <ced...@osg.samsung.com> Date: Mon Nov 7 12:02:51 2016 -0800 bindings: remove Eina_Promise from C++ bindings. --- src/bindings/cxx/eo_cxx/eo_cxx_interop.hh | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh b/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh index 9005459..524863e 100644 --- a/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh +++ b/src/bindings/cxx/eo_cxx/eo_cxx_interop.hh @@ -131,10 +131,6 @@ void assign_out_impl(T& lhs, Eo const* rhs, tag<T&, Eo const*> lhs._reset(const_cast<Eo*>(rhs)); } template <typename T> -void assign_out_impl(efl::promise<T>& /*v*/, Eina_Promise*, tag<efl::promise<T>&, Eina_Promise*>) -{ -} -template <typename T> void assign_out_impl(efl::shared_future<T>& /*v*/, Efl_Future*, tag<efl::shared_future<T>&, Efl_Future*>) { } @@ -266,11 +262,6 @@ Eo const* convert_inout_impl(T v, tag<T, Eo const*> return v._eo_ptr(); } template <typename T> -Eina_Promise* convert_inout_impl(efl::promise<T>& /*v*/, tag<efl::promise<T>, Eina_Promise*>) -{ - return nullptr; -} -template <typename T> Efl_Future* convert_inout_impl(efl::shared_future<T>& /*v*/, tag<efl::shared_future<T>, Efl_Future*>) { return nullptr; @@ -525,11 +516,6 @@ inline const char* convert_to_c_impl(efl::eina::stringshare x, tag<const char*, return eina_stringshare_ref(x.c_str()); } template <typename T> -Eina_Promise* convert_to_c_impl(efl::promise<T> const&, tag<Eina_Promise*, efl::promise<T>const&>) -{ - std::abort(); -} -template <typename T> Efl_Future* convert_to_c_impl(efl::shared_future<T> const&, tag<Efl_Future*, efl::shared_future<T>const&>) { std::abort(); @@ -672,12 +658,6 @@ eina::accessor<T> convert_to_return(Eina_Accessor* value, tag<Eina_Accessor*, ei return eina::accessor<T>{ value }; } template <typename T> -efl::promise<T> convert_to_return(Eina_Promise* /*value*/, tag<Eina_Promise*, efl::promise<T>>) -{ - std::abort(); - return {}; -} -template <typename T> efl::shared_future<T> convert_to_return(Efl_Future* /*value*/, tag<Efl_Future*, efl::shared_future<T>>) { std::abort(); --