summaryrefslogtreecommitdiff
path: root/dump.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-03-02 17:29:31 +0000
committerDavid Mitchell <davem@iabyn.com>2016-03-02 17:29:31 +0000
commitc24d0595c9166aecac9842f4195f1d967468fd5a (patch)
tree87c0f803ab797e132ec6457be1b67d3e137c2f1c /dump.c
parent6e72ca7018e96d54b93ca8c41f8033a1f9c2e874 (diff)
downloadperl-c24d0595c9166aecac9842f4195f1d967468fd5a.tar.gz
document args of Perl_do_sv_dump()
Diffstat (limited to 'dump.c')
-rw-r--r--dump.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/dump.c b/dump.c
index bc2776ac51..dcc00f5891 100644
--- a/dump.c
+++ b/dump.c
@@ -1423,6 +1423,16 @@ const struct flag_to_name regexp_core_intflags_names[] = {
{PREGf_ANCH_GPOS, "ANCH_GPOS,"},
};
+/* Perl_do_sv_dump():
+ *
+ * level: amount to indent the output
+ * sv: the object to dump
+ * nest: the current level of recursion
+ * maxnest: the maximum allowed level of recursion
+ * dumpops: if true, also dump the ops associated with a CV
+ * pvlim: limit on the length of any strings that are output
+ * */
+
void
Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bool dumpops, STRLEN pvlim)
{