Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan
This commit is contained in:
@@ -647,7 +647,7 @@ struct VoidArrayComparatorContext {
|
||||
void* mData;
|
||||
};
|
||||
|
||||
PR_STATIC_CALLBACK(int)
|
||||
static int
|
||||
VoidArrayComparator(const void* aElement1, const void* aElement2, void* aData)
|
||||
{
|
||||
VoidArrayComparatorContext* ctx = static_cast<VoidArrayComparatorContext*>(aData);
|
||||
@@ -861,7 +861,7 @@ nsStringArray::Clear(void)
|
||||
nsVoidArray::Clear();
|
||||
}
|
||||
|
||||
PR_STATIC_CALLBACK(int)
|
||||
static int
|
||||
CompareString(const nsString* aString1, const nsString* aString2, void*)
|
||||
{
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
@@ -1153,7 +1153,7 @@ nsCStringArray::Clear(void)
|
||||
nsVoidArray::Clear();
|
||||
}
|
||||
|
||||
PR_STATIC_CALLBACK(int)
|
||||
static int
|
||||
CompareCString(const nsCString* aCString1, const nsCString* aCString2, void*)
|
||||
{
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
@@ -1178,7 +1178,7 @@ CompareCString(const nsCString* aCString1, const nsCString* aCString2, void*)
|
||||
}
|
||||
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
PR_STATIC_CALLBACK(int)
|
||||
static int
|
||||
CompareCStringIgnoreCase(const nsCString* aCString1, const nsCString* aCString2, void*)
|
||||
{
|
||||
return Compare(*aCString1, *aCString2, nsCaseInsensitiveCStringComparator());
|
||||
|
||||
Reference in New Issue
Block a user