| 1332 |
study->minlength = min; |
study->minlength = min; |
| 1333 |
} |
} |
| 1334 |
|
|
| 1335 |
|
extra->executable_jit = NULL; |
| 1336 |
|
#ifdef SUPPORT_JIT |
| 1337 |
|
if ((options & PCRE_STUDY_JIT_COMPILE) != 0) _pcre_jit_compile(re, extra); |
| 1338 |
|
#endif |
| 1339 |
|
|
| 1340 |
return extra; |
return extra; |
| 1341 |
} |
} |
| 1342 |
|
|
| 1343 |
|
|
| 1344 |
|
/************************************************* |
| 1345 |
|
* Free the study data * |
| 1346 |
|
*************************************************/ |
| 1347 |
|
|
| 1348 |
|
/* This function frees the memory that was obtained by pcre_study(). |
| 1349 |
|
|
| 1350 |
|
Argument: a pointer to the pcre_extra block |
| 1351 |
|
Returns: nothing |
| 1352 |
|
*/ |
| 1353 |
|
|
| 1354 |
|
PCRE_EXP_DEFN void |
| 1355 |
|
pcre_free_study(pcre_extra *extra) |
| 1356 |
|
{ |
| 1357 |
|
#ifdef SUPPORT_JIT |
| 1358 |
|
if ((extra->flags & PCRE_EXTRA_EXECUTABLE_JIT) != 0 && |
| 1359 |
|
extra->executable_jit != NULL) |
| 1360 |
|
_pcre_jit_free(extra->executable_jit); |
| 1361 |
|
#endif |
| 1362 |
|
pcre_free(extra); |
| 1363 |
|
} |
| 1364 |
|
|
| 1365 |
/* End of pcre_study.c */ |
/* End of pcre_study.c */ |