
17 Apr
2006
17 Apr
'06
3:30 p.m.
bulia byak wrote:
On 4/17/06, Aaron Spike <aaron@...749...> wrote:
bulia byak wrote:
if (!dt) return;
Please contrast the above with "g_return_if_fail(!dt);".
If there's a difference in behavior, I don't know about it.
Well I think I have the condition flipped, but... :-)
I'm wondering if g_return_if_fail() should be avoided because it is a glib thing. Like I've been told to use regular bool rather than gboolean types. It doesn't seem to save any key strokes either.
Aaron Spike