mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 13:09:22 +00:00
Start using bool.
This commit is contained in:
@@ -46,8 +46,9 @@ public:
|
||||
/* Resets all bits to zero. */
|
||||
void clear ();
|
||||
|
||||
/* Sets the specified bit to one. Returns its previous value (0 or 1). */
|
||||
int set_bit (unsigned int index);
|
||||
/* Sets the specified bit to true.
|
||||
Returns its previous value (false or true). */
|
||||
bool set_bit (unsigned int index);
|
||||
|
||||
private:
|
||||
/* Size of array. */
|
||||
|
||||
Reference in New Issue
Block a user