diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-01-13 22:54:10 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-01-13 22:54:10 +0000 |
commit | f2b990bf33ddc9a2c27b053bb94a963bce0c09ce (patch) | |
tree | 639f2969570516ca882598101886056503f93def /scope.c | |
parent | c75bde89ee55ab4c3ff1da2c3438b11554305529 (diff) | |
download | perl-f2b990bf33ddc9a2c27b053bb94a963bce0c09ce.tar.gz |
replace NEWSV(), SvSetSV() with newSVsv()
p4raw-id: //depot/perl@23795
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -350,9 +350,8 @@ Perl_save_hash(pTHX_ GV *gv) void Perl_save_item(pTHX_ register SV *item) { - register SV *sv = NEWSV(0,0); + register SV *sv = newSVsv(item); - sv_setsv(sv,item); SSCHECK(3); SSPUSHPTR(item); /* remember the pointer */ SSPUSHPTR(sv); /* remember the value */ |