eina_cxx: allow for the generation of function that return Eina_Promise in .eo files.
authorCedric BAIL <cedric.bail@free.fr>
Sat, 5 Jan 2019 01:39:11 +0000 (17:39 -0800)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 24 Jan 2019 05:20:17 +0000 (14:20 +0900)
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D7576

src/bindings/cxx/eina_cxx/eina_deleter.hh

index f88efd3..7831dfd 100644 (file)
@@ -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>