diff options
author | Eric Blake <eblake@redhat.com> | 2013-10-07 13:18:56 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2013-10-14 14:34:37 -0600 |
commit | 90461df0cad131abf2abb8924360bab9dbc7f54b (patch) | |
tree | 5d706a6f3650c2d290cc2fbfdaaed7d5f49883b2 /Makefile.am | |
parent | bc116872291690bc18e475d51a65748122ddec44 (diff) | |
download | libvirt-python-v8-90461df0cad131abf2abb8924360bab9dbc7f54b.tar.gz libvirt-python-v8-90461df0cad131abf2abb8924360bab9dbc7f54b.tar.xz libvirt-python-v8-90461df0cad131abf2abb8924360bab9dbc7f54b.zip |
maint: avoid 'const fooPtr' in python bindings
'const fooPtr' is the same as 'foo * const' (the pointer won't
change, but it's contents can). But in general, if an interface
is trying to be const-correct, it should be using 'const foo *'
(the pointer is to data that can't be changed).
Fix up offenders in the python bindings.
* python/generator.py (py_types): Drop useless conversions.
* python/libvirt-override.c (getPyVirTypedParameter)
(setPyVirTypedParameter): Use intended type.
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions