On 6/16/05, Daniel Boelzle <[EMAIL PROTECTED]> wrote: > > Hello Kohei Yoshida, > > > 1) Is there any reason for using unsigned char to define sal_Bool, > > instead of built-in bool? > > This eases C++ <-> binary C UNO bridging, because sal_Bool is > platform-defined whereas C++ bool is compiler-dependent. > > > 2) Is there any danger in using just plain bool for boolean type? > > When calling C++-UNO interfaces, you can use C++ bool to pass in, > because it ought to implicitly convert to integers 0, 1, i.e. sal_False, > sal_True.
Hi Daniel, Thanks for clarifying this. Have a good day, Kohei -- Kohei Yoshida OpenOffice.org Calc contributor http://kohei.us/ooo/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
