tclUniData.c File Reference

Go to the source code of this file.

Defines

#define OFFSET_BITS   5
#define UNICODE_CATEGORY_MASK   0X1F
#define GetCaseType(info)   (((info) & 0xE0) >> 5)
#define GetCategory(info)   ((info) & 0x1F)
#define GetDelta(info)   (((info) > 0) ? ((info) >> 22) : (~(~((info)) >> 22)))
#define GetUniCharInfo(ch)   (groups[groupMap[(pageMap[(((int)(ch)) & 0xffff) >> OFFSET_BITS] << OFFSET_BITS) | ((ch) & ((1 << OFFSET_BITS)-1))]])

Enumerations

enum  {
  UNASSIGNED, UPPERCASE_LETTER, LOWERCASE_LETTER, TITLECASE_LETTER,
  MODIFIER_LETTER, OTHER_LETTER, NON_SPACING_MARK, ENCLOSING_MARK,
  COMBINING_SPACING_MARK, DECIMAL_DIGIT_NUMBER, LETTER_NUMBER, OTHER_NUMBER,
  SPACE_SEPARATOR, LINE_SEPARATOR, PARAGRAPH_SEPARATOR, CONTROL,
  FORMAT, PRIVATE_USE, SURROGATE, CONNECTOR_PUNCTUATION,
  DASH_PUNCTUATION, OPEN_PUNCTUATION, CLOSE_PUNCTUATION, INITIAL_QUOTE_PUNCTUATION,
  FINAL_QUOTE_PUNCTUATION, OTHER_PUNCTUATION, MATH_SYMBOL, CURRENCY_SYMBOL,
  MODIFIER_SYMBOL, OTHER_SYMBOL
}


Define Documentation

#define GetCaseType ( info   )     (((info) & 0xE0) >> 5)

Definition at line 894 of file tclUniData.c.

Referenced by Tcl_UniCharToLower(), Tcl_UniCharToTitle(), and Tcl_UniCharToUpper().

#define GetCategory ( info   )     ((info) & 0x1F)

Definition at line 895 of file tclUniData.c.

#define GetDelta ( info   )     (((info) > 0) ? ((info) >> 22) : (~(~((info)) >> 22)))

Definition at line 896 of file tclUniData.c.

Referenced by Tcl_UniCharToLower(), Tcl_UniCharToTitle(), and Tcl_UniCharToUpper().

#define GetUniCharInfo ( ch   )     (groups[groupMap[(pageMap[(((int)(ch)) & 0xffff) >> OFFSET_BITS] << OFFSET_BITS) | ((ch) & ((1 << OFFSET_BITS)-1))]])

#define OFFSET_BITS   5

Definition at line 20 of file tclUniData.c.


Enumeration Type Documentation

anonymous enum

Enumerator:
UNASSIGNED 
UPPERCASE_LETTER 
LOWERCASE_LETTER 
TITLECASE_LETTER 
MODIFIER_LETTER 
OTHER_LETTER 
NON_SPACING_MARK 
ENCLOSING_MARK 
COMBINING_SPACING_MARK 
DECIMAL_DIGIT_NUMBER 
LETTER_NUMBER 
OTHER_NUMBER 
SPACE_SEPARATOR 
LINE_SEPARATOR 
PARAGRAPH_SEPARATOR 
CONTROL 
FORMAT 
PRIVATE_USE 
SURROGATE 
CONNECTOR_PUNCTUATION 
DASH_PUNCTUATION 
OPEN_PUNCTUATION 
CLOSE_PUNCTUATION 
INITIAL_QUOTE_PUNCTUATION 
FINAL_QUOTE_PUNCTUATION 
OTHER_PUNCTUATION 
MATH_SYMBOL 
CURRENCY_SYMBOL 
MODIFIER_SYMBOL 
OTHER_SYMBOL 

Definition at line 855 of file tclUniData.c.



Generated on Wed Mar 12 12:18:34 2008 by  doxygen 1.5.1