]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qom: Correct object_class_dynamic_cast_assert() documentation
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 16 Sep 2020 19:30:59 +0000 (15:30 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 18 Sep 2020 17:49:48 +0000 (13:49 -0400)
object_class_dynamic_cast_assert() is not used by
INTERFACE_CHECK, remove misleading mention of that function in
the documentation.

Message-Id: <20200916193101.511600-2-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/qom/object.h

index 056f67ab3bbde4d2cfb00b6f56f03912f6a6da20..6c0d424b51fa6c0d8b4a5d31a472895738b0e6f0 100644 (file)
@@ -1257,7 +1257,7 @@ type_init(do_qemu_init_ ## type_array)
  * of this function.  The only difference in behavior is that this function
  * asserts instead of returning #NULL on failure if QOM cast debugging is
  * enabled.  This function is not meant to be called directly, but only through
- * the wrapper macros OBJECT_CLASS_CHECK and INTERFACE_CHECK.
+ * the wrapper macro OBJECT_CLASS_CHECK.
  */
 ObjectClass *object_class_dynamic_cast_assert(ObjectClass *klass,
                                               const char *typename,