summaryrefslogtreecommitdiff
path: root/embedvar.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-09-07 15:21:56 -0600
committerKarl Williamson <khw@cpan.org>2017-09-09 21:27:45 -0600
commitf741678155ebcc9639c420c23996e89e67bb0a4b (patch)
treec98c06d56883a0e9f9fece4dd2ee66a2a518b4d8 /embedvar.h
parent97a3682bccec0fd02cc1de1c9897bf23545ccf9c (diff)
downloadperl-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.h2
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)