diff options
author | Karl Williamson <khw@cpan.org> | 2019-09-11 17:37:23 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-09-15 10:39:56 -0600 |
commit | 1bd041dce8bb8fa2727af6630fb35f00c0c05a65 (patch) | |
tree | 06eb4cb931fd4c1e62168920e999149488065def /proto.h | |
parent | 74804ad189340f2812955e3c4308a6a82c0cc0eb (diff) | |
download | perl-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.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |