mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
friend declarations need the same declspec on windows, so to avoid complexity just make the semi-private data public
This commit is contained in:
parent
527b125ab9
commit
10a6c9e4c4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user