Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsUrlClassifierUtils.cpp File Reference
#include "nsEscape.h"
#include "nsString.h"
#include "nsUrlClassifierUtils.h"

Go to the source code of this file.

Functions

static char int_to_hex_digit (PRInt32 i)

Function Documentation

static char int_to_hex_digit ( PRInt32  i) [static]

Definition at line 41 of file nsUrlClassifierUtils.cpp.

{
  NS_ASSERTION((i >= 0) && (i <= 15), "int too big in int_to_hex_digit");
  return NS_STATIC_CAST(char, ((i < 10) ? (i + '0') : ((i - 10) + 'A')));
}

Here is the caller graph for this function: