diff options
Diffstat (limited to 'include/u8c/iscntrl.h')
-rw-r--r-- | include/u8c/iscntrl.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/u8c/iscntrl.h b/include/u8c/iscntrl.h index 0f52911..5ffe157 100644 --- a/include/u8c/iscntrl.h +++ b/include/u8c/iscntrl.h @@ -13,15 +13,11 @@ If not, see <https://www.gnu.org/licenses/>. */ -/* Is digit */ +/* Is control */ # if !defined(luma_sym_iscntrl) # define luma_sym_iscntrl +# include <stdbool.h> # include <stdint.h> -# if defined(__cplusplus) -extern "C" { -# endif -extern uint_least8_t u8c_iscntrl(uint_least8_t * const res,uint_least32_t const chr); -# if defined(__cplusplus) -} -# endif +# include <uchar.h> +extern bool u8c_iscntrl(uint_least8_t * const res,char32_t const chr); # endif |