Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvmod-pcre2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
libvmod-pcre2
Commits
974cc032
Commit
974cc032
authored
Jun 15, 2017
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give the internal match function some const/restrict hints.
parent
b05e49ce
Pipeline
#245
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vmod_pcre2.c
src/vmod_pcre2.c
+4
-2
No files found.
src/vmod_pcre2.c
View file @
974cc032
...
...
@@ -553,8 +553,10 @@ compile(VRT_CTX, pcre2_compile_context * restrict const cctx,
}
static
inline
VCL_BOOL
match
(
VRT_CTX
,
pcre2_code
*
code
,
VCL_STRING
subject
,
VCL_INT
len
,
uint32_t
options
,
pcre2_match_data
*
mdata
,
pcre2_match_context
*
mctx
,
match
(
VRT_CTX
,
pcre2_code
*
restrict
const
code
,
VCL_STRING
restrict
const
subject
,
VCL_INT
len
,
const
uint32_t
options
,
pcre2_match_data
*
restrict
const
mdata
,
pcre2_match_context
*
restrict
const
mctx
,
const
char
*
restrict
const
context
,
const
char
*
restrict
const
caller
)
{
PCRE2_SPTR
safe_subject
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment