felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=96f0783e04514559f3e2f185076bf6588461ede5

commit 96f0783e04514559f3e2f185076bf6588461ede5
Author: Felipe Magno de Almeida <fel...@expertisesolutions.com.br>
Date:   Sun Jun 5 16:50:54 2016 -0300

    eolian: Fix generating pointer promises for class types
---
 src/bin/eolian/eo_generator.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/eolian/eo_generator.c b/src/bin/eolian/eo_generator.c
index 6a6f279..f893b45 100644
--- a/src/bin/eolian/eo_generator.c
+++ b/src/bin/eolian/eo_generator.c
@@ -398,7 +398,8 @@ eo_bind_func_generate(const Eolian_Class *class, const 
Eolian_Function *funcid,
                     {
                       promise_value_type = eolian_type_c_type_get(subtype);
                       is_pointer_promise = eolian_type_type_get(subtype) == 
EOLIAN_TYPE_POINTER
-                        || eolian_type_type_get(subtype) == 
EOLIAN_TYPE_COMPLEX;
+                        || eolian_type_type_get(subtype) == EOLIAN_TYPE_COMPLEX
+                        || eolian_type_type_get(subtype) == EOLIAN_TYPE_CLASS;
                     }
                   eina_strbuf_append_printf(impl_full_params, ", 
Eina_Promise_Owner *%s%s",
                          pname, is_empty && !dflt_value ?" EINA_UNUSED":"");

-- 


Reply via email to