[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] c&p error in api doc



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 veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]