mirror of https://github.com/proxmox/mirror_qemu
qom: Fix DECLARE_*CHECKER documentation
Correct copy/paste mistake in the DECLARE_INSTANCE_CHECKER and DECLARE_CLASS_CHECKERS documentation. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20201003025424.199291-2-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>master
parent
4d9c7c8471
commit
d5b9959dd7
|
@ -170,7 +170,7 @@ struct Object
|
||||||
* Direct usage of this macro should be avoided, and the complete
|
* Direct usage of this macro should be avoided, and the complete
|
||||||
* OBJECT_DECLARE_TYPE macro is recommended instead.
|
* OBJECT_DECLARE_TYPE macro is recommended instead.
|
||||||
*
|
*
|
||||||
* This macro will provide the three standard type cast functions for a
|
* This macro will provide the instance type cast functions for a
|
||||||
* QOM type.
|
* QOM type.
|
||||||
*/
|
*/
|
||||||
#define DECLARE_INSTANCE_CHECKER(InstanceType, OBJ_NAME, TYPENAME) \
|
#define DECLARE_INSTANCE_CHECKER(InstanceType, OBJ_NAME, TYPENAME) \
|
||||||
|
@ -187,7 +187,7 @@ struct Object
|
||||||
* Direct usage of this macro should be avoided, and the complete
|
* Direct usage of this macro should be avoided, and the complete
|
||||||
* OBJECT_DECLARE_TYPE macro is recommended instead.
|
* OBJECT_DECLARE_TYPE macro is recommended instead.
|
||||||
*
|
*
|
||||||
* This macro will provide the three standard type cast functions for a
|
* This macro will provide the class type cast functions for a
|
||||||
* QOM type.
|
* QOM type.
|
||||||
*/
|
*/
|
||||||
#define DECLARE_CLASS_CHECKERS(ClassType, OBJ_NAME, TYPENAME) \
|
#define DECLARE_CLASS_CHECKERS(ClassType, OBJ_NAME, TYPENAME) \
|
||||||
|
|
Loading…
Reference in New Issue