summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2014-06-02 14:49:30 -0600
committerKarl Williamson <khw@cpan.org>2014-06-05 12:23:02 -0600
commitd6ded95025185cb1ec8ca3ba5879cab881d8b180 (patch)
tree2d5d8e027167706f5a25f1456331ce3e189f1232 /proto.h
parente9efacb9548c04c657ed5e5320168a87934aec52 (diff)
downloadperl-d6ded95025185cb1ec8ca3ba5879cab881d8b180.tar.gz
Add parameters to "use locale"
This commit allows one to specify to enable locale-awareness for only a specified subset of the locale categories. Thus you could make a section of code LC_MESSAGES aware, with no locale-awareness for the other categories.
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 4e6c8bec38..526d5c1e34 100644
--- a/proto.h
+++ b/proto.h
@@ -42,6 +42,7 @@ PERL_CALLCONV void Perl_Slab_Free(pTHX_ void *op)
#define PERL_ARGS_ASSERT_SLAB_FREE \
assert(op)
+PERL_CALLCONV bool Perl__is_in_locale_category(pTHX_ const bool compiling, const int category);
PERL_CALLCONV bool Perl__is_uni_FOO(pTHX_ const U8 classnum, const UV c)
__attribute__warn_unused_result__;