aboutsummaryrefslogtreecommitdiff
path: root/tests/check-qom-interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check-qom-interface.c')
-rw-r--r--tests/check-qom-interface.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/check-qom-interface.c b/tests/check-qom-interface.c
index bfa9ad5..c99be97 100644
--- a/tests/check-qom-interface.c
+++ b/tests/check-qom-interface.c
@@ -17,10 +17,8 @@
#define TYPE_TEST_IF "test-interface"
typedef struct TestIfClass TestIfClass;
-#define TEST_IF_CLASS(klass) \
- OBJECT_CLASS_CHECK(TestIfClass, (klass), TYPE_TEST_IF)
-#define TEST_IF_GET_CLASS(obj) \
- OBJECT_GET_CLASS(TestIfClass, (obj), TYPE_TEST_IF)
+DECLARE_CLASS_CHECKERS(TestIfClass, TEST_IF,
+ TYPE_TEST_IF)
#define TEST_IF(obj) \
INTERFACE_CHECK(TestIf, (obj), TYPE_TEST_IF)