diff options
author | Eric Blake <eblake@redhat.com> | 2011-05-29 18:24:20 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2011-05-29 18:24:20 +0800 |
commit | f173e5c0886e35ab140404baf570f18f1a2b724f (patch) | |
tree | b5ca758036032519ea9b6567a2ea7745875ac3cd /generator.py | |
parent | ebf5ee12d15857363bcfde7fed25aa7fe8334d79 (diff) | |
download | libvirt-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