diff options
author | Karl Williamson <khw@cpan.org> | 2015-03-19 13:06:27 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2015-03-19 16:18:00 -0600 |
commit | 67d796aebd5882a4f28c5b95fb63f198a160c844 (patch) | |
tree | 283fb7684f5af5c98d29810b8855f9a55451bfdf /sv.c | |
parent | 0c36c41be6ceb31ab6c2cb9eaebf3d1fd7746e21 (diff) | |
download | perl-67d796aebd5882a4f28c5b95fb63f198a160c844.tar.gz |
Change some locale manipulation macros in prep for API
This changes the way some of the current internal-only macros are named
and used in order to simplify things and minimize what gets exposed as
part of the API.
Although these have not been listed as publicly available, it costs
essentially nothing to keep the old names around in case someone was
illegally using them.
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3160,7 +3160,8 @@ Perl_sv_2pv_flags(pTHX_ SV *const sv, STRLEN *const lp, const I32 flags) #else { bool local_radix; - DECLARE_STORE_LC_NUMERIC_SET_TO_NEEDED(); + DECLARATION_FOR_LC_NUMERIC_MANIPULATION; + STORE_LC_NUMERIC_SET_TO_NEEDED(); local_radix = PL_numeric_local && @@ -11205,7 +11206,7 @@ Perl_sv_vcatpvfn_flags(pTHX_ SV *const sv, const char *const pat, const STRLEN p bool no_redundant_warning = FALSE; /* did we use any explicit format parameter index? */ bool hexfp = FALSE; /* hexadecimal floating point? */ - DECLARATION_FOR_STORE_LC_NUMERIC_SET_TO_NEEDED; + DECLARATION_FOR_LC_NUMERIC_MANIPULATION; PERL_ARGS_ASSERT_SV_VCATPVFN_FLAGS; PERL_UNUSED_ARG(maybe_tainted); |