Re: [libvirt-glib PATCHv2] Fix *_new_from_xml

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

 



On Tue, Jul 24, 2012 at 12:24 PM, Daniel P. Berrange
<berrange@xxxxxxxxxx> wrote:
> Should we instead be using g_return_if_fail() so you get a dianostic,
> on the basis that this is programmer mistake ?

That was my feeling too. Although I think returning NULL is not a real
problem, especailly if the object implements GInitable.

-- 
Marc-André Lureau

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]