q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5288b73d5ce10fb433131b2f8ffcfb312d7df942

commit 5288b73d5ce10fb433131b2f8ffcfb312d7df942
Author: Daniel Kolesa <d.kol...@samsung.com>
Date:   Mon Feb 23 15:30:15 2015 +0000

    eolian/generator: use a temporary variable for return in legacy impls
    
    This is so that portability updates to eo_do can be done.
---
 src/bin/eolian/legacy_generator.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/eolian/legacy_generator.c 
b/src/bin/eolian/legacy_generator.c
index 5b5a072..dc705bf 100644
--- a/src/bin/eolian/legacy_generator.c
+++ b/src/bin/eolian/legacy_generator.c
@@ -30,7 +30,9 @@ tmpl_eapi_body[] ="\
 EAPI @#ret_type\n\
 @#eapi_func(@#full_params)\n\
 {\n\
-   return eo_do(@#eo_obj, @#eo_func(@#eo_params));\n\
+   @#ret_type ret;\n\
+   eo_do(@#eo_obj, ret = @#eo_func(@#eo_params));\n\
+   return ret;\n\
 }\n\
 ";
 static const char

-- 


Reply via email to