ObjFW  Check-in [545b6f740e]

Overview
Comment:Add of_char{16,32}_t.

For ObjC++, these are defined to char{16,32}_t if C++11 is used. This
means passing e.g. a C++11 UTF-16 string to -[initWithUTF16String:]
works without a warning.

For C11, this is not necessary, as char{16,32}_t are just typedef'd to
uint_least{16,32}_t in <uchar.h> and thus compatible to the definition
of of_char{16,32}_t. The reason for not defining of_char{16,32}_t to
char{16,32}_t when using C11 is that <uchar.h> might be missing and that
char{16,32}_t are not required to be UTF-{16,32}, whereas in C++, they
are required to be UTF-{16,32}.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 545b6f740e6e0ed8ac26392db6abb2cdb8bf3dc29898d23287097f8081ef2bfe
User & Date: js on 2013-01-13 13:07:52
Other Links: manifest | tags
Context
2013-01-13
14:59
Make it possible to stop run loops. check-in: 3c6ad38d92 user: js tags: trunk
13:07
Add of_char{16,32}_t. check-in: 545b6f740e user: js tags: trunk
03:17
OFBigDataArray: Always keep at least one page. check-in: 9c421b6ff0 user: js tags: trunk
Changes