From 79ff8c358f3d724b2b5d5cc890f96f05efbf6794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Sun, 20 May 2018 22:11:12 -0700 Subject: wchar-single: a new module to enable optimizations in wchar replacements * lib/mbrtowc.c (mbrtowc): Only check locale_charset() once if GNULIB_WCHAR_SINGLE is enabled. * lib/wcwidth.c (wcwidth): Likewise. --- modules/wchar-single | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 modules/wchar-single (limited to 'modules/wchar-single') diff --git a/modules/wchar-single b/modules/wchar-single new file mode 100644 index 0000000000..e047de008b --- /dev/null +++ b/modules/wchar-single @@ -0,0 +1,21 @@ +Description: +Enable more efficient wchar replacements, where we know +the locale charset will not change between calls. + +Files: + +Depends-on: +wchar + +configure.ac: +gl_MODULE_INDICATOR([wchar-single]) + +Makefile.am: + +Include: + +License: +LGPLv2+ + +Maintainer: +all -- cgit v1.2.1