diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-06-29 15:26:34 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-06-29 15:26:34 +0000 |
commit | 37d2ac1837312847ffa94e41a7233dcd5cd4c1fe (patch) | |
tree | 0770464dc3eb2443e7088c68a15bf5bb82d722e4 /sv.c | |
parent | b64ba24ccbc4997863a040c844f7277cafb08de3 (diff) | |
download | perl-37d2ac1837312847ffa94e41a7233dcd5cd4c1fe.tar.gz |
Note that sv_2mortal isn't just "increase reference count by 1, and
mark that it needs a deferred recount"
p4raw-id: //depot/perl@23011
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -7574,7 +7574,9 @@ Perl_sv_newmortal(pTHX) 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<sv_newmortal> and C<sv_mortalcopy>. +statement boundaries. SvTEMP() is turned on which means that the SV's +string buffer can be "stolen" if this SV is copied. See also C<sv_newmortal> +and C<sv_mortalcopy>. =cut */ |