Logo Search packages:      
Sourcecode: icu version File versions

U_STABLE int8_t U_EXPORT2 u_charType ( UChar32  c  ) 

Returns the general category value for the code point.

Same as java.lang.Character.getType().

Parameters:
c the code point to be tested
Returns:
the general category (UCharCategory) value
See also:
UCharCategory ICU 2.0

Definition at line 265 of file uchar.c.

                      {
    uint32_t props;
    GET_PROPS(c, props);
    return (int8_t)GET_CATEGORY(props);
}


Generated by  Doxygen 1.6.0   Back to index