Hash :
db74d417
Author :
Date :
2010-06-09T18:22:25
inttostr: add a new function, inttostr, and tests The namesake function was not available. The existence of the template file, inttostr.c makes its addition nontrivial. * lib/anytostr.c: Rename from inttostr.c. (anytostr): Rename from inttostr. * lib/inttostr.c: New file. * modules/inttostr (Files): Add anytostr.c. (Makefile.am): Set lib_SOURCES instead of ... * m4/inttostr.m4: Remove uses of AC_LIBOBJ. * lib/imaxtostr.c: Update use. s/inttostr/anytostr/ * lib/offtostr.c: Likewise. * lib/uinttostr.c: Likewise. * lib/umaxtostr.c: Likewise. * modules/inttostr-tests: New file. * tests/test-inttostr.c: New file. Test these functions.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
Description:
Convert integers to printable strings.
Files:
lib/anytostr.c
lib/imaxtostr.c
lib/inttostr.c
lib/inttostr.h
lib/offtostr.c
lib/umaxtostr.c
lib/uinttostr.c
m4/inttostr.m4
Depends-on:
intprops
stdint
verify
configure.ac:
gl_INTTOSTR
Makefile.am:
lib_SOURCES += \
imaxtostr.c \
inttostr.c \
offtostr.c \
uinttostr.c \
umaxtostr.c
Include:
"inttostr.h"
License:
LGPL
Maintainer:
Paul Eggert