diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-05-28 14:53:04 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-05-28 14:53:04 +0100 |
commit | cd431fdedf8dec69c65efa7edc1d60005800919a (patch) | |
tree | 21c64a0da33fe35db7256bf56ec2a8c9faf9e5c0 /dump.c | |
parent | 5c135d48c0468f552840e5ac9811f70aebcac766 (diff) | |
download | perl-cd431fdedf8dec69c65efa7edc1d60005800919a.tar.gz |
Add C_ARRAY_END(), returning a pointer to after the last element of an array.
Refactor the macro append_flags() in dump.c to use it.
Diffstat (limited to 'dump.c')
-rw-r--r-- | dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -84,7 +84,7 @@ S_append_flags(pTHX_ SV *sv, U32 flags, const struct flag_to_name *start, } #define append_flags(sv, f, flags) \ - S_append_flags(aTHX_ (sv), (f), (flags), (flags) + C_ARRAY_LENGTH(flags)) + S_append_flags(aTHX_ (sv), (f), (flags), C_ARRAY_END(flags)) #define Sequence PL_op_sequence |