summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO5
-rw-r--r--libnumtext.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..0217292
--- /dev/null
+++ b/TODO
@@ -0,0 +1,5 @@
+Add [libnumtext_]text2num: text to digits, with analysis (possible flags from num2text)
+Add [libnumtext_]card2ord: convert cardinal in digits to ordinal in digits with necessary text (like superiors in English)
+Add num2text: conversion utility that wraps libnumtext_num2text
+Add numtext-strip: utility that wraps libnumtext_remove_separators
+Add man pages and README
diff --git a/libnumtext.h b/libnumtext.h
index 7e8f944..27bd73f 100644
--- a/libnumtext.h
+++ b/libnumtext.h
@@ -51,10 +51,10 @@ enum libnumtext_language {
#define LIBNUMTEXT_N2T_SWEDISH_LATEX_TRIPLETS UINT32_C(0x00002000) /* …, e"ttusen, … (for use in LaTeX) */
/* [1] If used, also use LIBNUMTEXT_N2T_SWEDISH_IMPLICIT_ONE, otherwise the Swedish becomes odd, and arguably incorrect */
-/* [2] Requires LIBNUMTEXT_N2T_SWEDISH_ORDINAL (no effect) or LIBNUMTEXT_N2T_SWEDISH_DENOMINATOR */
+/* [2] Requires LIBNUMTEXT_N2T_SWEDISH_ORDINAL (no effect) or LIBNUMTEXT_N2T_SWEDISH_DENOMINATOR */
-/* input to libnumtext_num2str may not contain separators */
+/* input to libnumtext_num2text may not contain separators */
ssize_t libnumtext_remove_separators(char *outbuf, size_t outbuf_size, const char *num, size_t num_len,
enum libnumtext_language lang);