Daniel Veillard wrote:
On Tue, Jun 26, 2007 at 11:09:21AM +0100, Richard W.M. Jones wrote:
> I haven't updated the Python bindings, but will do so next.
it's probable that those 2 calles will be handled automatically
since the arg is a known structure and the return value is a string.
It's a matter of rebuilding the API xml with the new headers once applied
and let the generator do its job.
Rather obscurely, docs/apibuild.py was having trouble parsing
remote_internal.c, which was causing the API XML files not to build,
which was causing the Python API not to build correctly either.
Attached patch corrects that, corrects a bug in python/Makefile.am
(libvirt.py not being rebuilt), and rearranges python/Makefile.am to
make it a bit easier to understand.
So now it does build Python bindings for getHostname and getURI.
Rich.
--
Emerging Technologies, Red Hat -
http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom. Registered in
England and Wales under Company Registration No. 03798903