summaryrefslogtreecommitdiff
path: root/src/pcre2.h.in
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2016-02-26 18:26:17 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2016-02-26 18:26:17 +0000
commitec4f325ac4df7262b8ce1fcbe09d4020a734132f (patch)
tree859a79912a9fd117cd0c172e9fa06bbe4213426c /src/pcre2.h.in
parent437fcdfeda76c7cec0f781a4b7988986eeac0804 (diff)
downloadpcre2-ec4f325ac4df7262b8ce1fcbe09d4020a734132f.tar.gz
Implemented pcre2_code_copy().
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@495 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2.h.in')
-rw-r--r--src/pcre2.h.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pcre2.h.in b/src/pcre2.h.in
index 49f1909..56c9651 100644
--- a/src/pcre2.h.in
+++ b/src/pcre2.h.in
@@ -436,7 +436,9 @@ PCRE2_EXP_DECL int pcre2_set_recursion_memory_management( \
PCRE2_EXP_DECL \
pcre2_code *pcre2_compile(PCRE2_SPTR, PCRE2_SIZE, uint32_t, \
int *, PCRE2_SIZE *, pcre2_compile_context *); \
-PCRE2_EXP_DECL void pcre2_code_free(pcre2_code *);
+PCRE2_EXP_DECL void pcre2_code_free(pcre2_code *); \
+PCRE2_EXP_DECL \
+ pcre2_code *pcre2_code_copy(const pcre2_code *);
/* Functions that give information about a compiled pattern. */
@@ -585,6 +587,7 @@ pcre2_compile are called by application code. */
/* Functions: the complete list in alphabetical order */
#define pcre2_callout_enumerate PCRE2_SUFFIX(pcre2_callout_enumerate_)
+#define pcre2_code_copy PCRE2_SUFFIX(pcre2_code_copy_)
#define pcre2_code_free PCRE2_SUFFIX(pcre2_code_free_)
#define pcre2_compile PCRE2_SUFFIX(pcre2_compile_)
#define pcre2_compile_context_copy PCRE2_SUFFIX(pcre2_compile_context_copy_)