aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-09-16 15:30:59 -0400
committerEduardo Habkost <ehabkost@redhat.com>2020-09-18 13:49:48 -0400
commit04dcf4b5db98db8023f895e1f557baf45b34735d (patch)
treee4c37c607e328cded2f7a478e35322a02f57542c
parente38d3c5ce5f6e69cf0d87a484d556be0d737d83d (diff)
qom: Correct object_class_dynamic_cast_assert() documentation
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>
-rw-r--r--include/qom/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qom/object.h b/include/qom/object.h
index 056f67ab3b..6c0d424b51 100644
--- a/include/qom/object.h
+++ b/include/qom/object.h
@@ -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,