summaryrefslogblamecommitdiffstats
path: root/libnumtext_card2ord.c
blob: eb9915614bcfb1209e0e6b9c307454c1f5ba799e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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;
	}
}