/[pcre]/code/branches/pcre16/pcre_fullinfo.c
ViewVC logotype

Diff of /code/branches/pcre16/pcre_fullinfo.c

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

revision 755 by ph10, Mon Nov 21 10:41:54 2011 UTC revision 756 by ph10, Mon Nov 21 10:48:42 2011 UTC
# Line 118  switch (what) Line 118  switch (what)
118    block, not the internal copy (with flipped integer fields). */    block, not the internal copy (with flipped integer fields). */
119    
120    case PCRE_INFO_FIRSTTABLE:    case PCRE_INFO_FIRSTTABLE:
121    *((const uschar **)where) =    *((const pcre_uint8 **)where) =
122      (study != NULL && (study->flags & PCRE_STUDY_MAPPED) != 0)?      (study != NULL && (study->flags & PCRE_STUDY_MAPPED) != 0)?
123        ((const pcre_study_data *)extra_data->study_data)->start_bits : NULL;        ((const pcre_study_data *)extra_data->study_data)->start_bits : NULL;
124    break;    break;
# Line 149  switch (what) Line 149  switch (what)
149    break;    break;
150    
151    case PCRE_INFO_NAMETABLE:    case PCRE_INFO_NAMETABLE:
152    *((const uschar **)where) = (const uschar *)re + re->name_table_offset;    *((const pcre_uchar **)where) = (const pcre_uchar *)re + re->name_table_offset;
153    break;    break;
154    
155    case PCRE_INFO_DEFAULT_TABLES:    case PCRE_INFO_DEFAULT_TABLES:
156    *((const uschar **)where) = (const uschar *)(_pcre_default_tables);    *((const pcre_uint8 **)where) = (const pcre_uint8 *)(_pcre_default_tables);
157    break;    break;
158    
159    /* From release 8.00 this will always return TRUE because NOPARTIAL is    /* From release 8.00 this will always return TRUE because NOPARTIAL is

Legend:
Removed from v.755  
changed lines
  Added in v.756

  ViewVC Help
Powered by ViewVC 1.1.5