aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindings
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2019-01-04 17:39:11 -0800
committerCedric BAIL <cedric.bail@free.fr>2019-01-16 14:33:24 -0800
commit40ca3fbe5813dfe0f2d0090f421c22a4cf2d8817 (patch)
tree5dbde7487c37055e26acfa052a25201443ba183c /src/bindings
parenteina: remove eina_promise_data_set. (diff)
downloadefl-40ca3fbe5813dfe0f2d0090f421c22a4cf2d8817.tar.gz
eina_cxx: allow for the generation of function that return Eina_Promise in .eo files.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D7576
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/cxx/eina_cxx/eina_deleter.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bindings/cxx/eina_cxx/eina_deleter.hh b/src/bindings/cxx/eina_cxx/eina_deleter.hh
index f88efd309d..7831dfd8ee 100644
--- a/src/bindings/cxx/eina_cxx/eina_deleter.hh
+++ b/src/bindings/cxx/eina_cxx/eina_deleter.hh
@@ -23,6 +23,10 @@ struct malloc_deleter
{
// how to free binbuf?
}
+ void operator()(Eina_Promise*) const
+ {
+ // workaround until we manually handle efl_loop_promise_new
+ }
};
template <typename T>