This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add wrappers for ExitProcess, TerminateProcess


On Tue, Oct 06, 2009 at 05:01:46PM -0400, Charles Wilson wrote:
>So, to avoid requiring #include <windows.h>, I guess the next best thing
>is option #3, right?
>
>> 3) use bool in static function exit_process, use unsigned long in
>> cygwin_internal and callers.

Actually, I'd just use int for the external "bool" field and bool
internally.  I was proposing unsigned long for the UINT field but I've
given up on that.

(I can't believe that I'm having an anal bool discussion in a cygwin list
after heroically avoiding it at my real job for months)

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]