diff options
-rw-r--r-- | changelog.md | 5 | ||||
-rw-r--r-- | include/u8c/ver.h | 2 | ||||
-rw-r--r-- | src/u8c/isalpha.c | 3 |
3 files changed, 9 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md index c66f951..844934d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,8 @@ +# ↋ + +* Fix `u8c_ver`. +* Add Turkish letters to `u8c_isalpha`. + # ↊ * Add UTF-32 alternatives to some of the functions from `ctypes.h`; `u8c_isalnum`, `u8c_isalpha`, `u8c_iscntrl`, `u8c_isdigit`, `u8c_isspace`, and `u8c_ispunct`. diff --git a/include/u8c/ver.h b/include/u8c/ver.h index c53bd70..8cd9daa 100644 --- a/include/u8c/ver.h +++ b/include/u8c/ver.h @@ -16,5 +16,5 @@ /* Version */ # if !defined(u8c_ver) # include <stdint.h> -# define u8c_ver (UINT64_C(0x10)) +# define u8c_ver (UINT64_C(0xB)) # endif diff --git a/src/u8c/isalpha.c b/src/u8c/isalpha.c index 82a4115..75f3586 100644 --- a/src/u8c/isalpha.c +++ b/src/u8c/isalpha.c @@ -54,6 +54,7 @@ uint_least8_t u8c_isalpha(uint_least8_t * const _res,uint_least32_t _chr) { case UINT32_C(0xE4): /* LATIN SMALL LETTER A WITH DIAERESIS */ case UINT32_C(0xE5): /* LATIN SMALL LETTER A WITH RING ABOVE */ case UINT32_C(0xE6): /* LATIN SMALL LETTER AE */ + case UINT32_C(0xE7): /* LATIN SMALL LETTER C WITH CEDILLA */ case UINT32_C(0xE9): /* LATIN SMALL LETTER E WITH ACUTE */ case UINT32_C(0xED): /* LATIN SMALL LETTER I WITH ACUTE */ case UINT32_C(0xF0): /* LATIN SMALL LETTER ETH */ @@ -64,11 +65,13 @@ uint_least8_t u8c_isalpha(uint_least8_t * const _res,uint_least32_t _chr) { case UINT32_C(0xFC): /* U WITH TWO DOTS */ case UINT32_C(0xFD): /* LATIN SMALL LETTER Y WITH ACUTE */ case UINT32_C(0xFE): /* LATIN SMALL LETTER THORN */ + case UINT32_C(0x11F): /* LATIN SMALL LETTER G WITH BREVE */ case UINT32_C(0x131): /* LATIN SMALL LETTER DOTLESS I */ case UINT32_C(0x133): /* LATIN SMALL LIGATURE LJ */ case UINT32_C(0x138): /* LATIN SMALL LETTER KRA */ case UINT32_C(0x14B): /* LATIN SMALL LETTER ENG */ case UINT32_C(0x153): /* LATIN SMALL LIGATURE OE */ + case UINT32_C(0x15F): /* LATIN SMALL LETTER S WITH CEDILLA */ case UINT32_C(0x1BF): /* LATIN LETTER WYNN */ case UINT32_C(0x1DD): /* LATIN SMALL LETTER TURNED E */ case UINT32_C(0x21D): /* LATIN SMALL LETTER YOGH */ |