4 * Copyright (C) 2015 Red Hat, Inc.
7 * Markus Armbruster <armbru@redhat.com>
9 * This work is licensed under the terms of the GNU LGPL, version 2.1
10 * or later. See the COPYING.LIB file in the top-level directory.
16 #include "qapi/qmp/qobject.h"
19 struct QObjectBase_ base
;
24 static inline QNull
*qnull(void)
26 return qobject_ref(&qnull_
);
29 void qnull_unref(QNull
*q
);
31 G_DEFINE_AUTOPTR_CLEANUP_FUNC(QNull
, qnull_unref
)