qemu/include/qapi/qmp/qobject.h
/**
 * qobject_type(): Return the QObject's type
 */
Return the QObject's type
Return the QObject ' s type
static inline QType qobject_type(const QObject *obj)
{
    assert(QTYPE_NONE < obj->base.type && obj->base.type < QTYPE__MAX);
    return obj->base.type;
}
static inline QType qobject_type ( const QObject * obj ) { assert ( QTYPE_NONE < obj -> base . type && obj -> base . type < QTYPE__MAX ) ; return obj -> base . type ; }
qobject_type(): Return the QObject's type
qobject_type () : Return the QObject ' s type