diff options
Diffstat (limited to 'target/avr/cpu-qom.h')
-rw-r--r-- | target/avr/cpu-qom.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/target/avr/cpu-qom.h b/target/avr/cpu-qom.h index fac8430..1bbfbb2 100644 --- a/target/avr/cpu-qom.h +++ b/target/avr/cpu-qom.h @@ -28,12 +28,8 @@ typedef struct AVRCPU AVRCPU; typedef struct AVRCPUClass AVRCPUClass; -#define AVR_CPU_CLASS(klass) \ - OBJECT_CLASS_CHECK(AVRCPUClass, (klass), TYPE_AVR_CPU) -#define AVR_CPU(obj) \ - OBJECT_CHECK(AVRCPU, (obj), TYPE_AVR_CPU) -#define AVR_CPU_GET_CLASS(obj) \ - OBJECT_GET_CLASS(AVRCPUClass, (obj), TYPE_AVR_CPU) +DECLARE_OBJ_CHECKERS(AVRCPU, AVRCPUClass, + AVR_CPU, TYPE_AVR_CPU) /** * AVRCPUClass: |