BOOL vs. bool [was Re: svn commit: samba r25126]

simo idra at samba.org
Thu Sep 13 15:52:57 GMT 2007


On Thu, 2007-09-13 at 10:11 -0500, Gerald (Jerry) Carter wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> metze at samba.org wrote:
> > Author: metze
> > Date: 2007-09-13 12:27:10 +0000 (Thu, 13 Sep 2007)
> > New Revision: 25126
> > 
> > WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25126
> > 
> > Log:
> > create prototypes for 'bool ' functions
> 
> Does anyone else think we need to simply consolidate on
> either BOOL or bool ?  Same for uint[8|16|32][_t] ?
> And document the convention in the README.Coding?

I vote for:
BOOL -> bool
False ->false
True -> true
and uint??_t

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-technical mailing list