/[pcre]/code/trunk/pcre_internal.h
ViewVC logotype

Diff of /code/trunk/pcre_internal.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1043 by ph10, Sun Sep 16 16:22:35 2012 UTC revision 1044 by ph10, Thu Sep 20 16:23:57 2012 UTC
# Line 2435  typedef struct { Line 2435  typedef struct {
2435    pcre_uint8 script;     /* ucp_Arabic, etc. */    pcre_uint8 script;     /* ucp_Arabic, etc. */
2436    pcre_uint8 chartype;   /* ucp_Cc, etc. (general categories) */    pcre_uint8 chartype;   /* ucp_Cc, etc. (general categories) */
2437    pcre_uint8 gbprop;     /* ucp_gbControl, etc. (grapheme break property) */    pcre_uint8 gbprop;     /* ucp_gbControl, etc. (grapheme break property) */
2438      pcre_uint8 caseset;    /* offset to multichar other cases or zero */
2439    pcre_int32 other_case; /* offset to other case, or zero if none */    pcre_int32 other_case; /* offset to other case, or zero if none */
2440  } ucd_record;  } ucd_record;
2441    
2442    extern const pcre_uint32 PRIV(ucd_caseless_sets)[];
2443  extern const ucd_record  PRIV(ucd_records)[];  extern const ucd_record  PRIV(ucd_records)[];
2444  extern const pcre_uint8  PRIV(ucd_stage1)[];  extern const pcre_uint8  PRIV(ucd_stage1)[];
2445  extern const pcre_uint16 PRIV(ucd_stage2)[];  extern const pcre_uint16 PRIV(ucd_stage2)[];
# Line 2459  extern const int         PRIV(ucp_typera Line 2461  extern const int         PRIV(ucp_typera
2461  #define UCD_SCRIPT(ch)      GET_UCD(ch)->script  #define UCD_SCRIPT(ch)      GET_UCD(ch)->script
2462  #define UCD_CATEGORY(ch)    PRIV(ucp_gentype)[UCD_CHARTYPE(ch)]  #define UCD_CATEGORY(ch)    PRIV(ucp_gentype)[UCD_CHARTYPE(ch)]
2463  #define UCD_GRAPHBREAK(ch)  GET_UCD(ch)->gbprop  #define UCD_GRAPHBREAK(ch)  GET_UCD(ch)->gbprop
2464    #define UCD_CASESET(ch)     GET_UCD(ch)->caseset
2465  #define UCD_OTHERCASE(ch)   (ch + GET_UCD(ch)->other_case)  #define UCD_OTHERCASE(ch)   (ch + GET_UCD(ch)->other_case)
2466    
2467  #endif /* SUPPORT_UCP */  #endif /* SUPPORT_UCP */

Legend:
Removed from v.1043  
changed lines
  Added in v.1044

  ViewVC Help
Powered by ViewVC 1.1.5