diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/devel/qom.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/devel/qom.rst b/docs/devel/qom.rst index c923795..2828843 100644 --- a/docs/devel/qom.rst +++ b/docs/devel/qom.rst @@ -26,7 +26,7 @@ features: typedef DeviceClass MyDeviceClass; typedef struct MyDevice { - DeviceState parent; + DeviceState parent_obj; int reg0, reg1, reg2; } MyDevice; @@ -147,7 +147,7 @@ will also have a wrapper function to call it easily: typedef struct MyDeviceClass { - DeviceClass parent; + DeviceClass parent_class; void (*frobnicate) (MyDevice *obj); } MyDeviceClass; |