diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2016-11-07 12:02:51 -0800 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2016-11-07 12:03:55 -0800 |
commit | 6ee17d8f2dd01133edc3d7d798d1373911ad879a (patch) | |
tree | 519bd10435efb9b4cee5de311c786f174e25bc2e | |
parent | d45e3abdba21a376f0cc5b39e5807260510c1574 (diff) | |
download | efl-6ee17d8f2dd01133edc3d7d798d1373911ad879a.tar.gz |
bindings: remove Eina_Promise from C++ bindings.
-rw-r--r-- | src/bindings/cxx/eo_cxx/eo_cxx_interop.hh | 20 |
1 files changed, 0 insertions, 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<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(); |