Changeset 238 for trunk/archive/pslib/include/psBitMask.h
- Timestamp:
- Mar 12, 2004, 5:38:26 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psBitMask.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psBitMask.h
r213 r238 1 # if !defined (PS_BIT_MASK_H)2 # define PS_BIT_MASK_H1 # if !defined (PS_BIT_MASK_H) 2 # define PS_BIT_MASK_H 3 3 4 4 /** A bitmask of arbitrary length. */ … … 20 20 /** Set a bit mask */ 21 21 psBitMask * 22 ps SetBitMask(psBitMask *outMask, //!< Output bit mask or NULL22 psBitMaskSet(psBitMask *outMask, //!< Output bit mask or NULL 23 23 const psBitMask *myMask, //!< Input bit mask 24 24 int bit //!< Bit to set … … 27 27 /** Check a bit mask. Returns true or false */ 28 28 int 29 ps CheckBitMask(const psBitMask *checkMask, //!< Bit mask to check30 int bit //!< Bit to check29 psBitMaskTest(const psBitMask *checkMask, //!< Bit mask to check 30 int bit //!< Bit to check 31 31 ); 32 32 33 /** ORtwo bit masks */33 /** apply the given operator to two bit masks */ 34 34 psBitMask * 35 psOrBitMasks(psBitMask *outMask, //!< Output bit mask or NULL 36 const psBitMask *restrict inMask1, //!< Input bit mask 1 37 const psBitMask *restrict inMask2 //!< Input bit mask 2 35 psBitMaskOp(psBitMask *outMask, //!< Output bit mask or NULL 36 const psBitMask *restrict inMask1, //!< Input bit mask 1 37 char *operator, ///< bit mask operator (AND, OR, XOR) 38 const psBitMask *restrict inMask2 //!< Input bit mask 2 38 39 ); 39 40 40 /** AND two bit masks */ 41 psBitMask * 42 psAndBitMasks(psBitMask *outMask, //!< Output bit mask or NULL 43 const psBitMask *restrict inMask1, //!< Input bit mask 1 44 const psBitMask *restrict inMask2 //!< Input bit mask 2 45 ); 46 47 #endif 41 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
