Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsErrorService.cpp File Reference
#include "nsErrorService.h"
#include "nsCRT.h"

Go to the source code of this file.

Functions

static void *PR_CALLBACK CloneCString (nsHashKey *aKey, void *aData, void *closure)
static PRBool PR_CALLBACK DeleteCString (nsHashKey *aKey, void *aData, void *closure)

Function Documentation

static void* PR_CALLBACK CloneCString ( nsHashKey *  aKey,
void aData,
void closure 
) [static]

Definition at line 42 of file nsErrorService.cpp.

{
  return nsCRT::strdup((const char*)aData);
}
static PRBool PR_CALLBACK DeleteCString ( nsHashKey *  aKey,
void aData,
void closure 
) [static]

Definition at line 48 of file nsErrorService.cpp.

{
  nsCRT::free((char*)aData);
  return PR_TRUE;
}