diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-02-03 10:57:33 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-02-09 10:13:54 -0700 |
commit | 3f80b5713f755394d2d1a3bc3befb0dd82a19f64 (patch) | |
tree | 68f926c927c01eec84d4d5da89f1d228a0b48d24 /proto.h | |
parent | 52ae8f7ebb1f32bbd4f574c090ff4ae9d6b468c7 (diff) | |
download | perl-3f80b5713f755394d2d1a3bc3befb0dd82a19f64.tar.gz |
regcomp.c: _invlist_subtract() becomes a macro
This function is no longer necessary, as it is just a call to the newly
created _invlist_intersection_maybe_complement_2nd() with the correct
parameters.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -6577,12 +6577,10 @@ PERL_CALLCONV void Perl__invlist_populate_swatch(pTHX_ SV* const invlist, const #define PERL_ARGS_ASSERT__INVLIST_POPULATE_SWATCH \ assert(invlist); assert(swatch) -PERL_CALLCONV void Perl__invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result) +/* PERL_CALLCONV void _invlist_subtract(pTHX_ SV* const a, SV* const b, SV** result) __attribute__nonnull__(pTHX_1) __attribute__nonnull__(pTHX_2) - __attribute__nonnull__(pTHX_3); -#define PERL_ARGS_ASSERT__INVLIST_SUBTRACT \ - assert(a); assert(b); assert(result) + __attribute__nonnull__(pTHX_3); */ PERL_CALLCONV void Perl__invlist_union(pTHX_ SV* const a, SV* const b, SV** output) __attribute__nonnull__(pTHX_2) |