From: Karl Williamson Date: Thu, 8 Oct 2020 19:53:47 +0000 (-0600) Subject: perlapi: Consolidate newRV and newRV_inc pod X-Git-Tag: v5.33.6~97 X-Git-Url: https://perl5.git.perl.org/perl5.git/commitdiff_plain/ac950c896259b18f7198cb1afc8ac44ab5eb9072?hp=b30a5dee76d42a0c8e99b595031828d9df32ca4b perlapi: Consolidate newRV and newRV_inc pod --- diff --git a/embed.fnc b/embed.fnc index e605369..573ecc5 100644 --- a/embed.fnc +++ b/embed.fnc @@ -1475,7 +1475,7 @@ ApdR |OP* |newPADOP |I32 type|I32 flags|NN SV* sv #endif ApdR |OP* |newPMOP |I32 type|I32 flags ApdR |OP* |newPVOP |I32 type|I32 flags|NULLOK char* pv -ApR |SV* |newRV |NN SV *const sv +ApdR |SV* |newRV |NN SV *const sv ApdR |SV* |newRV_noinc |NN SV *const tmpRef ApdR |SV* |newSV |const STRLEN len ApR |OP* |newSVREF |NN OP* o diff --git a/sv.h b/sv.h index 9d11270..1a5aa31 100644 --- a/sv.h +++ b/sv.h @@ -2170,10 +2170,11 @@ Returns the hash for C created by C>. #endif /* -=for apidoc Am|SV*|newRV_inc|SV* sv +=for apidoc newRV +=for apidoc_item ||newRV_inc| -Creates an RV wrapper for an SV. The reference count for the original SV is -incremented. +These are identical. They create an RV wrapper for an SV. The reference count +for the original SV is incremented. =cut */