summaryrefslogtreecommitdiff
path: root/dump.c
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 /dump.c
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 'dump.c')
-rw-r--r--dump.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/dump.c b/dump.c
index 7e48ae7772..3a34fcb8c7 100644
--- a/dump.c
+++ b/dump.c
@@ -169,9 +169,7 @@ Perl_dump_eval(pTHX)
/*
-=for apidoc Apd|char*|pv_escape|NN SV *dsv|NN const char const *str\
- |const STRLEN count|const STRLEN max
- |STRLEN const *escaped, const U32 flags
+=for apidoc pv_escape
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
@@ -308,10 +306,7 @@ Perl_pv_escape( pTHX_ SV *dsv, char const * const str,
return SvPVX(dsv);
}
/*
-=for apidoc Apd|char *|pv_pretty|NN SV *dsv|NN const char const *str\
- |const STRLEN count|const STRLEN max\
- |const char const *start_color| const char const *end_color\
- |const U32 flags
+=for apidoc pv_pretty
Converts a string into something presentable, handling escaping via
pv_escape() and supporting quoting and ellipses.