Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsP3PUtils.cpp File Reference
#include "nsP3PUtils.h"
#include "nsIDOMAttr.h"
#include "nsIDOMNamedNodeMap.h"
#include "nsIDOMNodeList.h"
#include "nsReadableUtils.h"

Go to the source code of this file.

Functions

static PRBool IsCharInSet (const char *aSet, const PRUnichar aChar)

Function Documentation

static PRBool IsCharInSet ( const char *  aSet,
const PRUnichar  aChar 
) [static]

Definition at line 82 of file nsP3PUtils.cpp.

{
  PRUnichar ch;
  while ((ch = *aSet)) {
    if (aChar == PRUnichar(ch)) {
      return PR_TRUE;
    }
    ++aSet;
  }
  return PR_FALSE;
}