mirror of
				https://github.com/Ed94/gencpp.git
				synced 2025-10-31 06:50:53 -07:00 
			
		
		
		
	Separate ifndef for bitfield_is_set
This commit is contained in:
		| @@ -35,6 +35,9 @@ | ||||
|  | ||||
| #ifndef bit | ||||
| #define bit( Value )                         ( 1 << Value ) | ||||
| #endif | ||||
|  | ||||
| #ifndef bitfield_is_set | ||||
| #define bitfield_is_set( Type, Field, Mask ) ( (scast(Type, Mask) & scast(Type, Field)) == scast(Type, Mask) ) | ||||
| #endif | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user