Changeset 213
- Timestamp:
- Mar 10, 2004, 6:00:03 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psBitMask.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psBitMask.h
r153 r213 2 2 #define PS_BIT_MASK_H 3 3 4 /** Type for a big bitmask. Set to long int for now. */ 5 typedef long int psBitMask; 4 /** A bitmask of arbitrary length. */ 5 typedef struct { 6 int n; //!< Number of chars that form the mask 7 char *bits; //!< The bits 8 } psBitMask; 6 9 10 /** Constructor */ 11 psBitMask *psBitMaskAlloc(int n //!< Number of bits required 12 ); 13 14 /** Destructor */ 15 void psBitMaskFree(psBitMask *restrict myMask //!< Bit mask to destroy 16 ); 17 18 /************************************************************************************************************/ 7 19 8 20 /** Set a bit mask */ … … 33 45 ); 34 46 35 36 47 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
