[libvirt] [PATCH 1/3] Add parsing for VIR_ENUM_IMPL & VIR_ENUM_DECL in apibuild.py
Eric Blake
eblake at redhat.com
Wed May 16 22:47:26 UTC 2012
On 05/15/2012 05:30 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> The apibuild.py parser needs to be able to parse & ignore
> any VIR_ENUM_IMPL/VIR_ENUM_DECL macros in the source. Add
> some special case code to deal with this rather than trying
> to figure out a generic syntax for parsing macros.
>
> * apibuild.py: Special case VIR_ENUM_IMPL & VIR_ENUM_DECL
> ---
> docs/apibuild.py | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 112 insertions(+)
I'm no python guru, but a compile smoke-test of this patch passed.
weak ACK
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120516/2be3f53f/attachment-0001.sig>
More information about the libvir-list
mailing list