summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/eolian_cxx/eolian_wrappers.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/eolian_cxx/eolian_wrappers.hh b/src/bin/eolian_cxx/eolian_wrappers.hh
index f956650c8d..db1bdaabc6 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
213 // XXX This function shouldn't be necessary. Eolian database should 213 // XXX This function shouldn't be necessary. Eolian database should
214 // forge functions as desired and the bindings generator shouldn't 214 // forge functions as desired and the bindings generator shouldn't
215 // be required to convert and understand this. 215 // be required to convert and understand this.
216 Eolian_Type const* type = ::eolian_function_return_type_get(&func, func_type.value); 216 Eolian_Type const* type =
217 return !!type && safe_str(type->name) == "void"; 217 ::eolian_function_return_type_get(&func, func_type.value);
218 return !!type && type->type == EOLIAN_TYPE_VOID;
218} 219}
219 220
220inline bool 221inline bool