/[pcre]/code/branches/pcre16/pcre_internal.h
ViewVC logotype

Diff of /code/branches/pcre16/pcre_internal.h

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

revision 795 by zherczeg, Sat Dec 10 02:20:06 2011 UTC revision 798 by zherczeg, Sun Dec 11 18:07:25 2011 UTC
# Line 532  UTF support is omitted, we don't even de Line 532  UTF support is omitted, we don't even de
532    
533  #ifndef SUPPORT_UTF  #ifndef SUPPORT_UTF
534    
535    /* #define MAX_VALUE_FOR_SINGLE_CHAR */
536  /* #define HAS_EXTRALEN(c) */  /* #define HAS_EXTRALEN(c) */
537  /* #define GET_EXTRALEN(c) */  /* #define GET_EXTRALEN(c) */
538  /* #define NOT_FIRSTCHAR(c) */  /* #define NOT_FIRSTCHAR(c) */
# Line 554  from the tables whose names start with P Line 555  from the tables whose names start with P
555  a user so as not to use loops, because in some environments this gives a  a user so as not to use loops, because in some environments this gives a
556  significant performance advantage, and it seems never to do any harm. */  significant performance advantage, and it seems never to do any harm. */
557    
558    /* Tells the biggest code point which can be encoded as a single character. */
559    
560    #define MAX_VALUE_FOR_SINGLE_CHAR 127
561    
562  /* Tests whether the code point needs extra characters to decode. */  /* Tests whether the code point needs extra characters to decode. */
563    
564  #define HAS_EXTRALEN(c) ((c) >= 0xc0)  #define HAS_EXTRALEN(c) ((c) >= 0xc0)
# Line 721  because almost all calls are already wit Line 726  because almost all calls are already wit
726    
727  #ifdef COMPILE_PCRE16  #ifdef COMPILE_PCRE16
728    
729    /* Tells the biggest code point which can be encoded as a single character. */
730    
731    #define MAX_VALUE_FOR_SINGLE_CHAR 65535
732    
733  /* Tests whether the code point needs extra characters to decode. */  /* Tests whether the code point needs extra characters to decode. */
734    
735  #define HAS_EXTRALEN(c) (((c) & 0xfc00) == 0xd800)  #define HAS_EXTRALEN(c) (((c) & 0xfc00) == 0xd800)

Legend:
Removed from v.795  
changed lines
  Added in v.798

  ViewVC Help
Powered by ViewVC 1.1.5