Back to index

lightning-sunbird  0.9+nobinonly
Defines | Typedefs
nsLiteralString.h File Reference
#include "nscore.h"
#include "nsDependentString.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NS_LL(s)   s
#define NS_MULTILINE_LITERAL_STRING(s)   NS_ConvertASCIItoUTF16(s, PRUint32(sizeof(s)-1))
#define NS_MULTILINE_LITERAL_STRING_INIT(n, s)   n(s, PRUint32(sizeof(s)-1))
#define NS_NAMED_MULTILINE_LITERAL_STRING(n, s)   const NS_ConvertASCIItoUTF16 n(s, PRUint32(sizeof(s)-1))
#define NS_L(s)   NS_LL(s)
#define NS_LITERAL_STRING(s)   NS_STATIC_CAST(const nsAFlatString&, NS_MULTILINE_LITERAL_STRING(NS_LL(s)))
#define NS_LITERAL_STRING_INIT(n, s)   NS_MULTILINE_LITERAL_STRING_INIT(n, NS_LL(s))
#define NS_NAMED_LITERAL_STRING(n, s)   NS_NAMED_MULTILINE_LITERAL_STRING(n, NS_LL(s))
#define NS_LITERAL_CSTRING(s)   NS_STATIC_CAST(const nsDependentCString&, nsDependentCString(s, PRUint32(sizeof(s)-1)))
#define NS_LITERAL_CSTRING_INIT(n, s)   n(s, PRUint32(sizeof(s)-1))
#define NS_NAMED_LITERAL_CSTRING(n, s)   const nsDependentCString n(s, PRUint32(sizeof(s)-1))

Typedefs

typedef NS_ConvertASCIItoUTF16 nsLiteralString
typedef nsDependentCString nsLiteralCString

Define Documentation

#define NS_L (   s)    NS_LL(s)

Definition at line 104 of file nsLiteralString.h.

Definition at line 110 of file nsLiteralString.h.

#define NS_LITERAL_CSTRING_INIT (   n,
  s 
)    n(s, PRUint32(sizeof(s)-1))

Definition at line 111 of file nsLiteralString.h.

Definition at line 106 of file nsLiteralString.h.

Definition at line 107 of file nsLiteralString.h.

#define NS_LL (   s)    s

Definition at line 88 of file nsLiteralString.h.

Definition at line 89 of file nsLiteralString.h.

#define NS_MULTILINE_LITERAL_STRING_INIT (   n,
  s 
)    n(s, PRUint32(sizeof(s)-1))

Definition at line 90 of file nsLiteralString.h.

#define NS_NAMED_LITERAL_CSTRING (   n,
  s 
)    const nsDependentCString n(s, PRUint32(sizeof(s)-1))

Definition at line 112 of file nsLiteralString.h.

Definition at line 108 of file nsLiteralString.h.

Definition at line 91 of file nsLiteralString.h.


Typedef Documentation

Definition at line 114 of file nsLiteralString.h.

Definition at line 92 of file nsLiteralString.h.