diff options
Diffstat (limited to '')
-rw-r--r-- | src/bin/eolian/eo1_generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/eolian/eo1_generator.c b/src/bin/eolian/eo1_generator.c index 0b02d5b758..7ca7628411 100644 --- a/src/bin/eolian/eo1_generator.c +++ b/src/bin/eolian/eo1_generator.c | |||
@@ -431,7 +431,7 @@ eo1_bind_func_generate(const char *classname, Eolian_Function funcid, Eolian_Fun | |||
431 | ret_const?"const ":"", | 431 | ret_const?"const ":"", |
432 | rettype, had_star?"":" "); | 432 | rettype, had_star?"":" "); |
433 | Eina_Strbuf *ret_param = eina_strbuf_new(); | 433 | Eina_Strbuf *ret_param = eina_strbuf_new(); |
434 | if (rettype) eina_strbuf_append_printf(ret_param, "%s _%s = ", rettype, retname); | 434 | if (rettype) eina_strbuf_append_printf(ret_param, "%s%s%s_%s = ", ret_const?"const ":"", rettype, had_star?"":" ", retname); |
435 | eina_strbuf_replace_all(fbody, "@#ret_param", eina_strbuf_string_get(ret_param)); | 435 | eina_strbuf_replace_all(fbody, "@#ret_param", eina_strbuf_string_get(ret_param)); |
436 | sprintf(tmpstr, "%s%s", ret_const?"const ":"", rettype); | 436 | sprintf(tmpstr, "%s%s", ret_const?"const ":"", rettype); |
437 | eina_strbuf_replace_all(fbody, "@#ret_type", tmpstr); | 437 | eina_strbuf_replace_all(fbody, "@#ret_type", tmpstr); |