summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-06-30 23:21:36 +0100
committerDaniel Kolesa <d.kolesa@samsung.com>2014-06-30 23:21:36 +0100
commite5e6d8f1f2824a469a9c0b88a322108218861fc9 (patch)
tree3fa90f807fd4845d1bf8604ff0f3fbaee447c6c3 /src/lib
parent8d0649ef0bf48716f404428bd88ea74d96228ccc (diff)
eolian: also allow void in @out params
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);