diff options
Diffstat (limited to 'include/u8c/u32cp.h')
-rw-r--r-- | include/u8c/u32cp.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/u8c/u32cp.h b/include/u8c/u32cp.h index 66cc870..01e2ae1 100644 --- a/include/u8c/u32cp.h +++ b/include/u8c/u32cp.h @@ -16,13 +16,8 @@ /* UTF-32 copy */ # if !defined(luma_sym_u32cp) # define luma_sym_u32cp +# include <stdbool.h> # include <stddef.h> -# include <stdint.h> -# if defined(__cplusplus) -extern "C" { -# endif -extern uint_least8_t u8c_u32cp(size_t * const sz,uint_least32_t const * * const out,uint_least32_t const * const in); -# if defined(__cplusplus) -} -# endif +# include <uchar.h> +extern bool u8c_u32cp(size_t * const sz,char32_t const * * const out,char32_t const * const in); # endif |