add comment.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32154 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2011-02-13 20:01:46 +00:00
parent 0164a4ce6d
commit 1c717bfa3d

View file

@ -121,6 +121,11 @@ static NSLock *placeholderLock;
static SEL cMemberSel = 0;
/* Macro to return the receiver if it is already immutable, but an
* autoreleased copy otherwise. Used where we have to return an
* immutable string, but we don't want to change the parameter from
* a mutable string to an immutable one.
*/
#define IMMUTABLE(S) AUTORELEASE([(S) copyWithZone: NSDefaultMallocZone()])
#define IS_BIT_SET(a,i) ((((a) & (1<<(i)))) > 0)