summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2006-07-05 22:40:58 +0200
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2006-07-06 09:01:16 +0000
commit3df15adcc3686bbc809ac9706048f258fd787941 (patch)
treebd6b7c7ce244294e61821308b249c098f6554ed9 /perl.h
parent461824dcfbc00b3c4e20590f06d6c9881e4a416b (diff)
downloadperl-3df15adcc3686bbc809ac9706048f258fd787941.tar.gz
Introduce a new function, pv_escape(), to display contents of PVs
that might contain non printable chars. Subject: Re: [PATCH]: fix: [perl #39583] Pattern Match fails for specific length string Message-ID: <9b18b3110607051140n10c211a1jf17d3b7914d6f68b@mail.gmail.com> p4raw-id: //depot/perl@28490
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl.h b/perl.h
index 3a762fa907..8fd8e21ebc 100644
--- a/perl.h
+++ b/perl.h
@@ -5628,5 +5628,12 @@ extern void moncontrol(int);
so that Configure picks them up. */
+/* these are used by Perl_pv_escape() and are here so that they
+ * are available throughout the core */
+
+#define PERL_PV_ESCAPE_QUOTE 1
+#define PERL_PV_ESCAPE_PADR 2
+#define PERL_PV_ESCAPE_CAT 4
+
#endif /* Include guard */