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


Christopher Faylor wrote:
> 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.

Oh, ok. I'm sorry; I misread that.  Sure, int is fine. I'll do that,
check that it actually builds and works (!), and check it in.  Thanks.

> (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)

Hah!  Resistance is futile!  You can run but you can't hide! <Insert
other hackneyed catch phrase here>!

--
Chuck


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