diff options
author | Victor Toso <victortoso@redhat.com> | 2022-04-20 21:08:07 +0200 |
---|---|---|
committer | Peter Krempa <pkrempa@redhat.com> | 2022-04-22 10:04:18 +0200 |
commit | 02411a4597535633b7375804ed2b27d184b00d56 (patch) | |
tree | 071f7dc7cb929214587aa734e51ed1c30ceaa2b4 | |
parent | 4b120e51f15c0bc65abc6feeecc35625217da305 (diff) | |
download | libvirt-02411a4597535633b7375804ed2b27d184b00d56.tar.gz |
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 <victortoso@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
-rw-r--r-- | include/libvirt/libvirt-storage.h | 7 |
1 files changed, 2 insertions, 5 deletions
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; /** |