summaryrefslogtreecommitdiff
path: root/pp.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-03-05 18:12:41 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-03-05 18:12:41 +0000
commit595ae48196d4b0901d4a1aee37333fa960a6031f (patch)
treec62fea37a03cc0b202d406f748ebe4f828171526 /pp.h
parent41010ee291c2b5acc799d2426bfb74f41a33ba21 (diff)
downloadperl-595ae48196d4b0901d4a1aee37333fa960a6031f.tar.gz
Some tests for Camel 3rd edition features.
Make gethostbyaddr() test in above work. p4raw-id: //depot/perlio@9042
Diffstat (limited to 'pp.h')
-rw-r--r--pp.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/pp.h b/pp.h
index 5dbc09c4eb..61fadc3d0c 100644
--- a/pp.h
+++ b/pp.h
@@ -100,7 +100,16 @@ 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.
+
+=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.
@@ -122,6 +131,7 @@ Pops a long off the stack.
#define POPs (*sp--)
#define POPp (SvPVx(POPs, PL_na)) /* deprecated */
#define POPpx (SvPVx(POPs, n_a))
+#define POPpbytex (SvPVbytex(POPs, n_a))
#define POPn (SvNVx(POPs))
#define POPi ((IV)SvIVx(POPs))
#define POPu ((UV)SvUVx(POPs))