Re: let g_warn_if_fail replace g_assert
- From: Marco Barisione <marco barisione org>
- To: gtk-devel-list gnome org
- Subject: Re: let g_warn_if_fail replace g_assert
- Date: Wed, 17 Oct 2007 15:18:18 +0200
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]