diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-09-27 22:14:29 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-10-01 09:30:40 -0600 |
commit | 89302fc2b7e207df41192d739797e3f18a46ba34 (patch) | |
tree | aacf72b62ef3166801b37a065ef2ae9a6e22b467 /proto.h | |
parent | 4364919aeabf66edaa6fb40631f8fed89f4bcfe2 (diff) | |
download | perl-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |