On Thu Oct 12 04:24:03 2023 +0000, Zebediah Figura wrote:
bool is more explicit, it's standard C, and it may also be nicer to the compiler. [Also, you can do things like assign to bool and get an implicit !!, although the value of that is a bit dubious]. For these reasons I've been incrementally adopting it elsewhere. I'm happy to remove it if it's a sticking point, though.
This seems unrelated and I don't see any plan to globally change this, so I'd prefer to leave it out until then, as it otherwise only makes the code more inconsistent.
Regarding such a plan, as many of the Win32 API functions we implement use BOOL, I think using `bool` for internal functions may make things inconsistent too, and the eventual advantages don't seem really worth it.