Re: g_assert vs. g_return_if_fail

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

 



But shouldn't the function return GError in such a case?

g_return_if_fail is like retunring an error without the ability to
handle it. I'm still not sure when to use it.

I assume g_assert is only useful in programs and internal library
functions.


Am Donnerstag, den 21.01.2010, 00:41 +0300 schrieb LRN:
> nd, AFAIK, it also logs warnings.

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux