Back to index

lightning-sunbird  0.9+nobinonly
Defines
gbku.h File Reference
#include "nsGBKConvUtil.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define UCS2_NO_MAPPING   ((PRUnichar) 0xfffd)
#define UINT8_IN_RANGE(a, b, c)   (((PRUint8)(a) <= (PRUint8)(b))&&((PRUint8)(b) <= (PRUint8)(c)))
#define UNICHAR_IN_RANGE(a, b, c)   (((PRUnichar)(a) <= (PRUnichar)(b))&&((PRUnichar)(b) <= (PRUnichar)(c)))
#define CAST_CHAR_TO_UNICHAR(a)   ((PRUnichar)((unsigned char)(a)))
#define CAST_UNICHAR_TO_CHAR(a)   ((char)a)
#define IS_ASCII(a)   (0==(0xff80 & (a)))
#define IS_GBK_EURO(c)   ((char)0x80 == (c))
#define UCS2_EURO   ((PRUnichar) 0x20ac)

Define Documentation

#define CAST_CHAR_TO_UNICHAR (   a)    ((PRUnichar)((unsigned char)(a)))

Definition at line 80 of file gbku.h.

#define CAST_UNICHAR_TO_CHAR (   a)    ((char)a)

Definition at line 81 of file gbku.h.

#define IS_ASCII (   a)    (0==(0xff80 & (a)))

Definition at line 83 of file gbku.h.

#define IS_GBK_EURO (   c)    ((char)0x80 == (c))

Definition at line 84 of file gbku.h.

#define UCS2_EURO   ((PRUnichar) 0x20ac)

Definition at line 85 of file gbku.h.

#define UCS2_NO_MAPPING   ((PRUnichar) 0xfffd)

Definition at line 75 of file gbku.h.

#define UINT8_IN_RANGE (   a,
  b,
  c 
)    (((PRUint8)(a) <= (PRUint8)(b))&&((PRUint8)(b) <= (PRUint8)(c)))

Definition at line 76 of file gbku.h.

#define UNICHAR_IN_RANGE (   a,
  b,
  c 
)    (((PRUnichar)(a) <= (PRUnichar)(b))&&((PRUnichar)(b) <= (PRUnichar)(c)))

Definition at line 78 of file gbku.h.