qom: DECLARE_*_CHECKERS macros
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 31 Aug 2020 21:07:26 +0000 (17:07 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 8 Sep 2020 21:29:18 +0000 (17:29 -0400)
commit7808a28f228b0d91e65e6030aca1e7a0d6f62782
tree13542663e446763a1733c8e7092ab044d5437ac0
parent4a5f0545d2ccd8153a66086f17d0a70cd9c14014
qom: DECLARE_*_CHECKERS macros

Sometimes the typedefs are buried inside another header, but
we want to benefit from the automatic definition of type cast
functions.  Introduce macros that will let type checkers be
defined when typedefs are already available.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200831210740.126168-5-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/qom/object.h