summaryrefslogtreecommitdiff
path: root/pp.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-06-08 08:07:05 +0000
committerNicholas Clark <nick@ccl4.org>2005-06-08 08:07:05 +0000
commit8c074e2aa6f4be490d6bedf1bc337b09fa1c1185 (patch)
treeb8e60ab0e59d55a84c1f651d1c5acba02e79289b /pp.h
parent002e4c743b8ad1aef49c84ea61819956800a7f1e (diff)
downloadperl-8c074e2aa6f4be490d6bedf1bc337b09fa1c1185.tar.gz
Convert POPpx POPpconstx and POPpbytex to use nolen macros.
Elminate a lot of C<n_a>s p4raw-id: //depot/perl@24748
Diffstat (limited to 'pp.h')
-rw-r--r--pp.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/pp.h b/pp.h
index dec43c7c82..1ca2fabc8c 100644
--- a/pp.h
+++ b/pp.h
@@ -98,16 +98,13 @@ See C<PUSHMARK> and L<perlcall> for other uses.
Pops an SV off the stack.
=for apidoc Amn|char*|POPp
-Pops a string off the stack. Deprecated. New code should provide
-a STRLEN n_a and use POPpx.
+Pops a string off the stack. Deprecated. New code should use POPpx.
=for apidoc Amn|char*|POPpx
Pops a string off the stack.
-Requires a variable STRLEN n_a in scope.
=for apidoc Amn|char*|POPpbytex
Pops a string off the stack which must consist of bytes i.e. characters < 256.
-Requires a variable STRLEN n_a in scope.
=for apidoc Amn|NV|POPn
Pops a double off the stack.
@@ -128,9 +125,9 @@ Pops a long off the stack.
#define POPs (*sp--)
#define POPp (SvPVx(POPs, PL_na)) /* deprecated */
-#define POPpx (SvPVx(POPs, n_a))
-#define POPpconstx (SvPVx_const(POPs, n_a))
-#define POPpbytex (SvPVbytex(POPs, n_a))
+#define POPpx (SvPVx_nolen(POPs))
+#define POPpconstx (SvPVx_nolen_const(POPs))
+#define POPpbytex (SvPVbytex_nolen(POPs))
#define POPn (SvNVx(POPs))
#define POPi ((IV)SvIVx(POPs))
#define POPu ((UV)SvUVx(POPs))