summaryrefslogtreecommitdiff
path: root/embed.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-09-27 22:14:29 -0600
committerKarl Williamson <public@khwilliamson.com>2011-10-01 09:30:40 -0600
commit89302fc2b7e207df41192d739797e3f18a46ba34 (patch)
treeaacf72b62ef3166801b37a065ef2ae9a6e22b467 /embed.h
parent4364919aeabf66edaa6fb40631f8fed89f4bcfe2 (diff)
downloadperl-89302fc2b7e207df41192d739797e3f18a46ba34.tar.gz
regcomp.c: Add invlist_invert_prop()
This new function inverts a Unicode property. A regular inversion doesn't work because it operates on the whole of the code space, and Unicode property inversions don't invert above-Unicode code points. This does for inversion lists, what an earlier commit did for swashes. This function is currently not called by anyone.
Diffstat (limited to 'embed.h')
-rw-r--r--embed.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.h b/embed.h
index 0e99ca5592..c3f2262a3f 100644
--- a/embed.h
+++ b/embed.h
@@ -926,6 +926,7 @@
#define _append_range_to_invlist(a,b,c) Perl__append_range_to_invlist(aTHX_ a,b,c)
#define _invlist_intersection(a,b,c) Perl__invlist_intersection(aTHX_ a,b,c)
#define _invlist_invert(a) Perl__invlist_invert(aTHX_ a)
+#define _invlist_invert_prop(a) Perl__invlist_invert_prop(aTHX_ a)
#define _invlist_subtract(a,b,c) Perl__invlist_subtract(aTHX_ a,b,c)
#define _invlist_union(a,b,c) Perl__invlist_union(aTHX_ a,b,c)
#define _new_invlist(a) Perl__new_invlist(aTHX_ a)