diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-04-07 08:51:49 -0500 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-04-08 11:29:22 +0000 |
commit | 45977657b0fa2c29b268b817f40e6b295a501d39 (patch) | |
tree | 60bae3828a7280d4a28993fc2e4376977bae5fcd /ext | |
parent | f599b64b5d5d221c90b5f40eb5ad167f16c1822c (diff) | |
download | perl-45977657b0fa2c29b268b817f40e6b295a501d39.tar.gz |
Refactoring to Sv*_set() macros - patch #2
Message-ID: <20050407185149.GA4418@mccoy.peters.homeunix.org>
p4raw-id: //depot/perl@24204
Diffstat (limited to 'ext')
-rw-r--r-- | ext/List/Util/Util.xs | 2 | ||||
-rwxr-xr-x | ext/threads/threads.xs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/List/Util/Util.xs b/ext/List/Util/Util.xs index a1f956a6d6..96b8cab534 100644 --- a/ext/List/Util/Util.xs +++ b/ext/List/Util/Util.xs @@ -364,7 +364,7 @@ CODE: } #endif else { - SvIVX(ST(0)) = SvIV(num); + SvIV_set(ST(0), SvIV(num)); SvIOK_on(ST(0)); } if(PL_tainting && (SvTAINTED(num) || SvTAINTED(str))) diff --git a/ext/threads/threads.xs b/ext/threads/threads.xs index 693c922c82..03cb590b13 100755 --- a/ext/threads/threads.xs +++ b/ext/threads/threads.xs @@ -205,7 +205,7 @@ int ithread_mg_get(pTHX_ SV *sv, MAGIC *mg) { ithread *thread = (ithread *) mg->mg_ptr; - SvIVX(sv) = PTR2IV(thread); + SvIV_set(sv, PTR2IV(thread)); SvIOK_on(sv); return 0; } |