mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
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:
parent
0164a4ce6d
commit
1c717bfa3d
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue