diff options
author | Karl Williamson <khw@cpan.org> | 2021-02-24 04:24:48 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-06-16 06:18:39 -0600 |
commit | d188fe6d7ad41562666403fe77e959af6513771d (patch) | |
tree | 44fb8f13028206e815016c20929176cf1eefdabd /embed.h | |
parent | 7e1cacefbdbeaeb1d6ea1a9f1b8ffc2a0e080062 (diff) | |
download | perl-d188fe6d7ad41562666403fe77e959af6513771d.tar.gz |
locale.c: Use get_category_index()
This creates the first uses of the function added in the previous commit.
It changes the name of a function that now takes an index to have the
suffix _i to indicate its calling parameter is a category index rather
than a category. This will become a common paradigm in this file in
later commits.
Two macros are also created to call that function; they have suffixes _c
(to indicate the parameter is a category known at compile time, and _r
(to indicate it needs to be computed at runtime). This is in keeping
with the already existing paradigm in this file.
Diffstat (limited to 'embed.h')
-rw-r--r-- | embed.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1532,7 +1532,7 @@ # if defined(USE_LOCALE) #define print_bytes_for_locale(a,b,c) S_print_bytes_for_locale(aTHX_ a,b,c) #define print_collxfrm_input_and_return(a,b,c,d) S_print_collxfrm_input_and_return(aTHX_ a,b,c,d) -#define setlocale_debug_string S_setlocale_debug_string +#define setlocale_debug_string_i S_setlocale_debug_string_i # endif # endif # if defined(PERL_IN_PAD_C) |