diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-07-18 15:14:54 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-07-19 09:39:07 -0600 |
commit | 4f3e8b0f484b99e3e529e1003208d8428d68f277 (patch) | |
tree | f5f17295e3d49779dfa7fa741615611d4d8df0c9 /proto.h | |
parent | 520939baa9d3cdd718aefcea37348e7dea62a7a4 (diff) | |
download | perl-4f3e8b0f484b99e3e529e1003208d8428d68f277.tar.gz |
regcomp.c: Refactor code into a function
Future commits will use this functionality in additional places beyond
the single one currently. It makes sense to abstract it into a
function.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6479,6 +6479,12 @@ STATIC void S_invlist_extend(pTHX_ SV* const invlist, const UV len) #define PERL_ARGS_ASSERT_INVLIST_EXTEND \ assert(invlist) +PERL_STATIC_INLINE UV S_invlist_highest(pTHX_ SV* const invlist) + __attribute__warn_unused_result__ + __attribute__nonnull__(pTHX_1); +#define PERL_ARGS_ASSERT_INVLIST_HIGHEST \ + assert(invlist) + PERL_STATIC_INLINE void S_invlist_iterinit(pTHX_ SV* invlist) __attribute__nonnull__(pTHX_1); #define PERL_ARGS_ASSERT_INVLIST_ITERINIT \ |