]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/unicode.h
Libucw: unicode.h - Remove macros with the same functionality as functions.
[libucw.git] / ucw / unicode.h
index 54a8181d170e377275fd18c37447001b79c443b1..a9805c06341faa0e4c4f5f39c19d16cfc457a15c 100644 (file)
@@ -179,12 +179,6 @@ utf8_32_get(const byte *p, uns *uu)
   return utf8_32_get_repl(p, uu, UNI_REPLACEMENT);
 }
 
-#define PUT_UTF8(p,u) p = utf8_put(p, u)
-#define GET_UTF8(p,u) p = (byte*)utf8_get(p, &(u))
-
-#define PUT_UTF8_32(p,u) p = utf8_32_put(p, u)
-#define GET_UTF8_32(p,u) p = (byte*)utf8_32_get(p, &(u))
-
 #define UTF8_SKIP(p) do {                              \
     uns c = *p++;                                      \
     if (c >= 0xc0)                                     \