summaryrefslogtreecommitdiffstats
path: root/thirdparty/pcre2/src/pcre2_intmodedep.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-07-11 10:27:11 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-07-11 10:35:39 +0200
commit518e23424ecdd8411e8569b45b515129c4bbba15 (patch)
tree2140968593e3fca504b5b3a19da6a9cd48ee67a7 /thirdparty/pcre2/src/pcre2_intmodedep.h
parent49ce6bacc338d4279c121e13d4c7434d4318e4e4 (diff)
downloadredot-engine-518e23424ecdd8411e8569b45b515129c4bbba15.tar.gz
pcre2: Update to upstream version 10.33
Diffstat (limited to 'thirdparty/pcre2/src/pcre2_intmodedep.h')
-rw-r--r--thirdparty/pcre2/src/pcre2_intmodedep.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/thirdparty/pcre2/src/pcre2_intmodedep.h b/thirdparty/pcre2/src/pcre2_intmodedep.h
index 62626d0a8a..bf3a235984 100644
--- a/thirdparty/pcre2/src/pcre2_intmodedep.h
+++ b/thirdparty/pcre2/src/pcre2_intmodedep.h
@@ -585,6 +585,8 @@ typedef struct pcre2_real_match_context {
#endif
int (*callout)(pcre2_callout_block *, void *);
void *callout_data;
+ int (*substitute_callout)(pcre2_substitute_callout_block *, void *);
+ void *substitute_callout_data;
PCRE2_SIZE offset_limit;
uint32_t heap_limit;
uint32_t match_limit;
@@ -656,7 +658,8 @@ typedef struct pcre2_real_match_data {
PCRE2_SIZE leftchar; /* Offset to leftmost code unit */
PCRE2_SIZE rightchar; /* Offset to rightmost code unit */
PCRE2_SIZE startchar; /* Offset to starting code unit */
- uint16_t matchedby; /* Type of match (normal, JIT, DFA) */
+ uint8_t matchedby; /* Type of match (normal, JIT, DFA) */
+ uint8_t flags; /* Various flags */
uint16_t oveccount; /* Number of pairs */
int rc; /* The return code from the match */
PCRE2_SIZE ovector[131072]; /* Must be last in the structure */