From: Michal Vaner Date: Wed, 16 Jul 2008 20:16:54 +0000 (+0200) Subject: Libucw: unicode.h - Remove macros with the same functionality as functions. X-Git-Tag: holmes-import~391 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=bedfe0327ccde3dcf99b6f26e8e85ed7bb3e373f;p=libucw.git Libucw: unicode.h - Remove macros with the same functionality as functions. All uses of macros across the tree replaced. --- diff --git a/ucw/unicode.h b/ucw/unicode.h index 54a8181d..a9805c06 100644 --- a/ucw/unicode.h +++ b/ucw/unicode.h @@ -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) \