discuss-gnustep
[Top][All Lists]
Advanced

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

RE: Setter Gettor method style


From: Martin Häcker
Subject: RE: Setter Gettor method style
Date: Tue, 6 Aug 2002 01:27:52 +0200

This is not strictly speaking true; ({... }) is a gcc extension which
allows you to wrap a code fragment which returns a value, inside a C
expression.
do { ... } while (0) is not a C expression, it is a C statement,
so they are not equivalent.

Wow, thank you!

So the gcc extension is actually more 'secure' in this case. <g> Well, now I understand why it's used here. Thanks again!

cu Martin
--
dont.wanna.tell
[ot]coder - hehe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]