forked from enlightenment/efl
eolian/generator: use a temporary variable for return in legacy impls
This is so that portability updates to eo_do can be done.
This commit is contained in:
parent
e5eea68ead
commit
5288b73d5c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue