diff options
author | Karl Williamson <khw@cpan.org> | 2017-02-13 19:57:53 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-02-13 21:24:11 -0700 |
commit | 7e2f38b21adec3a814f436b1c0c7e79796f5dcc5 (patch) | |
tree | 1be361bd816726c0528205f5b28d96c633b08f2a /embed.fnc | |
parent | 6b58f9be8c82394d776908727ff4e9d582f87f12 (diff) | |
download | perl-7e2f38b21adec3a814f436b1c0c7e79796f5dcc5.tar.gz |
Make _byte_dump_string() usable in all of core
I found myself needing this function for development debugging, which
formerly was only usable from utf8.c. This enhances it to allow a
second format type, and makes it core-accessible.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1715,6 +1715,10 @@ ApdD |UV |to_utf8_case |NN const U8 *p \ |NN SV **swashp \ |NN const char *normal| \ NULLOK const char *special +ApM |char * |_byte_dump_string \ + |NN const U8 * s \ + |const STRLEN len \ + |const bool format #if defined(PERL_IN_UTF8_C) inR |bool |does_utf8_overflow|NN const U8 * const s|NN const U8 * e inR |bool |is_utf8_overlong_given_start_byte_ok|NN const U8 * const s|const STRLEN len @@ -1724,7 +1728,6 @@ sMR |char * |unexpected_non_continuation_text \ |STRLEN print_len \ |const STRLEN non_cont_byte_pos \ |const STRLEN expect_len -sM |char * |_byte_dump_string|NN const U8 * s|const STRLEN len s |void |warn_on_first_deprecated_use \ |NN const char * const name \ |NN const char * const alternative \ |