char(8/16/32)_t
This makes char(8/16/32)_t
available under the type definitions of ztd_char(8/16/32)_t
. This allows their use uniformly in C and C++, regardless of whether or not the type definition is present in the proper place.
-
typedef ZTD_CHAR8_T_I_ ztd_char8_t
An alias to a unsigned representation of an 8-bit (or greater) code unit type.
Remark
This will be a type alias for the type given in
ZTD_CHAR8_T
if it is defined by the user. Otherwise, it will be a type alias forchar8_t
if present. If neither are available, it will aliasunsigned char
for the type.
-
typedef uint_least16_t ztd_char16_t
An alias to a unsigned representation of an 16-bit (or greater) code unit type.
Remark
Certain platforms lack the header
uchar.h
, and therefore sometimes this will be aliased to its standard-defineduint_least16_t
rather than justchar16_t
.
-
typedef uint_least32_t ztd_char32_t
An alias to a unsigned representation of an 32-bit (or greater) code unit type.
Remark
Certain platforms lack the header
uchar.h
, and therefore sometimes this will be aliased to its standard-defineduint_least32_t
rather than justchar32_t
.