diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/qom/object.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/qom/object.h b/include/qom/object.h index 99de539e7c..2f8ac47c7c 100644 --- a/include/qom/object.h +++ b/include/qom/object.h @@ -1607,5 +1607,11 @@ int object_child_foreach_recursive(Object *obj, */ Object *container_get(Object *root, const char *path); - +/** + * object_type_get_instance_size: + * @typename: Name of the Type whose instance_size is required + * + * Returns the instance_size of the given @typename. + */ +size_t object_type_get_instance_size(const char *typename); #endif |