diff options
Diffstat (limited to 'include/u8c/u8dec.h')
-rw-r--r-- | include/u8c/u8dec.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/u8c/u8dec.h b/include/u8c/u8dec.h index eed43ae..2b76df8 100644 --- a/include/u8c/u8dec.h +++ b/include/u8c/u8dec.h @@ -16,13 +16,8 @@ /* UTF-8 decode */ # if !defined(u8c_sym_dec) # define u8c_sym_dec +# include <stdbool.h> # include <stddef.h> -# include <stdint.h> -# if defined(__cplusplus) -extern "C" { -# endif -extern uint_least8_t u8c_u8dec(size_t * const sz,uint_least32_t const * * const out,uint_least8_t const * const in); -# if defined(__cplusplus) -} -# endif +# include <uchar.h> +extern bool u8c_u8dec(size_t * const sz,char32_t const * * const out,unsigned char const * const in); # endif |