]> mj.ucw.cz Git - libucw.git/commitdiff
Libucw: unicode.h - Remove macros with the same functionality as functions.
authorMichal Vaner <vorner@ucw.cz>
Wed, 16 Jul 2008 20:16:54 +0000 (22:16 +0200)
committerMartin Mares <mj@ucw.cz>
Thu, 17 Jul 2008 17:23:41 +0000 (19:23 +0200)
All uses of macros across the tree replaced.

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)                                     \