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>
This commit is contained in:
Victor Toso 2022-04-20 21:08:07 +02:00 committed by Peter Krempa
parent 4b120e51f1
commit 02411a4597

View File

@ -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;
/**