[libvirt] [PATCH 1/2] apibuild: Generate macro/@string attribute

Peter Krempa pkrempa at redhat.com
Thu Jun 11 09:03:25 UTC 2015


On Mon, Jun 08, 2015 at 11:34:35 +0200, Jiri Denemark wrote:
> If a macro has a string value, the @string attribute will contain the
> value. Otherwise @string attribute will be missing.
> 
> For example, the following macro definition from libvirt-domain.h:
> 
>  /**
>   * VIR_MIGRATE_PARAM_URI:
>   * ...
>   */
>  # define VIR_MIGRATE_PARAM_URI               "migrate_uri"
> 
> will result in
> 
>  <macro name='VIR_MIGRATE_PARAM_URI' file='libvirt-domain' string='migrate_uri'>
>    <info><![CDATA[...]]></info>
>  </macro>
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1229199
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  docs/apibuild.py | 47 ++++++++++++++++++++++++++++-------------------
>  1 file changed, 28 insertions(+), 19 deletions(-)
>

ACK,

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150611/ec18f36b/attachment-0001.sig>


More information about the libvir-list mailing list