From 387c4d793c5025290c18c7f8393e1595adde7942 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 5 Sep 2021 20:53:38 +0200 Subject: Work on Swedish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- common.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'common.h') diff --git a/common.h b/common.h index 2984213..15801eb 100644 --- a/common.h +++ b/common.h @@ -2,7 +2,27 @@ #include "libnumtext.h" #include #include +#include +#include +#include #include +#include -ssize_t libnumtext_num2text_swedish__(char outbuf[], size_t outbuf_size, const char *num, size_t num_len, uint32_t flags); +#if defined(__clang__) +# pragma clang diagnostic ignored "-Wcovered-switch-default" +# pragma clang diagnostic ignored "-Wpadded" +#endif + + +#if defined(__clang__) +# define FALL_THROUGH __attribute__((fallthrough)); +#else +# define FALL_THROUGH +#endif + + +#define UNICODE_MINUS "−" + + +ssize_t libnumtext_num2text_swedish__(char *outbuf, size_t outbuf_size, const char *num, size_t num_len, uint32_t flags); -- cgit v1.2.3-70-g09d2