chiark / gitweb /
utf8.[ch] et al: use char32_t and char16_t instead of int, int32_t, int16_t
authorShawn Landden <shawn@churchofgit.com>
Sun, 13 Dec 2015 22:26:43 +0000 (14:26 -0800)
committerSven Eden <yamakuzure@gmx.net>
Wed, 17 May 2017 13:22:14 +0000 (15:22 +0200)
commit3a7af06c3e33eb33e8c177ab0891d10c687aed83
treeea140377bdde49ed22fdb5d3cf3f0e6a6d6df014
parentd9a6c68accd606c69cfb92b6ffba3ca8e3cf6c56
utf8.[ch] et al: use char32_t and char16_t instead of int, int32_t, int16_t

rework C11 utf8.[ch] to use char32_t instead of uint32_t when referring
to unicode chars, to make things more expressive.

[
 @zonque:
  * rebased to current master
  * use AC_CHECK_DECLS to detect availibility of char{16,32}_t
  * make utf8_encoded_to_unichar() return int
]
src/basic/string-util.c
src/basic/utf8.c
src/basic/utf8.h