diff options
author | Karl Williamson <khw@cpan.org> | 2019-08-04 18:16:10 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-09-02 21:52:10 -0600 |
commit | ea348ccb78d37293d5fc7720b8149bc1ac898065 (patch) | |
tree | 2871657d538e646eac5137761e09400388a7581a /perl.h | |
parent | c515c80fda3530cf3f562e63012a7e02781fbc17 (diff) | |
download | perl-ea348ccb78d37293d5fc7720b8149bc1ac898065.tar.gz |
perlapi: Document IN_LOCALE, and related
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -6133,6 +6133,27 @@ typedef struct am_table_short AMTS; # define IN_SOME_LOCALE_FORM_COMPILETIME \ cBOOL(PL_hints & (HINT_LOCALE|HINT_LOCALE_PARTIAL)) +/* +=head1 Locale-related functions and macros + +=for apidoc Amn|bool|IN_LOCALE + +Evaluates to TRUE if the plain locale pragma without a parameter (S<C<use +locale>>) is in effect. + +=for apidoc Amn|bool|IN_LOCALE_COMPILETIME + +Evaluates to TRUE if, when compiling a perl program (including an C<eval>) if +the plain locale pragma without a parameter (S<C<use locale>>) is in effect. + +=for apidoc Amn|bool|IN_LOCALE_RUNTIME + +Evaluates to TRUE if, when executing a perl program (including an C<eval>) if +the plain locale pragma without a parameter (S<C<use locale>>) is in effect. + +=cut +*/ + # define IN_LOCALE \ (IN_PERL_COMPILETIME ? IN_LOCALE_COMPILETIME : IN_LOCALE_RUNTIME) # define IN_SOME_LOCALE_FORM \ |