mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-20 20:26:42 +00:00
Simplify ISSET macro
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20877 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
454bd36582
commit
9547275380
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
||||||
#ifndef SETBIT
|
#ifndef SETBIT
|
||||||
#define SETBIT(a,i) ((a) |= 1<<(i))
|
#define SETBIT(a,i) ((a) |= 1<<(i))
|
||||||
#define CLRBIT(a,i) ((a) &= ~(1<<(i)))
|
#define CLRBIT(a,i) ((a) &= ~(1<<(i)))
|
||||||
#define ISSET(a,i) (((((a) & (1<<(i)))) > 0) ? YES : NO)
|
#define ISSET(a,i) ((a) & (1<<(i)))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@class NSDataStatic;
|
@class NSDataStatic;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue