/[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 779 by ph10, Sun Sep 11 14:31:21 2011 UTC revision 780 by ph10, Fri Dec 2 11:39:21 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:
104    #ifdef SUPPORT_JIT
105      *((size_t *)where) =
106          (extra_data != NULL &&
107          (extra_data->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 &&
108          extra_data->executable_jit != NULL)?
109        _pcre_jit_get_size(extra_data->executable_jit) : 0;
110    #else
111      *((size_t *)where) = 0;
112    #endif
113    
114      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.779  
changed lines
  Added in v.780

  ViewVC Help
Powered by ViewVC 1.1.5