[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SCM_ASSERT_TYPE
From: |
Han-Wen Nienhuys |
Subject: |
Re: SCM_ASSERT_TYPE |
Date: |
Thu, 3 Jul 2003 01:01:56 +0200 |
address@hidden writes:
> Han-Wen Nienhuys <address@hidden> writes:
> >
> > I've fixed this by adding else to the macro, i.e.
>
> The usual style is "do { ... } while (0)", which has the advantage of
> giving an error if one forgets the terminating ";" when using it. See
> SCM_ASYNC_TICK for instance.
Yes, you're right. Changed it.
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen