/[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 850 by zherczeg, Wed Jan 4 17:29:11 2012 UTC revision 860 by zherczeg, Mon Jan 9 20:12:58 2012 UTC
# Line 254  typedef unsigned char pcre_uchar; Line 254  typedef unsigned char pcre_uchar;
254    
255  #ifdef COMPILE_PCRE16  #ifdef COMPILE_PCRE16
256  #if USHRT_MAX != 65535  #if USHRT_MAX != 65535
257  /* This is a warning message. Change PCRE_SCHAR16 to a 16 bit data type in  /* This is a warning message. Change PCRE_UCHAR16 to a 16 bit data type in
258  pcre.h(.in) and disable (comment out) this message. */  pcre.h(.in) and disable (comment out) this message. */
259  #error Warning: PCRE_SCHAR16 is not a 16 bit data type.  #error Warning: PCRE_UCHAR16 is not a 16 bit data type.
260  #endif  #endif
261    
262  typedef pcre_uint16 pcre_uchar;  typedef pcre_uint16 pcre_uchar;
# Line 1958  fields are present. Currently PCRE alway Line 1958  fields are present. Currently PCRE alway
1958  NOTE NOTE NOTE  NOTE NOTE NOTE
1959  */  */
1960    
1961  typedef struct real_pcre {  #ifdef COMPILE_PCRE8
1962    #define REAL_PCRE real_pcre
1963    #else
1964    #define REAL_PCRE real_pcre16
1965    #endif
1966    
1967    typedef struct REAL_PCRE {
1968    pcre_uint32 magic_number;    pcre_uint32 magic_number;
1969    pcre_uint32 size;               /* Total that was malloced */    pcre_uint32 size;               /* Total that was malloced */
1970    pcre_uint32 options;            /* Public options */    pcre_uint32 options;            /* Public options */
# Line 1975  typedef struct real_pcre { Line 1981  typedef struct real_pcre {
1981    
1982    const pcre_uint8 *tables;       /* Pointer to tables or NULL for std */    const pcre_uint8 *tables;       /* Pointer to tables or NULL for std */
1983    const pcre_uint8 *nullpad;      /* NULL padding */    const pcre_uint8 *nullpad;      /* NULL padding */
1984  } real_pcre;  } REAL_PCRE;
1985    
1986  /* The format of the block used to store data from pcre_study(). The same  /* The format of the block used to store data from pcre_study(). The same
1987  remark (see NOTE above) about extending this structure applies. */  remark (see NOTE above) about extending this structure applies. */
# Line 2274  extern BOOL              PRIV(was_newlin Line 2280  extern BOOL              PRIV(was_newlin
2280  extern BOOL              PRIV(xclass)(int, const pcre_uchar *, BOOL);  extern BOOL              PRIV(xclass)(int, const pcre_uchar *, BOOL);
2281    
2282  #ifdef SUPPORT_JIT  #ifdef SUPPORT_JIT
2283  extern void              PRIV(jit_compile)(const real_pcre *, PUBL(extra) *);  extern void              PRIV(jit_compile)(const REAL_PCRE *, PUBL(extra) *);
2284  extern int               PRIV(jit_exec)(const real_pcre *, void *,  extern int               PRIV(jit_exec)(const REAL_PCRE *, void *,
2285                             const pcre_uchar *, int, int, int, int, int *, int);                             const pcre_uchar *, int, int, int, int, int *, int);
2286  extern void              PRIV(jit_free)(void *);  extern void              PRIV(jit_free)(void *);
2287  extern int               PRIV(jit_get_size)(void *);  extern int               PRIV(jit_get_size)(void *);

Legend:
Removed from v.850  
changed lines
  Added in v.860

  ViewVC Help
Powered by ViewVC 1.1.5