diff options
author | Leon Timmermans <fawaka@gmail.com> | 2023-03-16 21:30:22 +0100 |
---|---|---|
committer | Leon Timmermans <fawaka@gmail.com> | 2023-03-18 21:11:42 +0100 |
commit | 4e0f29b2722407db1a7a662bb226850576c7aca4 (patch) | |
tree | c3175b123808ca82a0c25ffc666b77d0c9bcef78 /sv.c | |
parent | 260e30211bacb8994ba95f8149e9ca43d093d397 (diff) | |
download | perl-4e0f29b2722407db1a7a662bb226850576c7aca4.tar.gz |
Mark vtbl argument in sv_unmagicext const
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5912,7 +5912,7 @@ Perl_sv_magic(pTHX_ SV *const sv, SV *const obj, const int how, } static int -S_sv_unmagicext_flags(pTHX_ SV *const sv, const int type, MGVTBL *vtbl, const U32 flags) +S_sv_unmagicext_flags(pTHX_ SV *const sv, const int type, const MGVTBL *vtbl, const U32 flags) { MAGIC* mg; MAGIC** mgp; @@ -5977,7 +5977,7 @@ Removes all magic of type C<type> with the specified C<vtbl> from an SV. */ int -Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, MGVTBL *vtbl) +Perl_sv_unmagicext(pTHX_ SV *const sv, const int type, const MGVTBL *vtbl) { PERL_ARGS_ASSERT_SV_UNMAGICEXT; return S_sv_unmagicext_flags(aTHX_ sv, type, vtbl, 1); |