/[pcre]/code/trunk/pcre_fullinfo.c
ViewVC logotype

Diff of /code/trunk/pcre_fullinfo.c

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

revision 780 by ph10, Fri Dec 2 11:39:21 2011 UTC revision 788 by ph10, Tue Dec 6 15:38:01 2011 UTC
# Line 99  switch (what) Line 99  switch (what)
99    case PCRE_INFO_STUDYSIZE:    case PCRE_INFO_STUDYSIZE:
100    *((size_t *)where) = (study == NULL)? 0 : study->size;    *((size_t *)where) = (study == NULL)? 0 : study->size;
101    break;    break;
102    
103    case PCRE_INFO_JITSIZE:    case PCRE_INFO_JITSIZE:
104  #ifdef SUPPORT_JIT  #ifdef SUPPORT_JIT
105    *((size_t *)where) =    *((size_t *)where) =
106        (extra_data != NULL &&        (extra_data != NULL &&
107        (extra_data->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 &&        (extra_data->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 &&
108        extra_data->executable_jit != NULL)?        extra_data->executable_jit != NULL)?
109      _pcre_jit_get_size(extra_data->executable_jit) : 0;      _pcre_jit_get_size(extra_data->executable_jit) : 0;
110  #else  #else
111    *((size_t *)where) = 0;    *((size_t *)where) = 0;
112  #endif  #endif
113    
114    break;    break;
115    
116    case PCRE_INFO_CAPTURECOUNT:    case PCRE_INFO_CAPTURECOUNT:
117    *((int *)where) = re->top_bracket;    *((int *)where) = re->top_bracket;

Legend:
Removed from v.780  
changed lines
  Added in v.788

  ViewVC Help
Powered by ViewVC 1.1.5