]> git.ipfire.org Git - thirdparty/libvirt.git/commit
apibuild: Generate macro/@string attribute
authorJiri Denemark <jdenemar@redhat.com>
Fri, 5 Jun 2015 09:48:59 +0000 (11:48 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 11 Jun 2015 11:52:52 +0000 (13:52 +0200)
commitb6a2639bd22671c44d6e3e0ca8c73b3b637d9e12
treedd562135bfd3e623876410e699b5061f9102123b
parentee3b344d601c74f4ab1d2938ecfd6b02a5f307c0
apibuild: Generate macro/@string attribute

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@redhat.com>
docs/apibuild.py