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:
Tim Wojtulewicz 2020-03-11 10:41:46 -07:00 committed by Robin Sommer
parent 3c470ffe13
commit fd5e15b116
145 changed files with 1288 additions and 1331 deletions

View file

@ -41,7 +41,7 @@ static Val* parse_port(const char* line)
{
r->Assign(0, make_intrusive<AddrVal>(uint32_t(0)));
r->Assign(1, val_mgr->GetPort(0, TRANSPORT_TCP));
r->Assign(2, val_mgr->GetBool(0));
r->Assign(2, val_mgr->GetFalse());
}
return r;
@ -218,4 +218,3 @@ function fmt_ftp_port%(a: addr, p: port%): string
return val_mgr->GetEmptyString();
}
%}