summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-01-29 10:11:39 -0700
committerKarl Williamson <public@khwilliamson.com>2011-01-29 10:26:41 -0700
commit881ffab65cdbee2f146ada660e5593bad2e71472 (patch)
treee8ede27d35417eb0e8de6b9039f75a62a9479343 /proto.h
parent71556506e314e769ce97e03177d978fbd8a37c18 (diff)
downloadperl-881ffab65cdbee2f146ada660e5593bad2e71472.tar.gz
Use embed.pl inline capabilities for regcurly
Change the regcurly definition to use the new inline abilities.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 27dbc3a80f..829e451529 100644
--- a/proto.h
+++ b/proto.h
@@ -5179,6 +5179,15 @@ STATIC I32 S_do_trans_simple_utf8(pTHX_ SV * const sv)
assert(sv)
#endif
+#if defined(PERL_IN_DQUOTE_STATIC_C)
+PERL_STATIC_INLINE I32 S_regcurly(pTHX_ const char *s)
+ __attribute__warn_unused_result__
+ __attribute__pure__
+ __attribute__nonnull__(pTHX_1);
+#define PERL_ARGS_ASSERT_REGCURLY \
+ assert(s)
+
+#endif
#if defined(PERL_IN_DUMP_C)
STATIC CV* S_deb_curcv(pTHX_ const I32 ix);
STATIC void S_debprof(pTHX_ const OP *o)