]> Git Repo - qemu.git/blob - include/qapi/qmp/qnull.h
hw/block/nvme: verify msix_init_exclusive_bar() return value
[qemu.git] / include / qapi / qmp / qnull.h
1 /*
2  * QNull
3  *
4  * Copyright (C) 2015 Red Hat, Inc.
5  *
6  * Authors:
7  *  Markus Armbruster <[email protected]>
8  *
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.
11  */
12
13 #ifndef QNULL_H
14 #define QNULL_H
15
16 #include "qapi/qmp/qobject.h"
17
18 struct QNull {
19     struct QObjectBase_ base;
20 };
21
22 extern QNull qnull_;
23
24 static inline QNull *qnull(void)
25 {
26     return qobject_ref(&qnull_);
27 }
28
29 bool qnull_is_equal(const QObject *x, const QObject *y);
30
31 #endif /* QNULL_H */
This page took 0.03049 seconds and 4 git commands to generate.