]> xenbits.xensource.com Git - libvirt.git/commit
scripts: apibuild: parse 'Since' for macros
authorVictor Toso <victortoso@redhat.com>
Fri, 22 Apr 2022 19:23:41 +0000 (21:23 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 26 Apr 2022 15:54:27 +0000 (17:54 +0200)
commitb7472a1d79025473b9f15b4cf27e56113aae3eb1
tree67aac952ad09fdc5c75f94a3ffa382f71338b0f6
parent8be766e39c6509cc24731b1b757439e58a6248e0
scripts: apibuild: parse 'Since' for macros

This patch adds 'version' parameter to the generated XML API for
macros

It'll require, for new additions, to add a comment with the version
that the macro was added. An example bellow of code diff and
the change in the generated XML.

Note that the Since tag is removed from the comment as there is a
proper field for it in the XML.

Signed-off-by: Victor Toso <victortoso@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
scripts/apibuild.py