summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-05-27 16:43:28 -0600
committerKarl Williamson <public@khwilliamson.com>2011-07-03 14:05:45 -0600
commita2995b7fcac3f38f5bf533f24474052ed006fbbf (patch)
treefba2c8d2208d64896fad38c1e057430e325c9d4d /embed.h
parentddc1cd802cda73c79a0e7d26d1a4ce38023fe1f2 (diff)
downloadperl-a2995b7fcac3f38f5bf533f24474052ed006fbbf.tar.gz
regcomp.c: Revise inversion list API
These are static functions so no external effect. Revise the calling sequence of two functions so that they can know enough to free memory if appropriate of the other parameters. This hides from the callers the need for tracking when to free memory.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed.h b/embed.h
index dd759a8255..ae09513fe5 100644
--- a/embed.h
+++ b/embed.h
@@ -878,13 +878,13 @@
#define invlist_array(a) S_invlist_array(aTHX_ a)
#define invlist_destroy(a) S_invlist_destroy(aTHX_ a)
#define invlist_extend(a,b) S_invlist_extend(aTHX_ a,b)
-#define invlist_intersection(a,b) S_invlist_intersection(aTHX_ a,b)
+#define invlist_intersection(a,b,c) S_invlist_intersection(aTHX_ a,b,c)
#define invlist_len(a) S_invlist_len(aTHX_ a)
#define invlist_max(a) S_invlist_max(aTHX_ a)
#define invlist_set_len(a,b) S_invlist_set_len(aTHX_ a,b)
#define invlist_set_max(a,b) S_invlist_set_max(aTHX_ a,b)
#define invlist_trim(a) S_invlist_trim(aTHX_ a)
-#define invlist_union(a,b) S_invlist_union(aTHX_ a,b)
+#define invlist_union(a,b,c) S_invlist_union(aTHX_ a,b,c)
#define join_exact(a,b,c,d,e,f) S_join_exact(aTHX_ a,b,c,d,e,f)
#define make_trie(a,b,c,d,e,f,g,h) S_make_trie(aTHX_ a,b,c,d,e,f,g,h)
#define make_trie_failtable(a,b,c,d) S_make_trie_failtable(aTHX_ a,b,c,d)