summaryrefslogtreecommitdiff
path: root/embed.fnc
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 /embed.fnc
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 'embed.fnc')
-rw-r--r--embed.fnc4
1 files changed, 3 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index c965b1ae0a..81127e0375 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -980,8 +980,10 @@ Apd |void |sv_setpvn_mg |NN SV *sv|NN const char *ptr|STRLEN len
Apd |void |sv_setsv_mg |NN SV *dstr|NULLOK SV *sstr
Apdbm |void |sv_usepvn_mg |NN SV *sv|NULLOK char *ptr|STRLEN len
ApR |MGVTBL*|get_vtbl |int vtbl_id
-Ap |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \
+Apd |char* |pv_display |NN SV *dsv|NN const char *pv|STRLEN cur|STRLEN len \
|STRLEN pvlim
+Apd |char* |pv_escape |NN SV *dsv|NN const char *pv|const STRLEN count \
+ |const STRLEN max|const U32 flags
Afp |void |dump_indent |I32 level|NN PerlIO *file|NN const char* pat|...
Ap |void |dump_vindent |I32 level|NN PerlIO *file|NN const char* pat \
|NULLOK va_list *args