savio pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=721d8ca144688ac9d2521e73e0fa0a68e575e699

commit 721d8ca144688ac9d2521e73e0fa0a68e575e699
Author: Savio Sena <sa...@expertisesolutions.com.br>
Date:   Mon Jul 21 22:56:31 2014 -0300

    eolian-cxx: Oops. Fixing function_return_is_explicit_void the right way.
---
 src/bin/eolian_cxx/eolian_wrappers.hh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/bin/eolian_cxx/eolian_wrappers.hh 
b/src/bin/eolian_cxx/eolian_wrappers.hh
index f956650..db1bdaa 100644
--- a/src/bin/eolian_cxx/eolian_wrappers.hh
+++ b/src/bin/eolian_cxx/eolian_wrappers.hh
@@ -213,8 +213,9 @@ function_return_is_explicit_void(Eolian_Function const& 
func, getter_t func_type
    // XXX This function shouldn't be necessary. Eolian database should
    //     forge functions as desired and the bindings generator shouldn't
    //     be required to convert and understand this.
-   Eolian_Type const* type = ::eolian_function_return_type_get(&func, 
func_type.value);
-   return !!type && safe_str(type->name) == "void";
+   Eolian_Type const* type =
+     ::eolian_function_return_type_get(&func, func_type.value);
+   return !!type && type->type == EOLIAN_TYPE_VOID;
 }
 
 inline bool

-- 


Reply via email to