From: Dave Mitchell Date: Tue, 31 Jul 2001 11:52:42 +0000 (+0100) Subject: Re: [PATCH sv.c] mortal doc thinko X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d4236ebc0e9fe139413a771b6865f122276a736a;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH sv.c] mortal doc thinko Message-Id: <200107311052.LAA14427@gizmo.fdgroup.co.uk> p4raw-id: //depot/perl@11521 --- diff --git a/sv.c b/sv.c index f74adea..b8468a5 100644 --- a/sv.c +++ b/sv.c @@ -6050,8 +6050,9 @@ Perl_sv_dec(pTHX_ register SV *sv) =for apidoc sv_mortalcopy Creates a new SV which is a copy of the original SV (using C). -The new SV is marked as mortal. It will be destroyed when the current -context ends. See also C and C. +The new SV is marked as mortal. It will be destroyed "soon", either by an +explicit call to FREETMPS, or by an implicit call at places such as +statement boundaries. See also C and C. =cut */ @@ -6078,8 +6079,9 @@ Perl_sv_mortalcopy(pTHX_ SV *oldstr) =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 and C. +set to 1. It will be destroyed "soon", either by an explicit call to +FREETMPS, or by an implicit call at places such as statement boundaries. +See also C and C. =cut */ @@ -6099,8 +6101,9 @@ Perl_sv_newmortal(pTHX) /* =for apidoc sv_2mortal -Marks an existing SV as mortal. The SV will be destroyed when the current -context ends. See also C and C. +Marks an existing SV as mortal. The SV will be destroyed "soon", either +by an explicit call to FREETMPS, or by an implicit call at places such as +statement boundaries. See also C and C. =cut */