Changeset 153 for trunk/archive/pslib/include/psBitMask.h
- Timestamp:
- Mar 9, 2004, 12:28:16 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psBitMask.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psBitMask.h
r149 r153 2 2 #define PS_BIT_MASK_H 3 3 4 /* Type for a big bitmask */ 5 /* Set to long int for now */ 4 /** Type for a big bitmask. Set to long int for now. */ 6 5 typedef long int psBitMask; 7 6 8 7 9 /* Set a bit mask */8 /** Set a bit mask */ 10 9 psBitMask * 11 psSetBitMask(psBitMask *outMask, // Output bit mask or NULL12 const psBitMask *myMask, // Input bit mask13 int bit // Bit to set10 psSetBitMask(psBitMask *outMask, //!< Output bit mask or NULL 11 const psBitMask *myMask, //!< Input bit mask 12 int bit //!< Bit to set 14 13 ); 15 14 16 /* Check a bit mask. Returns true or false */15 /** Check a bit mask. Returns true or false */ 17 16 int 18 psCheckBitMask(const psBitMask *checkMask, // Bit mask to check19 int bit // Bit to check17 psCheckBitMask(const psBitMask *checkMask, //!< Bit mask to check 18 int bit //!< Bit to check 20 19 ); 21 20 22 /* OR two bit masks */21 /** OR two bit masks */ 23 22 psBitMask * 24 psOrBitMasks(psBitMask *outMask, // Output bit mask or NULL25 const psBitMask *restrict inMask1, // Input bit mask 126 const psBitMask *restrict inMask2 // Input bit mask 223 psOrBitMasks(psBitMask *outMask, //!< Output bit mask or NULL 24 const psBitMask *restrict inMask1, //!< Input bit mask 1 25 const psBitMask *restrict inMask2 //!< Input bit mask 2 27 26 ); 28 27 29 /* AND two bit masks */28 /** AND two bit masks */ 30 29 psBitMask * 31 psAndBitMasks(psBitMask *outMask, // Output bit mask or NULL32 const psBitMask *restrict inMask1, // Input bit mask 133 const psBitMask *restrict inMask2 // Input bit mask 230 psAndBitMasks(psBitMask *outMask, //!< Output bit mask or NULL 31 const psBitMask *restrict inMask1, //!< Input bit mask 1 32 const psBitMask *restrict inMask2 //!< Input bit mask 2 34 33 ); 35 34
Note:
See TracChangeset
for help on using the changeset viewer.
