]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/escape.c
utf8.[ch] et al: use char32_t and char16_t instead of int, int32_t, int16_t 2451/head
authorShawn Landden <shawn@churchofgit.com>
Sun, 13 Dec 2015 22:26:43 +0000 (14:26 -0800)
committerDaniel Mack <daniel@zonque.org>
Wed, 27 Jan 2016 13:10:02 +0000 (14:10 +0100)
commitc932fb71cc90461b88ecdffe47c071d001d78fb4
tree7cf4835039617e8840434e28dec2ea0fb37b71ca
parent9766c16bd08bd6714064ee950798a6db0874b048
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
]
configure.ac
src/basic/escape.c
src/basic/escape.h
src/basic/extract-word.c
src/basic/json.c
src/basic/missing.h
src/basic/string-util.c
src/basic/utf8.c
src/basic/utf8.h