Re: let g_warn_if_fail replace g_assert



Il giorno mer, 17/10/2007 alle 11.56 +0200, Tim Janik ha scritto:
> - add g_warn_if_fail (condition); which produces a critical
>    warning about failing assertions but contrary to g_assert
>    returns.

If it's called g_warn_if_fail() I would expect a g_warning() not a
g_critical().

-- 
Marco Barisione
http://www.barisione.org/



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