diff options
Diffstat (limited to 'qobject/qnull.c')
-rw-r--r-- | qobject/qnull.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/qobject/qnull.c b/qobject/qnull.c index 69a21d1..f6f55f1 100644 --- a/qobject/qnull.c +++ b/qobject/qnull.c @@ -12,7 +12,7 @@ #include "qemu/osdep.h" #include "qemu-common.h" -#include "qapi/qmp/qobject.h" +#include "qapi/qmp/qnull.h" QNull qnull_ = { .base = { @@ -20,3 +20,12 @@ QNull qnull_ = { .refcnt = 1, }, }; + +/** + * qnull_is_equal(): Always return true because any two QNull objects + * are equal. + */ +bool qnull_is_equal(const QObject *x, const QObject *y) +{ + return true; +} |