/[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 1688 by ph10, Fri Feb 24 17:30:30 2017 UTC revision 1703 by ph10, Tue Jun 13 16:53:16 2017 UTC
# Line 2786  extern const int         PRIV(ucp_typera Line 2786  extern const int         PRIV(ucp_typera
2786  #define REAL_GET_UCD(ch) (PRIV(ucd_records) + \  #define REAL_GET_UCD(ch) (PRIV(ucd_records) + \
2787          PRIV(ucd_stage2)[PRIV(ucd_stage1)[(int)(ch) / UCD_BLOCK_SIZE] * \          PRIV(ucd_stage2)[PRIV(ucd_stage1)[(int)(ch) / UCD_BLOCK_SIZE] * \
2788          UCD_BLOCK_SIZE + (int)(ch) % UCD_BLOCK_SIZE])          UCD_BLOCK_SIZE + (int)(ch) % UCD_BLOCK_SIZE])
2789    
2790  #ifdef COMPILE_PCRE32  #ifdef COMPILE_PCRE32
2791  #define GET_UCD(ch) ((ch > 0x10ffff)? PRIV(dummy_ucd_record) : REAL_GET_UCD(ch))  #define GET_UCD(ch) ((ch > 0x10ffff)? PRIV(dummy_ucd_record) : REAL_GET_UCD(ch))
2792  #else  #else
2793  #define GET_UCD(ch) REAL_GET_UCD(ch)  #define GET_UCD(ch) REAL_GET_UCD(ch)
2794  #endif  #endif
2795    
2796  #define UCD_CHARTYPE(ch)    GET_UCD(ch)->chartype  #define UCD_CHARTYPE(ch)    GET_UCD(ch)->chartype
2797  #define UCD_SCRIPT(ch)      GET_UCD(ch)->script  #define UCD_SCRIPT(ch)      GET_UCD(ch)->script

Legend:
Removed from v.1688  
changed lines
  Added in v.1703

  ViewVC Help
Powered by ViewVC 1.1.5