]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix handling of whitespae in preprocessor macros for API generator
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 4 Dec 2014 12:06:32 +0000 (12:06 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 4 Dec 2014 15:00:30 +0000 (15:00 +0000)
commit64702ac367b70da6bee4ee78f8173e18c6607e7e
tree90c3fd740b5b8ec0ae52410c17ac2006ab21f6ae
parent3ecebf07110ca8d3413072557f29137943e848e3
Fix handling of whitespae in preprocessor macros for API generator

The apibuild.py script did not handle whitespace in preprocessor
macros, so it failed to detect constants declared with '# define'
instead of '#define'. Since we now correctly indent our public
header files, we have silently lost all constants from
libvirt-api.xml. This also caused us to not detect formatting
errors in constant docs
docs/apibuild.py
include/libvirt/libvirt-host.h