#include <ucw/lib.h>
#include <ucw/chartype.h>
-const byte _c_cat[256] = {
+const byte ucw_c_cat[256] = {
#define CHAR(code,upper,lower,cat) cat,
#include <ucw/char-map.h>
#undef CHAR
#include <ucw/lib.h>
#include <ucw/chartype.h>
-const byte _c_lower[256] = {
+const byte ucw_c_lower[256] = {
#define CHAR(code,upper,lower,cat) lower,
#include <ucw/char-map.h>
#undef CHAR
#include <ucw/lib.h>
#include <ucw/chartype.h>
-const byte _c_upper[256] = {
+const byte ucw_c_upper[256] = {
#define CHAR(code,upper,lower,cat) upper,
#include <ucw/char-map.h>
#undef CHAR
#define _C_WORD (_C_ALNUM | _C_INNER)
#define _C_WSTART (_C_ALPHA | _C_INNER)
-extern const byte _c_cat[256], _c_upper[256], _c_lower[256];
+extern const byte ucw_c_cat[256], ucw_c_upper[256], ucw_c_lower[256];
-#define Category(x) (_c_cat[(byte)(x)])
+#define Category(x) (ucw_c_cat[(byte)(x)])
#define Ccat(x,y) (Category(x) & y)
#define Cupper(x) Ccat(x, _C_UPPER) /** Checks for an upper-case character (`A-Z`). **/
#define Cctrl(x) Ccat(x, _C_CTRL) /** Checks for control characters (`0x0-0x1F`, `0x7F`). **/
#define Cspace(x) Cblank(x)
-#define Cupcase(x) (_c_upper[(byte)(x)]) /** Convert a letter to upper case, leave non-letter characters unchanged. **/
-#define Clocase(x) (_c_lower[(byte)(x)]) /** Convert a letter to lower case, leave non-letter characters unchanged. **/
+#define Cupcase(x) (ucw_c_upper[(byte)(x)]) /** Convert a letter to upper case, leave non-letter characters unchanged. **/
+#define Clocase(x) (ucw_c_lower[(byte)(x)]) /** Convert a letter to lower case, leave non-letter characters unchanged. **/
/**
* Compute the value of a valid hexadecimal character (ie. passed the @Cxdigit() check).