diff options
Diffstat (limited to 'include/u8c/isdigit.h')
-rw-r--r-- | include/u8c/isdigit.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/u8c/isdigit.h b/include/u8c/isdigit.h index c2053c7..a28dd9a 100644 --- a/include/u8c/isdigit.h +++ b/include/u8c/isdigit.h @@ -16,12 +16,8 @@ /* Is digit */ # if !defined(luma_sym_isdigit) # define luma_sym_isdigit +# include <stdbool.h> # include <stdint.h> -# if defined(__cplusplus) -extern "C" { -# endif -extern uint_least8_t u8c_isdigit(uint_least8_t * const res,uint_least32_t const chr); -# if defined(__cplusplus) -} -# endif +# include <uchar.h> +extern bool u8c_isdigit(uint_least8_t * const res,char32_t const chr); # endif |