summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/eolian/eo_parser.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/eolian/eo_parser.c b/src/lib/eolian/eo_parser.c
index 567eebf595..673b5166db 100644
--- a/src/lib/eolian/eo_parser.c
+++ b/src/lib/eolian/eo_parser.c
@@ -328,7 +328,10 @@ parse_param(Eo_Lexer *ls, Eina_Bool allow_inout)
328 else 328 else
329 par->way = PARAM_IN; 329 par->way = PARAM_IN;
330 } 330 }
331 par->type = parse_type(ls); 331 if (par->way == PARAM_OUT)
332 par->type = parse_type_void(ls);
333 else
334 par->type = parse_type(ls);
332 ls->tmp.type_def = NULL; 335 ls->tmp.type_def = NULL;
333 check(ls, TOK_VALUE); 336 check(ls, TOK_VALUE);
334 par->name = eina_stringshare_add(ls->t.value); 337 par->name = eina_stringshare_add(ls->t.value);