From 02411a4597535633b7375804ed2b27d184b00d56 Mon Sep 17 00:00:00 2001 From: Victor Toso Date: Wed, 20 Apr 2022 21:08:07 +0200 Subject: docstring: Fix generated documentation of virStorageVolInfoFlags The API xml description file generator doesn't properly handle cases when there's either a single comment or mixed use of pre- and post- comments explaining the values. Modify the comments to avoid the problem and also append version information for the exposed values. Signed-off-by: Victor Toso Reviewed-by: Peter Krempa --- include/libvirt/libvirt-storage.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/libvirt/libvirt-storage.h b/include/libvirt/libvirt-storage.h index b7a7a6c90c..dee8b7a2c0 100644 --- a/include/libvirt/libvirt-storage.h +++ b/include/libvirt/libvirt-storage.h @@ -240,11 +240,8 @@ typedef enum { * */ typedef enum { - VIR_STORAGE_VOL_USE_ALLOCATION = 0, - - /* Return the physical size in allocation */ - VIR_STORAGE_VOL_GET_PHYSICAL = 1 << 0, - + VIR_STORAGE_VOL_USE_ALLOCATION = 0, /* (Since: v3.0.0) */ + VIR_STORAGE_VOL_GET_PHYSICAL = 1 << 0, /* Return the physical size in allocation (Since: v3.0.0) */ } virStorageVolInfoFlags; /** -- cgit v1.2.1