summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-08-14 11:56:03 -0600
committerKarl Williamson <khw@cpan.org>2014-08-14 12:04:39 -0600
commit747c467a69dad4c76485fb6311c9645d3152d02a (patch)
tree1e6f06312ddbe789b94766c449d46704f85df7a2 /proto.h
parenta94ee3a1678e204b7e436950171bf0c28ea554f5 (diff)
downloadperl-747c467a69dad4c76485fb6311c9645d3152d02a.tar.gz
Add sync_locale()
This trivial function is to be used by XS code when it changes the program's locale. It hides the details from that code of what needs to be done, which could change in the future.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 1e42903307..19ec194abf 100644
--- a/proto.h
+++ b/proto.h
@@ -4690,6 +4690,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_sync_locale(pTHX);
PERL_CALLCONV void Perl_sys_init(int* argc, char*** argv)
__attribute__nonnull__(1)
__attribute__nonnull__(2);