mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
The Great Embooleanating
A large number of functions had return values and/or arguments changed to use ``bool`` types instead of ``int``.
This commit is contained in:
parent
3c470ffe13
commit
fd5e15b116
145 changed files with 1288 additions and 1331 deletions
|
@ -20,7 +20,7 @@ public:
|
|||
|
||||
void ConvertCCL(CCL* ccl);
|
||||
|
||||
int IsRep(int sym) const { return rep[sym] == sym; }
|
||||
bool IsRep(int sym) const { return rep[sym] == sym; }
|
||||
int EquivRep(int sym) const { return rep[sym]; }
|
||||
int SymEquivClass(int sym) const { return equiv_class[sym]; }
|
||||
int* EquivClasses() const { return equiv_class; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue