From 6ee17d8f2dd01133edc3d7d798d1373911ad879a Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 7 Nov 2016 12:02:51 -0800 Subject: [PATCH] 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 9005459fa3..524863e418 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 lhs._reset(const_cast(rhs)); } template -void assign_out_impl(efl::promise& /*v*/, Eina_Promise*, tag&, Eina_Promise*>) -{ -} -template void assign_out_impl(efl::shared_future& /*v*/, Efl_Future*, tag&, Efl_Future*>) { } @@ -266,11 +262,6 @@ Eo const* convert_inout_impl(T v, tag return v._eo_ptr(); } template -Eina_Promise* convert_inout_impl(efl::promise& /*v*/, tag, Eina_Promise*>) -{ - return nullptr; -} -template Efl_Future* convert_inout_impl(efl::shared_future& /*v*/, tag, Efl_Future*>) { return nullptr; @@ -525,11 +516,6 @@ inline const char* convert_to_c_impl(efl::eina::stringshare x, tag -Eina_Promise* convert_to_c_impl(efl::promise const&, tagconst&>) -{ - std::abort(); -} -template Efl_Future* convert_to_c_impl(efl::shared_future const&, tagconst&>) { std::abort(); @@ -672,12 +658,6 @@ eina::accessor convert_to_return(Eina_Accessor* value, tag{ value }; } template -efl::promise convert_to_return(Eina_Promise* /*value*/, tag>) -{ - std::abort(); - return {}; -} -template efl::shared_future convert_to_return(Efl_Future* /*value*/, tag>) { std::abort();