diff options
author | Karl Williamson <khw@cpan.org> | 2017-09-07 15:21:56 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-09-09 21:27:45 -0600 |
commit | f741678155ebcc9639c420c23996e89e67bb0a4b (patch) | |
tree | c98c06d56883a0e9f9fece4dd2ee66a2a518b4d8 /embedvar.h | |
parent | 97a3682bccec0fd02cc1de1c9897bf23545ccf9c (diff) | |
download | perl-f741678155ebcc9639c420c23996e89e67bb0a4b.tar.gz |
Add API function Perl_langinfo()
This is designed to generally replace nl_langinfo() in XS code. It is
thread-safer, hides the quirks of perl's LC_NUMERIC handling, and can be
used on systems lacking nl_langinfo.
Diffstat (limited to 'embedvar.h')
-rw-r--r-- | embedvar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embedvar.h b/embedvar.h index 7d284b894b..8b9842f9cc 100644 --- a/embedvar.h +++ b/embedvar.h @@ -176,6 +176,8 @@ #define PL_inplace (vTHX->Iinplace) #define PL_isarev (vTHX->Iisarev) #define PL_known_layers (vTHX->Iknown_layers) +#define PL_langinfo_buf (vTHX->Ilanginfo_buf) +#define PL_langinfo_bufsize (vTHX->Ilanginfo_bufsize) #define PL_last_in_gv (vTHX->Ilast_in_gv) #define PL_last_swash_hv (vTHX->Ilast_swash_hv) #define PL_last_swash_key (vTHX->Ilast_swash_key) |