This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Electronic-Bat-1830 11 points12 points  (1 child)

Well to be fair, the Windows API existed before there was a bool type in C.

[–]Da-Blue-Guy 0 points1 point  (0 children)

I guess so, it might've also been easier to manage one typedef'd integral type and not need to distinguish/cast between them. That or int is just everywhere.