• E
    qapi: Share gen_err_check() · 1f353344
    Eric Blake 提交于
    qapi-commands has a nice helper gen_err_check(), but did not
    use it everywhere. In fact, using it in more places makes it
    easier to reduce the lines of code used for generating error
    checks.  This in turn will make it easier for later patches
    to consolidate another common pattern among the generators.
    
    The generated code has fewer blank lines in qapi-event.c functions,
    but has no semantic difference.
    Signed-off-by: NEric Blake <eblake@redhat.com>
    Message-Id: <1443565276-4535-16-git-send-email-eblake@redhat.com>
    [Drop another blank line for symmetry]
    Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
    1f353344
qapi.py 54.3 KB