qapi/qlist: Add qlist_append_null() macro
authorMax Reitz <mreitz@redhat.com>
Tue, 14 Nov 2017 18:01:24 +0000 (19:01 +0100)
committerMax Reitz <mreitz@redhat.com>
Fri, 17 Nov 2017 17:21:30 +0000 (18:21 +0100)
commit254bf807e5354c7b424d6fc28cb17c4f9ba43e35
treea10103027809e070d2fe04d08b49be47bbeebff2
parent84be629d5545b5ccc5bff2824e4288677e27de9c
qapi/qlist: Add qlist_append_null() macro

Besides the macro itself, this patch also adds a corresponding
Coccinelle rule.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Message-id: 20171114180128.17076-3-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
include/qapi/qmp/qlist.h
scripts/coccinelle/qobject.cocci