projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f880fe2
)
Two more uses of lvalue SvIVX()
Nicholas Clark [Mon, 18 Apr 2005 14:15:52 +0000 (14:15 +0000)]
p4raw-id: //depot/perl@24240
ext/ByteLoader/byterun.c
patch
|
blob
|
blame
|
history
lib/ExtUtils/t/Constant.t
patch
|
blob
|
blame
|
history
diff --git
a/ext/ByteLoader/byterun.c
b/ext/ByteLoader/byterun.c
index
f110147
..
d2f4242
100644
(file)
--- a/
ext/ByteLoader/byterun.c
+++ b/
ext/ByteLoader/byterun.c
@@
-242,7
+242,7
@@
byterun(pTHX_ register struct byteloader_state *bstate)
{
IV arg;
BGET_IV(arg);
- SvIVX(bstate->bs_sv) = arg;
+ SvIV_set(bstate->bs_sv, arg);
break;
}
case INSN_XNV: /* 26 */
diff --git
a/lib/ExtUtils/t/Constant.t
b/lib/ExtUtils/t/Constant.t
index
4a1657c
..
0ef797a
100644
(file)
--- a/
lib/ExtUtils/t/Constant.t
+++ b/
lib/ExtUtils/t/Constant.t
@@
-508,7
+508,7
@@
EOT
{name=>"RFC1149", type=>"SV", value=>"sv_2mortal(temp_sv)",
pre=>"SV *temp_sv = newSVpv(RFC1149, 0); "
. "(void) SvUPGRADE(temp_sv,SVt_PVIV); SvIOK_on(temp_sv); "
- . "SvIVX(temp_sv) = 1149;"},
+ . "SvIV_set(temp_sv, 1149);"},
);
push @items, $_ foreach keys %compass;