diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-01-03 20:58:09 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-01-03 20:58:09 +0000 |
commit | d277572a6346d5f51f7cc9aef51be155e4b63a19 (patch) | |
tree | 3ac35e79f684cd67caf1b0ee86be0e3ff2cdc215 | |
parent | 9a3fb6522b161a2f761167a3e37e9407a2011a9e (diff) | |
download | perl-d277572a6346d5f51f7cc9aef51be155e4b63a19.tar.gz |
Change dXSTARGET to dXSTARG as recommended by Spider Boardman.
p4raw-id: //depot/perl@23735
-rw-r--r-- | xsutils.c | 24 |
1 files changed, 3 insertions, 21 deletions
@@ -239,11 +239,7 @@ XS(XS_attributes__guess_stash) { dXSARGS; SV *rv, *sv; -#ifdef dXSTARGET - dXSTARGET; -#else - SV * TARG = sv_newmortal(); -#endif + dXSTARG; if (items != 1) { usage: @@ -287,9 +283,7 @@ usage: sv_setpv(TARG, HvNAME(stash)); } -#ifdef dXSTARGET SvSETMAGIC(TARG); -#endif XSRETURN(1); } @@ -297,11 +291,7 @@ XS(XS_attributes_reftype) { dXSARGS; SV *rv, *sv; -#ifdef dXSTARGET - dXSTARGET; -#else - SV * TARG = sv_newmortal(); -#endif + dXSTARG; if (items != 1) { usage: @@ -317,9 +307,7 @@ usage: goto usage; sv = SvRV(rv); sv_setpv(TARG, sv_reftype(sv, 0)); -#ifdef dXSTARGET SvSETMAGIC(TARG); -#endif XSRETURN(1); } @@ -327,11 +315,7 @@ usage: XS(XS_attributes__warn_reserved) { dXSARGS; -#ifdef dXSTARGET - dXSTARGET; -#else - SV * TARG = sv_newmortal(); -#endif + dXSTARG; if (items != 0) { Perl_croak(aTHX_ @@ -341,9 +325,7 @@ XS(XS_attributes__warn_reserved) EXTEND(SP,1); ST(0) = TARG; sv_setiv(TARG, ckWARN(WARN_RESERVED) != 0); -#ifdef dXSTARGET SvSETMAGIC(TARG); -#endif XSRETURN(1); } |