summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-11-07 12:02:51 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-11-07 12:03:55 -0800
commit6ee17d8f2dd01133edc3d7d798d1373911ad879a (patch)
tree519bd10435efb9b4cee5de311c786f174e25bc2e /src/bindings
parentd45e3abdba21a376f0cc5b39e5807260510c1574 (diff)
bindings: remove Eina_Promise from C++ bindings.
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/cxx/eo_cxx/eo_cxx_interop.hh20
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 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*>
131 lhs._reset(const_cast<Eo*>(rhs)); 131 lhs._reset(const_cast<Eo*>(rhs));
132} 132}
133template <typename T> 133template <typename T>
134void assign_out_impl(efl::promise<T>& /*v*/, Eina_Promise*, tag<efl::promise<T>&, Eina_Promise*>)
135{
136}
137template <typename T>
138void assign_out_impl(efl::shared_future<T>& /*v*/, Efl_Future*, tag<efl::shared_future<T>&, Efl_Future*>) 134void assign_out_impl(efl::shared_future<T>& /*v*/, Efl_Future*, tag<efl::shared_future<T>&, Efl_Future*>)
139{ 135{
140} 136}
@@ -266,11 +262,6 @@ Eo const* convert_inout_impl(T v, tag<T, Eo const*>
266 return v._eo_ptr(); 262 return v._eo_ptr();
267} 263}
268template <typename T> 264template <typename T>
269Eina_Promise* convert_inout_impl(efl::promise<T>& /*v*/, tag<efl::promise<T>, Eina_Promise*>)
270{
271 return nullptr;
272}
273template <typename T>
274Efl_Future* convert_inout_impl(efl::shared_future<T>& /*v*/, tag<efl::shared_future<T>, Efl_Future*>) 265Efl_Future* convert_inout_impl(efl::shared_future<T>& /*v*/, tag<efl::shared_future<T>, Efl_Future*>)
275{ 266{
276 return nullptr; 267 return nullptr;
@@ -525,11 +516,6 @@ inline const char* convert_to_c_impl(efl::eina::stringshare x, tag<const char*,
525 return eina_stringshare_ref(x.c_str()); 516 return eina_stringshare_ref(x.c_str());
526} 517}
527template <typename T> 518template <typename T>
528Eina_Promise* convert_to_c_impl(efl::promise<T> const&, tag<Eina_Promise*, efl::promise<T>const&>)
529{
530 std::abort();
531}
532template <typename T>
533Efl_Future* convert_to_c_impl(efl::shared_future<T> const&, tag<Efl_Future*, efl::shared_future<T>const&>) 519Efl_Future* convert_to_c_impl(efl::shared_future<T> const&, tag<Efl_Future*, efl::shared_future<T>const&>)
534{ 520{
535 std::abort(); 521 std::abort();
@@ -672,12 +658,6 @@ eina::accessor<T> convert_to_return(Eina_Accessor* value, tag<Eina_Accessor*, ei
672 return eina::accessor<T>{ value }; 658 return eina::accessor<T>{ value };
673} 659}
674template <typename T> 660template <typename T>
675efl::promise<T> convert_to_return(Eina_Promise* /*value*/, tag<Eina_Promise*, efl::promise<T>>)
676{
677 std::abort();
678 return {};
679}
680template <typename T>
681efl::shared_future<T> convert_to_return(Efl_Future* /*value*/, tag<Efl_Future*, efl::shared_future<T>>) 661efl::shared_future<T> convert_to_return(Efl_Future* /*value*/, tag<Efl_Future*, efl::shared_future<T>>)
682{ 662{
683 std::abort(); 663 std::abort();