bindings: remove Eina_Promise from C++ bindings.

This commit is contained in:
Cedric BAIL 2016-11-07 12:02:51 -08:00
parent d45e3abdba
commit 6ee17d8f2d
1 changed files with 0 additions and 20 deletions

View File

@ -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();