summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-09-11 17:37:23 -0600
committerKarl Williamson <khw@cpan.org>2019-09-15 10:39:56 -0600
commit1bd041dce8bb8fa2727af6630fb35f00c0c05a65 (patch)
tree06eb4cb931fd4c1e62168920e999149488065def /proto.h
parent74804ad189340f2812955e3c4308a6a82c0cc0eb (diff)
downloadperl-1bd041dce8bb8fa2727af6630fb35f00c0c05a65.tar.gz
Add Perl_ to SvAMAGIC _off,_on names
These function names need a Perl_ prefix to avoid namespace pollution.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 8d74d66eac..6e1329662c 100644
--- a/proto.h
+++ b/proto.h
@@ -74,6 +74,16 @@ PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op);
#define PERL_ARGS_ASSERT_SLAB_FREE \
assert(op)
#ifndef PERL_NO_INLINE_FUNCTIONS
+PERL_STATIC_INLINE void Perl_SvAMAGIC_off(SV *sv);
+#define PERL_ARGS_ASSERT_SVAMAGIC_OFF \
+ assert(sv)
+#endif
+#ifndef PERL_NO_INLINE_FUNCTIONS
+PERL_STATIC_INLINE void Perl_SvAMAGIC_on(SV *sv);
+#define PERL_ARGS_ASSERT_SVAMAGIC_ON \
+ assert(sv)
+#endif
+#ifndef PERL_NO_INLINE_FUNCTIONS
PERL_STATIC_INLINE void Perl_SvREFCNT_dec(pTHX_ SV *sv);
#define PERL_ARGS_ASSERT_SVREFCNT_DEC
#endif