friend declarations need the same declspec on windows, so to avoid complexity just make the semi-private data public

This commit is contained in:
benjamin%smedbergs.us 2006-05-19 23:00:22 +00:00
parent 527b125ab9
commit 10a6c9e4c4

View File

@ -101,14 +101,9 @@ NS_strndup(const PRUnichar *aString, PRUint32 aLen);
// semi-private data declarations... don't use these directly.
class NS_COM_GLUE nsLowerUpperUtils {
private:
public:
static const unsigned char kLower2Upper[256];
static const unsigned char kUpper2Lower[256];
friend char NS_ToUpper(char);
friend char NS_ToLower(char);
friend PRBool NS_IsUpper(char);
friend PRBool NS_IsLower(char);
};
inline char NS_ToUpper(char aChar)