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