summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorRichard Leach <richardleach@users.noreply.github.com>2023-02-10 13:06:44 +0000
committerKarl Williamson <khw@cpan.org>2023-02-10 15:38:26 -0700
commit94a21c89d725dee58126a57a36a33a72e3dd54fd (patch)
tree201b182752bf3c24823db3b3a7446bbb52ccd3ac /toke.c
parenta683fa5b7e816ae5c10d246c9a0b1f3ea743274b (diff)
downloadperl-94a21c89d725dee58126a57a36a33a72e3dd54fd.tar.gz
sv_clear apidoc: prefer SvREFCNT_dec to sv_free()
As per the old test, SvREFCNT_dec used to wrap sv_free, which then calls the Perl_SvREFCNT_dec function. Nowadays, SvREFCNT_dec calls Perl_SvREFCNT_dec directly, and the latter is a very small inline function. Using the macro probably should be the go-to now.
Diffstat (limited to 'toke.c')
0 files changed, 0 insertions, 0 deletions