[libvirt] c&p error in api doc
Daniel Veillard
veillard at redhat.com
Wed Jul 22 06:43:43 UTC 2009
On Tue, Jul 21, 2009 at 06:34:31PM +0200, Thomas Treutner wrote:
> On Tuesday 21 July 2009 18:23:16 Thomas Treutner wrote:
> > I think there's a c&p error:
> >
> > http://libvirt.org/html/libvirt-libvirt.html#virStoragePoolUndefine
> >
> > "Returns: a virStoragePoolPtr object, or NULL if creation failed"
> >
> > I assume it is "0 on success, -1 on failure" as the return is of type int.
>
> And a small follow-up:
>
> In libvirt-java, StoragePool::Undefine() has return type void. So I don't know
> what's really going on there ;-)
they are just forgetting the return value :-\
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list