develooper Front page | perl.perl5.porters | Postings from July 2001

[PATCH sv.c] mortal doc thinko

Thread Next
From:
Dave Mitchell
Date:
July 26, 2001 08:45
Subject:
[PATCH sv.c] mortal doc thinko
Message ID:
200107261545.QAA09394@gizmo.fdgroup.co.uk
This minor patch for sv.c fixes some thinkos in the apidoc stuff
I added a while back.

Dave M.

--- sv.c-	Thu Jul 26 16:31:03 2001
+++ sv.c	Thu Jul 26 16:33:23 2001
@@ -6051,7 +6051,7 @@
 
 Creates a new SV which is a copy of the original SV (using C<sv_setsv>).
 The new SV is marked as mortal. It will be destroyed when the current
-context ends.  See also C<sv_newmortal> and C<sv_2mortal>.
+statement ends (or thereabouts).  See also C<sv_newmortal> and C<sv_2mortal>.
 
 =cut
 */
@@ -6078,8 +6078,8 @@
 =for apidoc sv_newmortal
 
 Creates a new null SV which is mortal.  The reference count of the SV is
-set to 1. It will be destroyed when the current context ends.  See
-also C<sv_mortalcopy> and C<sv_2mortal>.
+set to 1. It will be destroyed when the current statement ends (or
+thereabouts). See also C<sv_mortalcopy> and C<sv_2mortal>.
 
 =cut
 */
@@ -6099,8 +6099,8 @@
 /*
 =for apidoc sv_2mortal
 
-Marks an existing SV as mortal.  The SV will be destroyed when the current
-context ends. See also C<sv_newmortal> and C<sv_mortalcopy>.
+Marks an existing SV as mortal. The SV will be destroyed when the current
+statement ends (or thereabouts). See also C<sv_newmortal> and C<sv_mortalcopy>.
 
 =cut
 */



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About