X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=wrappergen%2Fwrite_fluffy.c;h=ddf940f0b9b4ec8419a387c4f3e297dd0fc33437;hb=6405da9f810302a2b2799968a5891184a8a578fa;hp=f3f752ff4e2fdb341d3c618c62f44c0e85953acc;hpb=25e87415eecbd8d7cd3811d745568e70cec17bf1;p=cparser diff --git a/wrappergen/write_fluffy.c b/wrappergen/write_fluffy.c index f3f752f..ddf940f 100644 --- a/wrappergen/write_fluffy.c +++ b/wrappergen/write_fluffy.c @@ -225,7 +225,7 @@ static void write_expression(const expression_t *expression) case EXPR_LITERAL_INTEGER: fprintf(out, "%s", expression->literal.value.begin); break; - EXPR_UNARY_CASES + case EXPR_UNARY_CASES: write_unary_expression((const unary_expression_t*) expression); break; default: @@ -297,7 +297,7 @@ static void write_function(const entity_t *entity) fprintf(out, ")"); const type_t *return_type = skip_typeref(function_type->return_type); - if(!is_type_atomic(return_type, ATOMIC_TYPE_VOID)) { + if (!is_type_void(return_type)) { fprintf(out, " : "); write_type(return_type); }