diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-18 13:16:17 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-19 05:27:01 +0800 |
commit | b3703faa10166966785f9e5de78ffc972823a979 (patch) | |
tree | f9d19a9cf24234d90809b5743e7f703b8b0a3a29 /embed.fnc | |
parent | 4d51d5bc07c99bc5811ccbae1503b27d813e0743 (diff) | |
download | perl-b3703faa10166966785f9e5de78ffc972823a979.tar.gz |
regexec.c - convert CAPTURE_CLEAR into an inline static function
This makes it easier to debug, and type checks parameters and the
like. It does make it somewhat slower in debug mode, but so what.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -5405,6 +5405,10 @@ ERS |WB_enum|backup_one_WB |NN WB_enum *previous \ |NN const U8 * const strbeg \ |NN U8 **curpos \ |const bool utf8_target +EWi |void |capture_clear |NN regexp *rex \ + |U16 from_ix \ + |U16 to_ix \ + |NN const char *str ERS |char * |find_byclass |NN regexp *prog \ |NN const regnode *c \ |NN char *s \ |