Add a new API function newSV_type, to replace the idiom:
authorNicholas Clark <nick@ccl4.org>
Sun, 18 Feb 2007 19:40:43 +0000 (19:40 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 18 Feb 2007 19:40:43 +0000 (19:40 +0000)
commitb9f83d2f7c4cb24d96302c6fcaa5e60628fad1f8
tree65417bf74a7dc6b1ad198dcf0f64abbe38d16a66
parentbe2b1c742382f74864880924170180bbe1904463
Add a new API function newSV_type, to replace the idiom:
sv = newSV(0);
sv_upgrade(sv, type);

p4raw-id: //depot/perl@30347
16 files changed:
av.c
embed.fnc
embed.h
global.sym
gv.c
hv.c
mathoms.c
op.c
pad.c
perl.c
pp.c
pp_ctl.c
pp_hot.c
proto.h
sv.c
toke.c