summaryrefslogtreecommitdiff
path: root/proto.h
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 /proto.h
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 'proto.h')
-rw-r--r--proto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto.h b/proto.h
index 91d8b61e2c..157b2c009a 100644
--- a/proto.h
+++ b/proto.h
@@ -5121,9 +5121,6 @@ PERL_CALLCONV void Perl_set_padlist(CV * cv, PADLIST * padlist);
#define PERL_ARGS_ASSERT_SET_PADLIST \
assert(cv)
# if defined(PERL_IN_LOCALE_C)
-STATIC void S_print_bytes_for_locale(pTHX_ const char * const s, const char * const e, const bool is_utf8);
-#define PERL_ARGS_ASSERT_PRINT_BYTES_FOR_LOCALE \
- assert(s); assert(e)
# if defined(USE_LOCALE)
STATIC const char * S_get_LC_ALL_display(pTHX);
#define PERL_ARGS_ASSERT_GET_LC_ALL_DISPLAY
@@ -5697,6 +5694,9 @@ PERL_CALLCONV SV* Perl_hfree_next_entry(pTHX_ HV *hv, STRLEN *indexp)
#endif
#if defined(PERL_IN_LOCALE_C)
+STATIC const char * S_get_displayable_string(pTHX_ const char * const s, const char * const e, const bool is_utf8);
+#define PERL_ARGS_ASSERT_GET_DISPLAYABLE_STRING \
+ assert(s); assert(e)
# if defined(USE_LOCALE)
STATIC unsigned int S_get_category_index(const int category, const char * locale);
#define PERL_ARGS_ASSERT_GET_CATEGORY_INDEX