diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-06-08 11:00:54 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-06-08 11:00:54 +0000 |
commit | 622f6fb40be3d46d0be05fd151340b7bf6474c42 (patch) | |
tree | 68fe601b5d6a19d127fb2a0d344abf89b909e6ed | |
parent | a374f75f2772ba9c9db8c1dcc58f90690dd431de (diff) | |
download | perl-622f6fb40be3d46d0be05fd151340b7bf6474c42.tar.gz |
Eliminate more C<n_a>s
p4raw-id: //depot/perl@24757
-rw-r--r-- | XSUB.h | 4 | ||||
-rw-r--r-- | pp.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -260,8 +260,8 @@ Rethrows a previously caught exception. See L<perlguts/"Exception Handling">. #ifdef XS_VERSION # define XS_VERSION_BOOTCHECK \ STMT_START { \ - SV *_sv; STRLEN n_a; \ - const char *vn = Nullch, *module = SvPV_const(ST(0),n_a); \ + SV *_sv; \ + const char *vn = Nullch, *module = SvPV_nolen_const(ST(0)); \ if (items >= 2) /* version supplied as bootstrap arg */ \ _sv = ST(1); \ else { \ @@ -142,7 +142,7 @@ Pops a long off the stack. #define TOPm1s (*(sp-1)) #define TOPp1s (*(sp+1)) #define TOPp (SvPV(TOPs, PL_na)) /* deprecated */ -#define TOPpx (SvPV(TOPs, n_a)) +#define TOPpx (SvPV_nolen(TOPs)) #define TOPn (SvNV(TOPs)) #define TOPi ((IV)SvIV(TOPs)) #define TOPu ((UV)SvUV(TOPs)) |