summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-07-09 13:10:00 -0600
committerKarl Williamson <public@khwilliamson.com>2012-07-24 21:13:46 -0600
commit86dc2bf573b880d9a9cb80e85148cf3540e08da0 (patch)
tree5b1dcc63fff17b84e9d3d48060c9d57528c3dddc /proto.h
parent6197c735af8f18ed71903781a046a889a1d1946d (diff)
downloadperl-86dc2bf573b880d9a9cb80e85148cf3540e08da0.tar.gz
regcomp.c: Extract some code into an inline function
This code will be used in future commits in multiple places
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 91db7c08f7..e6d0dbe15f 100644
--- a/proto.h
+++ b/proto.h
@@ -6440,6 +6440,11 @@ STATIC void S_cl_or(const struct RExC_state_t *pRExC_state, struct regnode_charc
#define PERL_ARGS_ASSERT_CL_OR \
assert(pRExC_state); assert(cl); assert(or_with)
+PERL_STATIC_INLINE U8 S_compute_EXACTish(pTHX_ struct RExC_state_t *pRExC_state)
+ __attribute__nonnull__(pTHX_1);
+#define PERL_ARGS_ASSERT_COMPUTE_EXACTISH \
+ assert(pRExC_state)
+
PERL_STATIC_INLINE UV* S_get_invlist_iter_addr(pTHX_ SV* invlist)
__attribute__warn_unused_result__
__attribute__nonnull__(pTHX_1);