diff options
author | Karl Williamson <khw@cpan.org> | 2018-02-15 22:44:24 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-02-18 15:44:23 -0700 |
commit | 58e641fba50d93bcd84c0dc042b36d201958293d (patch) | |
tree | bd06d20f02a79ea06ae9a221870173f919482a5b /proto.h | |
parent | b2e9ba0c7ee0f62ac452f6ba0a7389659e2d6ee4 (diff) | |
download | perl-58e641fba50d93bcd84c0dc042b36d201958293d.tar.gz |
Add switch_to_globale_locale()
This new API function is for use in applications that call alien library
routines that are expecting the old pre-POSIX 2008 locale functionality,
namely a single global locale accessible via setlocale().
This function converts the calling thread to use that global locale, if
not already there.
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3513,6 +3513,7 @@ PERL_CALLCONV SV* Perl_swash_init(pTHX_ const char* pkg, const char* name, SV* l #define PERL_ARGS_ASSERT_SWASH_INIT \ assert(pkg); assert(name); assert(listsv) +PERL_CALLCONV void Perl_switch_to_global_locale(void); PERL_CALLCONV bool Perl_sync_locale(void); PERL_CALLCONV void Perl_sys_init(int* argc, char*** argv); #define PERL_ARGS_ASSERT_SYS_INIT \ |