summaryrefslogtreecommitdiff
path: root/src/bin/eolian_cxx/eolian_wrappers.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/eolian_cxx/eolian_wrappers.hh')
-rw-r--r--src/bin/eolian_cxx/eolian_wrappers.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/eolian_cxx/eolian_wrappers.hh b/src/bin/eolian_cxx/eolian_wrappers.hh
index 3dcb5e3c6b..d56379393f 100644
--- a/src/bin/eolian_cxx/eolian_wrappers.hh
+++ b/src/bin/eolian_cxx/eolian_wrappers.hh
@@ -348,7 +348,9 @@ parameter_type(Eolian_Function_Parameter const& parameter,
348 assert(!type.empty()); 348 assert(!type.empty());
349 if (parameter_is_out(parameter)) 349 if (parameter_is_out(parameter))
350 { 350 {
351 type = { efl::eolian::type_to_native(type) }; 351 if (type.front().native == "char *")
352 type = { efl::eolian::type_to_native(type) };
353 type.front().is_out = true;
352 type.front().native += "*"; 354 type.front().native += "*";
353 } 355 }
354 if (parameter_is_const(parameter, func_type)) 356 if (parameter_is_const(parameter, func_type))