]> git.proxmox.com Git - qemu.git/commit - qobject.h
QObject: Accept NULL
authorLuiz Capitulino <lcapitulino@redhat.com>
Wed, 7 Oct 2009 16:41:47 +0000 (13:41 -0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 9 Oct 2009 02:17:17 +0000 (21:17 -0500)
commitd559ba1af286bba5974ca3ee7eb27f942ca55f52
tree73d9c53692a96ecc40490684d0e62c96d14171f7
parentc62c4551b85f08ec56d7a5c77c465f8e8e91c642
QObject: Accept NULL

It is convenient that QDECREF() and QINCREF() accept the QObject
parameter to be NULL, so that we don't duplicate 'if' tests in
the callers.

Patchworks-ID: 35332
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qobject.h