Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan

This commit is contained in:
Arpad Borsos
2008-10-10 17:04:34 +02:00
parent fd920902d9
commit 1b55360c07
259 changed files with 850 additions and 871 deletions

View File

@@ -47,13 +47,13 @@ typedef nsTArray< nsRefPtr<nsThread> > nsThreadArray;
//-----------------------------------------------------------------------------
PR_STATIC_CALLBACK(void)
static void
ReleaseObject(void *data)
{
static_cast<nsISupports *>(data)->Release();
}
PR_STATIC_CALLBACK(PLDHashOperator)
static PLDHashOperator
AppendAndRemoveThread(const void *key, nsRefPtr<nsThread> &thread, void *arg)
{
nsThreadArray *threads = static_cast<nsThreadArray *>(arg);