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 03:51:26PM -0400, Charles Wilson wrote:
>Having said all that, I really don't care one way or the other. We have
>three possibilities:
>
>1) current iteration (BOOL in cygwin_internal coerced to bool for static
>function exit_process)
>2) use bool throughout exceptions.cc, and expect caller to use C++ bool,
>C99 bool, or stdbool.h bool.

Since, as you say, we use DWORD in other places, I'm going to opt for
what I originally proposed.  Change BOOL to bool since there is no reason
to use the Windows API BOOL type.  Do that everywhere in your change that
it makes sense.  Leave the UINT alone.

cgf


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