From ac950c896259b18f7198cb1afc8ac44ab5eb9072 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 8 Oct 2020 13:53:47 -0600 Subject: [PATCH] perlapi: Consolidate newRV and newRV_inc pod --- embed.fnc | 2 +- sv.h | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) 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 */ -- 1.8.3.1