Index:
[thread]
[date]
[subject]
[author]
From: Steve Cheng <elmert@ipoline.com>
To : ggi-develop@eskimo.com
Date: Tue, 25 Aug 1998 18:19:35 -0400 (EDT)
Re: New debugging macros in libggi
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...
--
Steve Cheng
email: steve@ggi-project.org
www: <http://shell.ipoline.com/~elmert/>
Index:
[thread]
[date]
[subject]
[author]