summaryrefslogtreecommitdiff
path: root/lib/canon-host.h
diff options
context:
space:
mode:
authorMarc Nieper-Wißkirchen <marc@nieper-wisskirchen.de>2020-05-20 13:59:31 +0200
committerBruno Haible <bruno@clisp.org>2020-06-25 21:14:50 +0200
commit39be62df3b9b2453392109f4b6c4bb418e8d175a (patch)
tree330a9a9744072f8651d8e2d108cedcfba7553938 /lib/canon-host.h
parent1921016d67285da9460db5cadd5e5ed32a6581d1 (diff)
downloadgnulib-39be62df3b9b2453392109f4b6c4bb418e8d175a.tar.gz
c-dtoastr, c-ldtoastr: new modules
These modules provide the same functionality as the modules dtoastr and ldtoastr except for the formatting taking place in the C locale. * MODULES.html.sh: Add c-dtoastr and c-ldtoastr. * lib/c-dtoastr.c, lib/c-ldtoastr.c: New files. * lib/ftoastr.c: Prefix exported functions when the macro C_LOCALE is defined. Use c_snprintf and c_strtod/c_strtold instead of snprintf and strtod/strtold whhen the macro C_LOCALE is defined. * lib/ftoastr.h: Add prototypes for c_dtoastr and c_ldtoastr. * modules/c-dtoastr, modules/c-dtoastr-tests, modules/c-ldtoastr, modules/c-ldtoastr-tests: New files. * tests/test-c-dtoastr.c, tests/test-c-dtoastr.sh, tests-c-ldtoastr.c tests-c-ldtoastr.sh: New files.
Diffstat (limited to 'lib/canon-host.h')
0 files changed, 0 insertions, 0 deletions