summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-07-18 15:14:54 -0600
committerKarl Williamson <public@khwilliamson.com>2012-07-19 09:39:07 -0600
commit4f3e8b0f484b99e3e529e1003208d8428d68f277 (patch)
treef5f17295e3d49779dfa7fa741615611d4d8df0c9 /proto.h
parent520939baa9d3cdd718aefcea37348e7dea62a7a4 (diff)
downloadperl-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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index b45aa806fe..77d891fab4 100644
--- a/proto.h
+++ b/proto.h
@@ -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 \