Re: [gtk-list] g_assert() is #*!(



On Sun, 11 May 1997, Tim Janik wrote:

> what about:
> 
> #define g_assert(expr) { \
>      if (!(expr))                                    \
>        g_error ("file %s: line %d (%s): \"%s\"",     \
>                 __FILE__,                            \
>                 __LINE__,                            \
>                 __PRETTY_FUNCTION__,                 \
>                 #expr); }
> 
> comments, suggestions, flames, comfort?

hm, ok, nothing then...

---
ciaoTJ

Tim.Janik@Hamburg.Netsurf.DE	[signature: <CENS||ED>]



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