]> mj.ucw.cz Git - libucw.git/blobdiff - charset/unicode.h
Updated the charset conversion library to UniCode 3.0.
[libucw.git] / charset / unicode.h
index 61617c08f93de95975681ccd19456548c966cca3..50d4ed777024000a306ef445384a5fa037389a29 100644 (file)
@@ -9,7 +9,7 @@
 
 #include "lib/chartype.h"
 
 
 #include "lib/chartype.h"
 
-extern byte *_U_cat[], *_U_sig[];
+extern byte *_U_cat[];
 extern word *_U_upper[], *_U_lower[], *_U_unaccent[];
 
 static inline uns Ucategory(word x)
 extern word *_U_upper[], *_U_lower[], *_U_unaccent[];
 
 static inline uns Ucategory(word x)
@@ -38,14 +38,6 @@ static inline word Uunaccent(word x)
   return w ? w : x;
 }
 
   return w ? w : x;
 }
 
-static inline byte Usig(word x)
-{
-  if (_U_sig[x >> 8U])
-    return _U_sig[x >> 8U][x & 0xff] ? : 0xff;
-  else
-    return 0xff;
-}
-
 #define UCat(x,y) (Ucategory(x) & (y))
 
 #define Uupper(x) UCat(x, _C_UPPER)
 #define UCat(x,y) (Ucategory(x) & (y))
 
 #define Uupper(x) UCat(x, _C_UPPER)