Created
          December 18, 2014 05:58 
        
      - 
      
- 
        Save zenubis/fadb1692ce6676b0add8 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #define BIT_SET(variable, flag) (variable) |= (flag) | |
| #define BIT_TEST(variable, flag) (((variable) & (flag)) == (flag)) | |
| #define BIT_REMOVE(variable, flag) ((variable &= ~(flag))) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment