mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
|
@ -117,7 +117,7 @@ public:
|
|||
void Drain();
|
||||
bool IsDraining() const { return draining; }
|
||||
|
||||
int HasEvents() const { return head != 0; }
|
||||
bool HasEvents() const { return head != 0; }
|
||||
|
||||
// Returns the source ID of last raised event.
|
||||
SourceID CurrentSource() const { return current_src; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue