Skip to content

Commit 4212f6d

Browse files
committed
feature: added new C API ngx_stream_lua_pcre_version to wrap the pcre_version() C API in libpcre.
1 parent 77f82d6 commit 4212f6d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/ngx_stream_lua_regex.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,13 @@ ngx_stream_lua_ffi_max_regex_cache_size(void)
592592
}
593593

594594

595+
const char *
596+
ngx_stream_lua_ffi_pcre_version(void)
597+
{
598+
return pcre_version();
599+
}
600+
601+
595602
#endif /* NGX_PCRE */
596603

597604

0 commit comments

Comments
 (0)