Index: [thread] [date] [subject] [author]
  From: Marcus Sundberg <mackan@stacken.kth.se>
  To  : ggi-develop@eskimo.com
  Date: Wed, 26 Aug 1998 00:49:49 +0200

Re: New debugging macros in libggi

Steve Cheng wrote:
> 
> On Mon, 24 Aug 1998, Marcus Sundberg wrote:
> 
> > Hi!
> >
> > I've added two new debugging macros to libggi:
> > LIBGGI_ASSERT(x,str) and LIBGGI_APPASSERT(x,str)
> 
> I've just noticed, the macros are inversed. I.e.
> 
> assert(3) aborts program if false.
> LIBGGI_ASSERT aborts program if true.
> 
> To me, the second sense is more logical since we're checking whether there
> are errors, but inconsistent.  Just an interesting point...

Hmm, you might be right about that. Should I change them to
LIBGGI_IFERR and LIBGGI_APPIFERR ? Or does anyone have a better
name?

//Marcus
-- 
-------------------------------+------------------------------------
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: mackan@stacken.kth.se

Index: [thread] [date] [subject] [author]