Hi,
On 5 Mar 2013, at 01:46, Allen Fisher <
allen....@gmail.com> wrote:
> and during code review someone
> wondered if they should use booleans instead of ints.
WinSparkle is a C, not C++, header, and there was no such thing as "bool" in C until C99. Visual Studio is still not a C99 compiler, so it can't be used; BOOL would be more usable, but I'd rather not include windows.h just for that. Finally, the use of C and common types for the public API is for the purpose of easy use from other languages.
IOW, there would be considerable drawbacks to using anything other than int or some error code enum. And I don't think there would be any actual benefits, would there?
Regards,
Vaclav