On Mon, 08 Feb 2010, [email protected] wrote: Hi Viktor,
> * HB_UCHAR is now a synonym for HB_BYTE. It's now also legacy. > * HB_SCHAR is now a synonym for HB_CHAR. It's now also legacy. > ; TODO: Replace all HB_SCHAR with HB_CHAR and HB_UCHAR with HB_BYTE, > and move the old types to compatibility status. Code readability is also important and for people working with platforms where 'char' is always unsigned using HB_CHAR as synonym of 'signed char' will be seriously confusing so in my opinion it's bad idea. HB_CHAR should be synonym of 'char' without any fixed 'signed' or 'unsigned' definition. Otherwise we will have to make explicit casting between 'HB_CHAR *' types and 'char *' types, i.e. when we are calling OS functions. best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
