summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-09-22 04:34:24 -0600
committerKarl Williamson <khw@cpan.org>2022-09-29 05:51:06 -0600
commitb5c77da6f1edee7fdbccb212e9a589f84806152b (patch)
treebc4cafd81859274279aab159eb6ff4cb508fb2e6 /embed.fnc
parenta8ee4325d5c88e2fe877764610743afed53482cb (diff)
downloadperl-b5c77da6f1edee7fdbccb212e9a589f84806152b.tar.gz
locale.c Change function to return a string, not print
This makes some print statements less awkward, and is more flexible, which will be used in future commits
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc4
1 files changed, 1 insertions, 3 deletions
diff --git a/embed.fnc b/embed.fnc
index e52cc57019..5a015eb8e9 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -3450,11 +3450,9 @@ SR |char * |my_setlocale_debug_string_i \
|const line_t line
# endif
# endif
-# ifdef DEBUGGING
-S |void |print_bytes_for_locale |NN const char * const s \
+S |const char *|get_displayable_string|NN const char * const s \
|NN const char * const e \
|const bool is_utf8
-# endif
#endif
#if defined(PERL_IN_UTIL_C)