summaryrefslogtreecommitdiff
path: root/proto.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 /proto.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 'proto.h')
-rw-r--r--proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index cd18de8a9c..17fbdd8732 100644
--- a/proto.h
+++ b/proto.h
@@ -6325,6 +6325,11 @@ PERL_CALLCONV void Perl__invlist_invert(pTHX_ SV* const invlist)
#define PERL_ARGS_ASSERT__INVLIST_INVERT \
assert(invlist)
+PERL_CALLCONV void Perl__invlist_invert_prop(pTHX_ SV* const invlist)
+ __attribute__nonnull__(pTHX_1);
+#define PERL_ARGS_ASSERT__INVLIST_INVERT_PROP \
+ assert(invlist)
+
PERL_CALLCONV void Perl__invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result)
__attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2)