Mercurial > hg > th-libs
comparison th_types.h @ 455:c7f457ac013d
Remove char_t.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 11 Dec 2017 12:28:13 +0200 |
parents | 1b3472ba7b23 |
children | 1bf886fa9db5 |
comparison
equal
deleted
inserted
replaced
452:4471eadea472 | 455:c7f457ac013d |
---|---|
167 typedef unsigned long int uintmax_t; | 167 typedef unsigned long int uintmax_t; |
168 #endif | 168 #endif |
169 #endif | 169 #endif |
170 | 170 |
171 | 171 |
172 /* This is the character type used in all string-related routines of | |
173 * th_libs. Currently it is set to be equivalent of basetype "char", | |
174 * but under some platforms it may be necessary to use | |
175 * "unsigned char" instead. | |
176 * | |
177 * Also in future this type may be changed to hold 32-bit UNICODE | |
178 */ | |
179 typedef char char_t; | |
180 | |
181 | |
182 /* Define a boolean type | 172 /* Define a boolean type |
183 */ | 173 */ |
184 #if !defined(FALSE) && !defined(TRUE) && !defined(BOOL) | 174 #if !defined(FALSE) && !defined(TRUE) && !defined(BOOL) |
185 typedef enum { FALSE = 0, TRUE = 1 } BOOL; | 175 typedef enum { FALSE = 0, TRUE = 1 } BOOL; |
186 #endif | 176 #endif |