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