summaryrefslogtreecommitdiff
path: root/pod/perlapi.pod
diff options
context:
space:
mode:
authorMarcus Holland-Moritz <mhx-perl@gmx.net>2008-10-29 20:39:43 +0000
committerMarcus Holland-Moritz <mhx-perl@gmx.net>2008-10-29 20:39:43 +0000
commit87cea99e29dc843a5ce7742434c86a627eb3f6f5 (patch)
tree211cb7ed7bd93f69d19474a5fe8f41308274e2d0 /pod/perlapi.pod
parentc146e5603f197ef152e73ffdb999013d4616f5e5 (diff)
downloadperl-87cea99e29dc843a5ce7742434c86a627eb3f6f5.tar.gz
Remove redundant API definitions from '=for apidoc' sections.
Those are already in embed.fnc, and most of them were already outdated. This also fixes the docs for pv_escape and pv_pretty. p4raw-id: //depot/perl@34642
Diffstat (limited to 'pod/perlapi.pod')
-rw-r--r--pod/perlapi.pod13
1 files changed, 1 insertions, 12 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod
index 8b47295560..0738dfbf73 100644
--- a/pod/perlapi.pod
+++ b/pod/perlapi.pod
@@ -237,7 +237,7 @@ X<av_len>
Returns the highest index in the array. The number of elements in the
array is C<av_len(av) + 1>. Returns -1 if the array is empty.
- I32 av_len(const AV *av)
+ I32 av_len(AV *av)
=for hackers
Found in file av.c
@@ -836,9 +836,6 @@ Found in file dump.c
=item pv_escape
X<pv_escape>
- |const STRLEN count|const STRLEN max
- |STRLEN const *escaped, const U32 flags
-
Escapes at most the first "count" chars of pv and puts the results into
dsv such that the size of the escaped string will not exceed "max" chars
and will not contain any incomplete escape sequences.
@@ -873,8 +870,6 @@ sequences, whereas '%' is not a particularly common character in patterns.
Returns a pointer to the escaped text as held by dsv.
-NOTE: the perl_ form of this function is deprecated.
-
char* pv_escape(SV *dsv, char const * const str, const STRLEN count, const STRLEN max, STRLEN * const escaped, const U32 flags)
=for hackers
@@ -883,10 +878,6 @@ Found in file dump.c
=item pv_pretty
X<pv_pretty>
- |const STRLEN count|const STRLEN max\
- |const char const *start_color| const char const *end_color\
- |const U32 flags
-
Converts a string into something presentable, handling escaping via
pv_escape() and supporting quoting and ellipses.
@@ -906,8 +897,6 @@ any quotes or ellipses.
Returns a pointer to the prettified text as held by dsv.
-NOTE: the perl_ form of this function is deprecated.
-
char* pv_pretty(SV *dsv, char const * const str, const STRLEN count, const STRLEN max, char const * const start_color, char const * const end_color, const U32 flags)
=for hackers