summaryrefslogtreecommitdiffstats
path: root/generator.py
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2011-05-29 18:24:20 +0800
committerDaniel Veillard <veillard@redhat.com>2011-05-29 18:24:20 +0800
commitf173e5c0886e35ab140404baf570f18f1a2b724f (patch)
treeb5ca758036032519ea9b6567a2ea7745875ac3cd /generator.py
parentebf5ee12d15857363bcfde7fed25aa7fe8334d79 (diff)
downloadlibvirt-python-split-f173e5c0886e35ab140404baf570f18f1a2b724f.tar.gz
libvirt-python-split-f173e5c0886e35ab140404baf570f18f1a2b724f.tar.xz
libvirt-python-split-f173e5c0886e35ab140404baf570f18f1a2b724f.zip
libvirt.h: avoid regression, and document preferred name
Commit 824dcaff was a regression (thankfully unreleased) for any client code that used 'struct _virSchedParameter' directly rather than the preferred virSchedParameter typedef. Adding a #define avoids even that API change, while rearranging the file makes it clear what the old vs. new API is. * include/libvirt/libvirt.h.in: Rearrange older names to the bottom and improve documentation on preferred names. (virDomainGetSchedulerParameters, virDomainSetSchedulerParameters) (virDomainSetSchedulerParametersFlags) (virDomainSetBlkioParameters, virDomainGetBlkioParameters) (virDomainSetMemoryParameters, virDomainGetMemoryParameters): Use newer type names. * python/libvirt-override.c: Adjust code generation to cope. Suggested by Daniel P. Berrange.
Diffstat (limited to 'generator.py')
0 files changed, 0 insertions, 0 deletions