diff options
Diffstat (limited to '')
-rw-r--r-- | libnumtext_card2ord.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libnumtext_card2ord.c b/libnumtext_card2ord.c new file mode 100644 index 0000000..eb99156 --- /dev/null +++ b/libnumtext_card2ord.c @@ -0,0 +1,18 @@ +/* See LICENSE file for copyright and license details. */ +#include "common.h" + + +ssize_t +libnumtext_card2ord(char *outbuf, size_t outbuf_size, const char *num, size_t num_len, + enum libnumtext_language lang, uint32_t flags, ...) +{ + switch (lang) { + + case LIBNUMTEXT_SWEDISH: + return libnumtext_card2ord_swedish__(outbuf, outbuf_size, num, num_len, flags); + + default: + errno = EINVAL; + return -1; + } +} |